Function ImmersX::LegacyInclusions::fourier_to_reference_scale

Function Documentation

double ImmersX::LegacyInclusions::fourier_to_reference_scale(const unsigned int mode)

Convert a legacy Fourier coefficient to the reference basis.

The legacy sine/cosine modes and the reference modes both have maximum one, so a legacy coefficient is the amplitude of the same mode and the factor is one for every mode.