sph Namespace Reference

Functions used for spherical harmonics. More...

Functions

std::vector< std::complex< double > > spheriHarmo (int orderL, std::array< double, 2 > radialCoord)
 
std::array< double, 2 > radialCoord (std::array< double, 3 > cartCoord)
 
std::vector< std::complex< double > > lookupTableQ3Vec (std::array< double, 2 > angles)
 Lookup table for Q3. More...
 
std::complex< double > lookupTableQ3 (int m, std::array< double, 2 > angles)
 Lookup table for Q3 (m=0 to m=6) More...
 
std::vector< std::complex< double > > lookupTableQ6Vec (std::array< double, 2 > angles)
 Lookup table for Q6. More...
 
std::complex< double > lookupTableQ6 (int m, std::array< double, 2 > angles)
 Lookup table for Q6 (m=0 to m=12) More...
 

Detailed Description

Functions used for spherical harmonics.

The recommended function for calculating the spherical-harmonics based complex vector is sph::spheriHarmo. This function uses the Boost libraries.

Changelog