载入中...
搜索中...
未找到
eve::fluids::OceanSpectrumFrameBuilder类 参考

Owns a shared immutable spectrum lease and timestamp; safe after the original spectrum is destroyed. 更多...

#include <OceanSpectrum.h>

Public 成员函数

EVENGINE_API_DOMAINS Result< OceanSpectrumFrame > build () const
 Evaluate six fields through inverse FFT and publish an owning frame.
 

友元

class OceanSpectrum
 

详细描述

Owns a shared immutable spectrum lease and timestamp; safe after the original spectrum is destroyed.

在文件 OceanSpectrum.h 第 125 行定义.

成员函数说明

◆ build()

Result< OceanSpectrumFrame > eve::fluids::OceanSpectrumFrameBuilder::build ( ) const

Evaluate six fields through inverse FFT and publish an owning frame.

返回
Immutable spatial frame or InvalidArgument for invalid time. @cost O(sum N*N*log(N)) compute and O(sum N*N) storage; reuse one frame across all consumers per tick. @thread Reentrant const operation with private scratch; no callbacks or GPU synchronization.

在文件 OceanSpectrumFrame.cpp 第 54 行定义.

引用了 dx, dz, eve::fluids::ocean_codec::field(), fields, forward, height, index, eve::fluids::ocean_detail::inverse2D(), n, out, eve::Result< T >::success(), eve::fluids::ocean_script::vector(), velocity, x , 以及 z.

被这些函数引用 eve::fluids::OceanSeaTransitionFrameBuilder::build().

友元及相关函数文档

◆ OceanSpectrum

在文件 OceanSpectrum.h 第 136 行定义.


该类的文档由以下文件生成: