NiHu  2.0
NiHu::fmm::unit_sphere Class Reference

class performing interpolation and integration over the unit sphere More...

#include <unit_sphere.h>

Public Member Functions

 unit_sphere (size_t P)
 constructor from quadrature density More...
 
size_t get_P (void) const
 return quadrature density More...
 
const dvector_t & get_w (void) const
 return quadrature weights More...
 
const dvector_t & get_theta (void) const
 return theta quadrature points More...
 
const dvector_t & get_wtheta (void) const
 return theta quadrature weights More...
 
const dvector_t & get_phi (void) const
 return phi quadrature points More...
 
const Eigen::Matrix< double, 3, Eigen::Dynamic > & get_s (void) const
 return Cartesian quadrature points More...
 
cmatrix_t spht (cvector_t const &f, int L) const
 perform spherical transform More...
 
cvector_t ispht (cmatrix_t const &Flm) const
 perform inverse spherical transform More...
 

Detailed Description

class performing interpolation and integration over the unit sphere

Definition at line 18 of file unit_sphere.h.

Constructor & Destructor Documentation

◆ unit_sphere()

NiHu::fmm::unit_sphere::unit_sphere ( size_t  P)

constructor from quadrature density

Parameters
[in]Pquadrature density (number of quadrature points in theta direction)

Definition at line 19 of file unit_sphere.cpp.

Member Function Documentation

◆ get_P()

size_t NiHu::fmm::unit_sphere::get_P ( void  ) const
inline

return quadrature density

Returns
quadrature density

Definition at line 46 of file unit_sphere.h.

◆ get_phi()

const dvector_t& NiHu::fmm::unit_sphere::get_phi ( void  ) const
inline

return phi quadrature points

Returns
phi quadrature points

Definition at line 78 of file unit_sphere.h.

◆ get_s()

const Eigen::Matrix<double, 3, Eigen::Dynamic>& NiHu::fmm::unit_sphere::get_s ( void  ) const
inline

return Cartesian quadrature points

Returns
Cartesian quadrature points

Definition at line 86 of file unit_sphere.h.

◆ get_theta()

const dvector_t& NiHu::fmm::unit_sphere::get_theta ( void  ) const
inline

return theta quadrature points

Returns
theta quadrature points

Definition at line 62 of file unit_sphere.h.

◆ get_w()

const dvector_t& NiHu::fmm::unit_sphere::get_w ( void  ) const
inline

return quadrature weights

Returns
quadrature weights

Definition at line 54 of file unit_sphere.h.

◆ get_wtheta()

const dvector_t& NiHu::fmm::unit_sphere::get_wtheta ( void  ) const
inline

return theta quadrature weights

Returns
theta quadrature weights

Definition at line 70 of file unit_sphere.h.

◆ ispht()

unit_sphere::cvector_t NiHu::fmm::unit_sphere::ispht ( cmatrix_t const &  Flm) const

perform inverse spherical transform

Parameters
[in]Flmspherical harmonc expansion coefficients
Returns
vector of function samples

Definition at line 59 of file unit_sphere.cpp.

◆ spht()

unit_sphere::cmatrix_t NiHu::fmm::unit_sphere::spht ( cvector_t const &  f,
int  L 
) const

perform spherical transform

Parameters
[in]fvector of function samples
[in]Lexpansion length
Returns
spherical harmonc expansion coefficients

Definition at line 45 of file unit_sphere.cpp.


The documentation for this class was generated from the following files: