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
4
#include "
math/Quadratures/curvilinear_angular_quadrature.h
"
5
6
#include "
math/Quadratures/quadrature.h
"
7
8
namespace
chi_math
9
{
10
class
SphericalAngularQuadrature;
11
}
12
13
/** Spherical product angular quadrature. */
14
class
chi_math::SphericalAngularQuadrature
:
public
chi_math::CurvilinearAngularQuadrature
15
{
16
// Methods
17
public
:
18
/** Effective constructor. Initialize with one-dimensional quadrature.
19
* If not already present in the quadrature, the method inserts
20
* the starting directions. */
21
SphericalAngularQuadrature
(
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
;
28
private
:
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. */
34
void
InitializeParameters
();
35
};
36
37
#endif
// SPHERICAL_ANGULAR_QUADRATURE_H
chi_math::CurvilinearAngularQuadrature
Definition:
curvilinear_angular_quadrature.h:15
chi_math::Quadrature
Definition:
quadrature.h:34
chi_math::SphericalAngularQuadrature
Definition:
spherical_angular_quadrature.h:15
chi_math::SphericalAngularQuadrature::InitializeParameters
void InitializeParameters()
Definition:
spherical_angular_quadrature.cc:157
chi_math::SphericalAngularQuadrature::~SphericalAngularQuadrature
virtual ~SphericalAngularQuadrature()=default
chi_math::SphericalAngularQuadrature::Initialize
void Initialize(const chi_math::Quadrature &quad_polar, const bool verbose=false)
Definition:
spherical_angular_quadrature.cc:23
chi_math::SphericalAngularQuadrature::SphericalAngularQuadrature
SphericalAngularQuadrature(const chi_math::Quadrature &quad_polar, const bool verbose=false)
Definition:
spherical_angular_quadrature.cc:12
chi_math::SphericalAngularQuadrature::MakeHarmonicIndices
void MakeHarmonicIndices(unsigned int scattering_order, int dimension) override
Definition:
spherical_angular_quadrature.cc:188
curvilinear_angular_quadrature.h
chi_math
Definition:
chi_runtime.h:42
quadrature.h
framework
math
Quadratures
spherical_angular_quadrature.h
Generated by
1.9.3