HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Public Member Functions | Public Attributes | List of all members
HArDCore2D::IntegralWeight Struct Reference

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
 

Detailed Description

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)


The documentation for this struct was generated from the following file: