|
Contains common member functions of the XY, XZ, and YZ classes. More...
#include <Base_XY_XZ_YZ.h>
Static Public Member Functions | |
static Mdouble | getGaussPrefactor (Mdouble width, Mdouble cutoff) |
Computes the prefactor of the Gauss CGFunction, which is dependent on the number of non-averaged dimensions. More... | |
static Mdouble | getGaussIntegralPrefactor (Mdouble distance, Mdouble width, Mdouble cutoff) |
Computes the prefactor of the Gauss line integral, which is dependent on the number of non-averaged dimensions. More... | |
static void | normalisePolynomialCoefficients (std::vector< Mdouble > &coefficients, Mdouble cutoff) |
Normalises the coefficients of Polynomial CGFunction such that the integral over all non-averaged dimensions is unity. More... | |
static const unsigned | countVariables () |
Static Public Member Functions inherited from CGCoordinates::BaseCoordinates | |
static Mdouble | getDomainVolume (const Vec3D &min, const Vec3D &max) |
Additional Inherited Members | |
Public Member Functions inherited from CGCoordinates::BaseCoordinates | |
virtual Mdouble | getWeight () |
Contains common member functions of the XY, XZ, and YZ classes.
As XY, XZ, and YZ share a lot of functionality, the shared functions are stored in this common base class.
|
static |
|
static |
Computes the prefactor of the Gauss line integral, which is dependent on the number of non-averaged dimensions.
References mathsFunc::exp(), constants::sqrt_2, constants::sqrt_pi, and mathsFunc::square().
Computes the prefactor of the Gauss CGFunction, which is dependent on the number of non-averaged dimensions.
References mathsFunc::exp(), constants::sqrt_2, constants::sqrt_pi, and mathsFunc::square().
|
static |
Normalises the coefficients of Polynomial CGFunction such that the integral over all non-averaged dimensions is unity.
The volume is computed as
\[volume=\int_0^1\sum_{i=1}^n c_i r^i 2 pi r dr = 2 pi \sum_{i=1}^n c_i/(i+2) \]
with 2 pi r the circumference of a circle.
References constants::i, constants::pi, and mathsFunc::square().