载入中...
搜索中...
未找到
eve::fluids::OceanSpectrumBuilder类 参考
Authored construction stage; build copies settings and never retains builder references. 更多...
#include <OceanSpectrum.h>
Public 成员函数 | |
| EVENGINE_API_DOMAINS Result< OceanSpectrum > | build () const |
| Validate band coverage and build seeded JONSWAP coefficients atomically. | |
Public 属性 | |
| OceanSpectrumSettings | settings |
详细描述
Authored construction stage; build copies settings and never retains builder references.
在文件 OceanSpectrum.h 第 112 行定义.
成员函数说明
◆ build()
| Result< OceanSpectrum > eve::fluids::OceanSpectrumBuilder::build | ( | ) | const |
Validate band coverage and build seeded JONSWAP coefficients atomically.
- 返回
- Immutable spectrum or InvalidArgument; allocation failure propagates without publication. @cost Quadratic in each band resolution; amortize over the sea state's lifetime. @thread Caller-owned builder, no callbacks; settings may change after build returns.
在文件 OceanSpectrum.cpp 第 25 行定义.
引用了 b, eve::fluids::OceanSpectrumData::Band::coefficients, density, direction, finite, eve::fluids::ocean_script::invalid(), previous, r, random, s, scale, settings, eve::Result< T >::success(), eve::fluids::ocean_script::vector(), x , 以及 z.
被这些函数引用 eve::fluids::exposeOceanTypes().
类成员变量说明
◆ settings
| OceanSpectrumSettings eve::fluids::OceanSpectrumBuilder::settings |
在文件 OceanSpectrum.h 第 114 行定义.
被这些函数引用 build() , 以及 eve::fluids::exposeOceanTypes().
该类的文档由以下文件生成:
- src/modules/fluids/OceanSpectrum.h
- src/modules/fluids/OceanSpectrum.cpp