Function ImmersX::LegacyInclusions::fourier_to_reference_indices¶
Defined in File legacy_inclusions.h
Function Documentation¶
-
std::vector<unsigned int> ImmersX::LegacyInclusions::fourier_to_reference_indices(const unsigned int n_coefficients, const unsigned int n_components, const unsigned int polynomial_degree, const unsigned int spacedim)¶
Return canonical basis indices in legacy Fourier order.
The reference basis is generated from PolynomialsP monomials. This helper maps the legacy sequence [1, cos(theta), sin(theta), …] to the corresponding canonical indices without introducing a Fourier basis.