Namespaces | |
namespace | QuadratureValuesContainerInternal |
Classes | |
class | QuadraturePointAttributes |
Class to store the attributes of a quad point, such as the cell Id it belongs, the quadPointId within the cell it belongs to, and the quadrature rule (defined by quadratureRuleId) it is part of. More... | |
class | QuadratureRule |
class | QuadratureRuleAdaptive |
class | QuadratureRuleAdaptiveDefaults |
class | QuadratureRuleAttributes |
class | QuadratureRuleAttributesDefaults |
class | QuadratureRuleContainer |
class | QuadratureRuleGauss |
class | QuadratureRuleGaussIterated |
class | QuadratureRuleGaussSubdividedDefaults |
class | QuadratureRuleGLL |
class | QuadratureValuesContainer |
Enumerations | |
enum class | QuadratureFamily { GAUSS , GLL , GAUSS_VARIABLE , GLL_VARIABLE , ADAPTIVE , GAUSS_SUBDIVIDED } |
enum class | QuadratureRuleType { GAUSS_1 , GAUSS_2 , GAUSS_3 , GAUSS_4 , GAUSS_5 , GAUSS_6 , GAUSS_7 , GAUSS_8 , GAUSS_9 , GAUSS_10 , GAUSS_11 , GAUSS_12 , GAUSS_VARIABLE , GLL_1 , GLL_2 , GLL_3 , GLL_4 , GLL_5 , GLL_6 , GLL_7 , GLL_8 , GLL_9 , GLL_10 , GLL_11 , GLL_12 , GLL_VARIABLE , ADAPTIVE } |
Functions | |
void | integrate (const utils::ScalarSpatialFunction< double > &function, const QuadratureRuleContainer &quadratureRuleContainer, double &integral) |
template<typename ValueType1 , typename ValueType2 , dftefe::utils::MemorySpace memorySpace> | |
void | add (linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 > a, const QuadratureValuesContainer< ValueType1, memorySpace > &u, linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 > b, const QuadratureValuesContainer< ValueType2, memorySpace > &v, QuadratureValuesContainer< linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > &w, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext) |
Perform \( w = a*u + b*v \). More... | |
template<typename ValueType , dftefe::utils::MemorySpace memorySpace> | |
QuadratureValuesContainer< ValueType, memorySpace > | add (ValueType a, const QuadratureValuesContainer< ValueType, memorySpace > &u, ValueType b, QuadratureValuesContainer< ValueType, memorySpace > &v, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext) |
Perform \( v = a*u + b*v \). More... | |
template<typename ValueType1 , typename ValueType2 , dftefe::utils::MemorySpace memorySpace> | |
void | scale (ValueType1 alpha, const QuadratureValuesContainer< ValueType2, memorySpace > &u, QuadratureValuesContainer< linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > &w, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext) |
Perform \( w = a*u\). More... | |
template<typename ValueType , dftefe::utils::MemorySpace memorySpace> | |
void | scale (ValueType alpha, QuadratureValuesContainer< ValueType, memorySpace > &u, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext) |
Perform \( u = a*u\). More... | |
template<typename ValueType , dftefe::utils::MemorySpace memorySpace> | |
void | add (ValueType a, const QuadratureValuesContainer< ValueType, memorySpace > &u, ValueType b, QuadratureValuesContainer< ValueType, memorySpace > &v, linearAlgebra::LinAlgOpContext< memorySpace > &linAlgOpContext) |
Perform \( v = a*u + b*v \). More... | |
Variables | |
static const std::map< QuadratureRuleType, size_type > | _dftefe_quadrature_rule_to_1d_num_points_map_ |
static const std::map< QuadratureRuleType, QuadratureFamily > | _dftefe_quadrature_rule_to_quad_family_ |
|
strong |
|
strong |
void dftefe::quadrature::add | ( | linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 > | a, |
const QuadratureValuesContainer< ValueType1, memorySpace > & | u, | ||
linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 > | b, | ||
const QuadratureValuesContainer< ValueType2, memorySpace > & | v, | ||
QuadratureValuesContainer< linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > & | w, | ||
linearAlgebra::LinAlgOpContext< memorySpace > & | linAlgOpContext | ||
) |
Perform \( w = a*u + b*v \).
[in] | a | scalar |
[in] | u | QuadratureValuesContainer |
[in] | b | scalar |
[in] | v | QuadratureValuesContainer |
[out] | w | Resulting QuadratureValuesContainer |
QuadratureValuesContainer< ValueType, memorySpace > dftefe::quadrature::add | ( | ValueType | a, |
const QuadratureValuesContainer< ValueType, memorySpace > & | u, | ||
ValueType | b, | ||
QuadratureValuesContainer< ValueType, memorySpace > & | v, | ||
linearAlgebra::LinAlgOpContext< memorySpace > & | linAlgOpContext | ||
) |
Perform \( v = a*u + b*v \).
[in] | a | scalar |
[in] | u | QuadratureValuesContainer |
[in] | b | scalar |
[in] | v | QuadratureValuesContainer |
void dftefe::quadrature::add | ( | ValueType | a, |
const QuadratureValuesContainer< ValueType, memorySpace > & | u, | ||
ValueType | b, | ||
QuadratureValuesContainer< ValueType, memorySpace > & | v, | ||
linearAlgebra::LinAlgOpContext< memorySpace > & | linAlgOpContext | ||
) |
Perform \( v = a*u + b*v \).
[in] | a | scalar |
[in] | u | QuadratureValuesContainer |
[in] | b | scalar |
[in] | v | QuadratureValuesContainer |
void dftefe::quadrature::integrate | ( | const utils::ScalarSpatialFunction< double > & | function, |
const QuadratureRuleContainer & | quadratureRuleContainer, | ||
double & | integral | ||
) |
void dftefe::quadrature::scale | ( | ValueType | alpha, |
QuadratureValuesContainer< ValueType, memorySpace > & | u, | ||
linearAlgebra::LinAlgOpContext< memorySpace > & | linAlgOpContext | ||
) |
Perform \( u = a*u\).
[in] | a | scalar |
[in] | u | QuadratureValuesContainer |
void dftefe::quadrature::scale | ( | ValueType1 | alpha, |
const QuadratureValuesContainer< ValueType2, memorySpace > & | u, | ||
QuadratureValuesContainer< linearAlgebra::blasLapack::scalar_type< ValueType1, ValueType2 >, memorySpace > & | w, | ||
linearAlgebra::LinAlgOpContext< memorySpace > & | linAlgOpContext | ||
) |
Perform \( w = a*u\).
[in] | a | scalar |
[in] | u | QuadratureValuesContainer |
[out] | w | Resulting QuadratureValuesContainer |
|
static |
|
static |