#include <angular_quadrature_base.h>
Base class for angular quadratures.
Definition at line 35 of file angular_quadrature_base.h.
◆ AngularQuadrature() [1/2]
chi_math::AngularQuadrature::AngularQuadrature |
( |
| ) |
|
|
inline |
◆ AngularQuadrature() [2/2]
◆ ~AngularQuadrature()
virtual chi_math::AngularQuadrature::~AngularQuadrature |
( |
| ) |
|
|
virtualdefault |
◆ BuildDiscreteToMomentOperator()
void chi_math::AngularQuadrature::BuildDiscreteToMomentOperator |
( |
unsigned int |
scattering_order, |
|
|
int |
dimension |
|
) |
| |
|
virtual |
◆ BuildMomentToDiscreteOperator()
void chi_math::AngularQuadrature::BuildMomentToDiscreteOperator |
( |
unsigned int |
scattering_order, |
|
|
int |
dimension |
|
) |
| |
|
virtual |
◆ GetDiscreteToMomentOperator()
std::vector< std::vector< double > > const & chi_math::AngularQuadrature::GetDiscreteToMomentOperator |
( |
| ) |
const |
Returns a reference to the precomputed d2m operator. This will throw a std::logic_error if the operator has not been built yet. The operator is accessed as [m][d], where m is the moment index and d is the direction index.
Definition at line 179 of file angular_quadrature_base.cc.
◆ GetMomentToDiscreteOperator()
std::vector< std::vector< double > > const & chi_math::AngularQuadrature::GetMomentToDiscreteOperator |
( |
| ) |
const |
Returns a reference to the precomputed m2d operator. This will throw a std::logic_error if the operator has not been built yet. The operator is accessed as [m][d], where m is the moment index and d is the direction index.
Definition at line 194 of file angular_quadrature_base.cc.
◆ GetMomentToHarmonicsIndexMap()
Returns a reference to the precomputed harmonic index map. This will throw a std::logic_error if the map has not been built yet.
Definition at line 207 of file angular_quadrature_base.cc.
◆ MakeHarmonicIndices()
void chi_math::AngularQuadrature::MakeHarmonicIndices |
( |
unsigned int |
scattering_order, |
|
|
int |
dimension |
|
) |
| |
|
protectedvirtual |
◆ OptimizeForPolarSymmetry()
void chi_math::AngularQuadrature::OptimizeForPolarSymmetry |
( |
double |
normalization | ) |
|
|
virtual |
Optimizes the angular quadrature for polar symmetry by removing all the direction with downward pointing polar angles.
- Parameters
-
normalization | float. (Optional) The default is a negative number which does not apply any normalization. If a positive number is provided, the weights will be normalized to sum to this number. |
Reimplemented in chi_math::ProductQuadrature.
Definition at line 19 of file angular_quadrature_base.cc.
◆ abscissae_
◆ d2m_op_
std::vector<std::vector<double> > chi_math::AngularQuadrature::d2m_op_ |
|
protected |
◆ d2m_op_built_
bool chi_math::AngularQuadrature::d2m_op_built_ = false |
|
protected |
◆ m2d_op_
std::vector<std::vector<double> > chi_math::AngularQuadrature::m2d_op_ |
|
protected |
◆ m2d_op_built_
bool chi_math::AngularQuadrature::m2d_op_built_ = false |
|
protected |
◆ m_to_ell_em_map_
◆ omegas_
◆ type_
◆ weights_
std::vector<double> chi_math::AngularQuadrature::weights_ |
The documentation for this class was generated from the following files: