类型定义 | |
| using | Complex = std::complex< double > |
函数 | |
| void | inverse1D (std::vector< Complex > &a) |
| Transform a validated power-of-two line in place without normalization. @cost O(N log N) arithmetic, no allocation; internal work per spectral row or column. | |
| void | inverse2D (std::vector< Complex > &a, unsigned n) |
| Transform a validated N by N grid in place using row/column scratch. @cost O(N squared log N) arithmetic and O(N) scratch allocation per spectral field per tick. | |
| void | forward2D (std::vector< Complex > &a, unsigned n) |
| Produce normalized Fourier amplitudes from a validated N by N spatial grid. @cost O(N squared log N) arithmetic and O(N) scratch per local-wave field per tick. | |
| std::array< double, 4 > | weights (double t) |
| std::array< double, 4 > | derivatives (double t) |
变量 | |
| constexpr double | tau = 2.0 * std::numbers::pi |
类型定义说明
◆ Complex
| using eve::fluids::ocean_detail::Complex = typedef std::complex<double> |
在文件 OceanFourierInternal.h 第 8 行定义.
函数说明
◆ derivatives()
在文件 OceanInterpolationInternal.h 第 8 行定义.
引用了 t , 以及 eve::fluids::ocean_script::vector().
被这些函数引用 eve::fluids::OceanWake::sample().
◆ forward2D()
Produce normalized Fourier amplitudes from a validated N by N spatial grid. @cost O(N squared log N) arithmetic and O(N) scratch per local-wave field per tick.
在文件 OceanFourierInternal.h 第 57 行定义.
引用了 a, inverse2D(), n, scale, value , 以及 eve::fluids::ocean_script::vector().
◆ inverse1D()
Transform a validated power-of-two line in place without normalization. @cost O(N log N) arithmetic, no allocation; internal work per spectral row or column.
在文件 OceanFourierInternal.h 第 15 行定义.
引用了 a, length, n, start, step, tau, eve::fluids::ocean_script::vector() , 以及 w.
被这些函数引用 inverse2D().
◆ inverse2D()
Transform a validated N by N grid in place using row/column scratch. @cost O(N squared log N) arithmetic and O(N) scratch allocation per spectral field per tick.
在文件 OceanFourierInternal.h 第 39 行定义.
引用了 a, inverse1D(), line, n, x , 以及 z.
被这些函数引用 eve::fluids::OceanSpectrumFrameBuilder::build() , 以及 forward2D().
◆ weights()
在文件 OceanInterpolationInternal.h 第 4 行定义.
引用了 t , 以及 eve::fluids::ocean_script::vector().
被这些函数引用 eve::fluids::OceanWake::sample().
变量说明
◆ tau
在文件 OceanFourierInternal.h 第 9 行定义.
被这些函数引用 inverse1D().