37 #ifndef QUADRATURE_RULE_PROVIDER_H 38 #define QUADRATURE_RULE_PROVIDER_H 1
40 #include <lifev/core/LifeV.hpp> 42 #include <lifev/core/fem/QuadratureRule.hpp> 44 #include <lifev/core/fem/QRKeast.hpp> 100 class QuadratureRuleProvider
107 enum NoPreciseExactness { ErrorNoPrecise, WarningAndReturnSup, ReturnSup };
108 enum TooHighExactness { ErrorTooHigh, WarningAndReturnMax, ReturnMax };
109 enum NegativeWeight { Accept, WarningAndAccept, Reject};
146 static void setBehaviorNoPreciseExactness (
const NoPreciseExactness& behavior)
148 S_BehaviorNoPreciseExactness = behavior;
155 static void setBehaviorTooHighExactness (
const TooHighExactness& behavior)
157 S_BehaviorTooHighExactness = behavior;
164 static void setBehaviorNegativeWeight (
const NegativeWeight& behavior)
166 S_BehaviorNegativeWeight = behavior;
179 QuadratureRuleProvider();
182 QuadratureRuleProvider (
const QuadratureRuleProvider&);
185 virtual ~QuadratureRuleProvider();
200 static void manageNoPreciseExactnessCase();
201 static void manageTooHighExactnessCase();
202 static void manageWarningNegativeWeight();
206 static NoPreciseExactness S_BehaviorNoPreciseExactness;
207 static TooHighExactness S_BehaviorTooHighExactness;
208 static NegativeWeight S_BehaviorNegativeWeight;
QuadratureRule - The basis class for storing and accessing quadrature rules.
uint32_type UInt
generic unsigned integer (used mainly for addressing)