37 #include <lifev/core/fem/QuadratureRuleProvider.hpp> 96 std::cerr <<
" QuadratureRuleProvider: No quadrature for this shape! " << std::endl;
119 qr.import ( QRKeast<7>() );
147 std::cerr <<
" QuadratureRuleProvider: No quadrature for this shape! " << std::endl;
180 qr.import ( QRKeast<4>() );
190 qr.import ( QRKeast<6>() );
199 qr.import ( QRKeast<7>() );
208 qr.import ( QRKeast<7>() );
222 std::cerr <<
" QuadratureRuleProvider: No quadrature for this exactness (prism) ";
223 std::cerr << std::endl;
403 qr.import ( QRKeast<6>() );
466 std::cerr <<
"QuadratureRuleProvider: Error: required degree does not exist" << std::endl;
471 std::cerr <<
"QuadratureRuleProvider: Warning: required degree does not exist" << std::endl;
472 std::cerr <<
" => attempting to find with degree+1" << std::endl;
483 std::cerr <<
"QuadratureRuleProvider: Error: required degree too high. " << std::endl;
488 std::cerr <<
"QuadratureRuleProvider: Warning: required degree too high. " << std::endl;
489 std::cerr <<
" => returning highest degree" << std::endl;
499 std::cerr <<
"QuadratureRuleProvider: Warning: negative weights. " << std::endl;
const QuadratureRule quadRuleTetra64pt(pt_tetra_64pt, 6, "Quadrature rule 64 points on a tetraedra", TETRA, 64, 7)
const QuadratureRule quadRuleQuad4pt(pt_quad_4pt, 2, "Quadrature rule 4 points on a quadrangle", QUAD, 4, 3)
static QuadratureRule provideExactnessQuad(const UInt &exactness)
const QuadratureRule quadRuleTetra15pt(pt_tetra_15pt, 5, "Quadrature rule 15 points on a tetraedra", TETRA, 15, 5)
const QuadratureRule quadRuleTria4pt(pt_tria_4pt, 3, "Quadrature rule 4 points on a triangle", TRIANGLE, 4, 3)
const QuadratureRule quadRuleTetra4pt(pt_tetra_4pt, 2, "Quadrature rule 4 points on a tetraedra", TETRA, 4, 2)
static QuadratureRule provideExactnessTriangleNoNeg(const UInt &exactness)
static QuadratureRule provideExactnessTriangle(const UInt &exactness)
const QuadratureRule quadRuleNode1pt(pt_node_1pt, QUAD_RULE_NODE_1PT, "Gauss Legendre 1 point on a node", POINT, 1, 1)
void updateInverseJacobian(const UInt &iQuadPt)
const QuadratureRule quadRuleSeg2pt(pt_seg_2pt, QUAD_RULE_SEG_2PT, "Gauss Legendre 2 points on a segment", LINE, 2, 3)
const QuadratureRule quadRuleQuad9pt(pt_quad_9pt, 3, "Quadrature rule 9 points on a quadrangle", QUAD, 9, 5)
const QuadratureRule quadRuleQuad1pt(pt_quad_1pt, 1, "Quadrature rule 1 point on a quadrangle", QUAD, 1, 1)
QuadratureRule()
Empty constructor.
const QuadratureRule quadRuleTetra5pt(pt_tetra_5pt, 4, "Quadrature rule 5 points on a tetraedra", TETRA, 5, 3)
static TooHighExactness S_BehaviorTooHighExactness
const QuadratureRule quadRuleSeg1pt(pt_seg_1pt, QUAD_RULE_SEG_1PT, "Gauss Legendre 1 point on a segment", LINE, 1, 1)
static void manageWarningNegativeWeight()
static QuadratureRule provideMaximal(const ReferenceShapes &shape)
Provide the quadrature rule with the highest exactness available.
static NoPreciseExactness S_BehaviorNoPreciseExactness
static void manageTooHighExactnessCase()
const QuadratureRule quadRuleTria3pt(pt_tria_3pt, 2, "Quadrature rule 3 points on a triangle", TRIANGLE, 3, 2)
static void manageNoPreciseExactnessCase()
const QuadratureRule quadRuleTetra1pt(pt_tetra_1pt, 1, "Quadrature rule 1 point on a tetraedra", TETRA, 1, 1)
const QuadratureRule quadRuleTria7pt(pt_tria_7pt, 5, "Quadrature rule 7 points on a triangle", TRIANGLE, 7, 5)
const QuadratureRule quadRuleTria6pt(pt_tria_6pt, 4, "Quadrature rule 6 points on a triangle", TRIANGLE, 6, 4)
static QuadratureRule provideExactnessTetraNoNeg(const UInt &exactness)
static QuadratureRule provideExactnessTetra(const UInt &exactness)
Method for the differentShapes.
static QuadratureRule provideExactnessPrism(const UInt &exactness)
static QuadratureRule provideExactness(const ReferenceShapes &shape, const UInt &exactness)
Provide a quadrature rule with the given exactness.
static QuadratureRule provideExactnessLine(const UInt &exactness)
static QuadratureRule provideExactnessHexa(const UInt &exactness)
const QuadratureRule quadRuleHexa1pt(pt_hexa_1pt, 1, "Quadrature rule 1 point on a hexa", HEXA, 1, 1)
const QuadratureRule quadRuleHexa8pt(pt_hexa_8pt, 2, "Quadrature rule 8 points on a hexa", HEXA, 8, 3)
QuadratureRule - The basis class for storing and accessing quadrature rules.
const QuadratureRule quadRuleTria1pt(pt_tria_1pt, 1, "Quadrature rule 1 point on a triangle", TRIANGLE, 1, 1)
QuadratureRuleProvider - This class is used to generate quadrature rules.
static NegativeWeight S_BehaviorNegativeWeight
uint32_type UInt
generic unsigned integer (used mainly for addressing)
static QuadratureRule provideExactnessPoint(const UInt &exactness)