|
HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
|
Structure for weights (scalar, at the moment) in integral. More...
#include <integralweight.hpp>
Public Member Functions | |
| IntegralWeight (const IntegralWeightValueType _value, const IntegralWeightDegreeType _deg) | |
| Generic constructor. | |
| IntegralWeight (double val) | |
| Constructor for constant weights. | |
| IntegralWeight (const std::function< double(const VectorRd &)> &val, const size_t °) | |
| Constructor when the dependency on the cell T is not explicit in the value (and degree is constant) | |
| IntegralWeight (const std::function< double(const VectorRd &)> &val) | |
| Constructor when the dependency on the cell T is not explicit in the value, and degree is not provided (it is assumed to be 0) | |
Public Attributes | |
| IntegralWeightValueType | value |
| IntegralWeightDegreeType | deg |
Structure for weights (scalar, at the moment) in integral.
Each weight is represented as a piecewise function defined cell-by-cell, together with its local polynomial degree to determine the offset for quadrature rules (degree=0 means that the weight is constant and some calculations are easier)