Chi-Tech
spherical_angular_quadrature.h
Go to the documentation of this file.
1#ifndef SPHERICAL_ANGULAR_QUADRATURE_H
2#define SPHERICAL_ANGULAR_QUADRATURE_H
3
5
7
8namespace chi_math
9{
10 class SphericalAngularQuadrature;
11}
12
13/** Spherical product angular quadrature. */
15{
16// Methods
17public:
18 /** Effective constructor. Initialize with one-dimensional quadrature.
19 * If not already present in the quadrature, the method inserts
20 * the starting directions. */
22 const chi_math::Quadrature& quad_polar,
23 const bool verbose=false);
24 /** Default destructor. */
25 virtual ~SphericalAngularQuadrature() = default;
26
27 void MakeHarmonicIndices(unsigned int scattering_order, int dimension) override;
28private:
29 /** Initialize with one-dimensional quadrature. */
30 void Initialize(const chi_math::Quadrature& quad_polar,
31 const bool verbose=false);
32 /** Initialize parametrizing factors of the spherical angular quadrature,
33 * starting from a fully initialized underlying product quadrature. */
35};
36
37#endif // SPHERICAL_ANGULAR_QUADRATURE_H
virtual ~SphericalAngularQuadrature()=default
void Initialize(const chi_math::Quadrature &quad_polar, const bool verbose=false)
SphericalAngularQuadrature(const chi_math::Quadrature &quad_polar, const bool verbose=false)
void MakeHarmonicIndices(unsigned int scattering_order, int dimension) override