HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Structure for weights (scalar, at the moment) in integral. More...
#include <integralweight.hpp>
Public Member Functions | |
IntegralWeight (const std::function< double(const Cell &T, const Eigen::Vector2d &x)> _value, std::function< size_t(const Cell &T)> _deg) | |
IntegralWeight (double val) | |
Public Attributes | |
std::function< double(const Cell &T, const Eigen::Vector2d &x)> | value |
std::function< size_t(const Cell &T)> | 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)