#include <angular_product_quadrature.h>
Class for product quadratures
Definition at line 30 of file angular_product_quadrature.h.
◆ ProductQuadrature()
chi_math::ProductQuadrature::ProductQuadrature |
( |
| ) |
|
|
inlineprotected |
◆ ~ProductQuadrature()
chi_math::ProductQuadrature::~ProductQuadrature |
( |
| ) |
|
|
overridedefault |
◆ AssembleCosines()
void chi_math::ProductQuadrature::AssembleCosines |
( |
const std::vector< double > & |
azimuthal, |
|
|
const std::vector< double > & |
polar, |
|
|
const std::vector< double > & |
in_weights, |
|
|
bool |
verbose |
|
) |
| |
◆ GetAngleNum()
unsigned int chi_math::ProductQuadrature::GetAngleNum |
( |
const unsigned int |
polar_angle_index, |
|
|
const unsigned int |
azimu_angle_index |
|
) |
| const |
|
inline |
Obtains the abscissae index given the indices of the polar angle index and the azimuthal angle index.
Definition at line 55 of file angular_product_quadrature.h.
◆ GetDirectionMap()
const std::map< unsigned int, std::vector< unsigned int > > & chi_math::ProductQuadrature::GetDirectionMap |
( |
| ) |
const |
|
inline |
◆ OptimizeForPolarSymmetry()
void chi_math::ProductQuadrature::OptimizeForPolarSymmetry |
( |
double |
normalization | ) |
|
|
overridevirtual |
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 from chi_math::AngularQuadrature.
Definition at line 113 of file angular_product_quadrature.cc.
◆ azimu_ang_
std::vector<double> chi_math::ProductQuadrature::azimu_ang_ |
◆ map_directions_
std::map<unsigned int, std::vector<unsigned int> > chi_math::ProductQuadrature::map_directions_ |
|
protected |
◆ polar_ang_
std::vector<double> chi_math::ProductQuadrature::polar_ang_ |
The documentation for this class was generated from the following files: