HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HArDCore3D::IntegralWeight Struct Reference

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 &deg)
 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
 

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: