35 #ifndef QUADRATURERULEBOUNDARY_H 36 #define QUADRATURERULEBOUNDARY_H 1
38 #include <lifev/core/LifeV.hpp> 39 #include <lifev/core/fem/QuadratureRule.hpp> 59 for (UInt i (0); i < QRBD.M_quadrature.size(); ++i)
61 M_quadratures.push_back (QRBD.M_quadratures[i]);
69 return M_quadratures[i];
74 while (M_quadratures.size() <= i)
76 M_quadratures.push_back (QuadratureRule() );
79 M_quadratures[i] = myQR;
85 std::vector<QuadratureRule> M_quadratures
119 Real z (1 - x0 - y0);
121 F2.addPoint (QuadraturePoint (x, y, z, myQR.weight (i) *std::sqrt (3) / (2.0 * sqrt (2) ) ) );
const Real & weight(const UInt &ig) const
weight(ig) is the ig-th quadrature weight
void addPoint(const QuadraturePoint &qp)
Method to add a point to an existing quadrature rule.
~QuadratureRuleBoundary()
void updateInverseJacobian(const UInt &iQuadPt)
QuadratureRule qr(const UInt i) const
QuadratureRuleBoundary(const QuadratureRuleBoundary &QRBD)
void setQR(const UInt i, QuadratureRule myQR)
QuadratureRuleBoundary createTetraBDQR(const QuadratureRule &myQR)
QuadratureRuleBoundary - Short description of the class.
QuadraturePoint - Simple container for a point of a quadrature rule.
QuadraturePoint(Real x, Real y, Real z, Real weight)
Full constructor for 3D.
double Real
Generic real data.
QuadratureRule - The basis class for storing and accessing quadrature rules.
const UInt & nbQuadPt() const
Getter for the number of quadrature points.
uint32_type UInt
generic unsigned integer (used mainly for addressing)
const Real & quadPointCoor(const UInt &ig, const UInt &icoor) const
quadPointCoor(ig,icoor) is the coordinate icoor of the quadrature point ig