36 #ifndef EVALUTATION_NORMALIZE_HPP 37 #define EVALUTATION_NORMALIZE_HPP 40 #include <lifev/core/LifeV.hpp> 42 #include <lifev/eta/array/OperationSmallNormalize.hpp> 43 #include <lifev/eta/expression/ExpressionNormalize.hpp> 45 #include <lifev/core/fem/QuadratureRule.hpp> 50 namespace ExpressionAssembly
62 template <
typename EvaluationType>
63 class EvaluationNormalize
99 EvaluationNormalize (
const EvaluationNormalize& eval)
100 : M_evaluation (eval.M_evaluation)
104 template<
typename Expression>
105 explicit EvaluationNormalize (
const ExpressionNormalize<Expression>& expression)
106 : M_evaluation (expression.exprEx() )
110 ~EvaluationNormalize()
120 void update (
const UInt& iElement)
122 M_evaluation.update (iElement);
126 static void display (std::ostream& out = std::cout)
128 out <<
" normalize ";
129 EvaluationType::display (out);
139 template<
typename CFEType >
140 void setGlobalCFE (
const CFEType* globalCFE)
142 M_evaluation.setGlobalCFE (globalCFE);
146 template<
typename CFEType >
147 void setTestCFE (
const CFEType* testCFE)
149 M_evaluation.setTestCFE (testCFE);
153 template<
typename CFEType >
154 void setSolutionCFE (
const CFEType* solutionCFE)
156 M_evaluation.setSolutionCFE (solutionCFE);
162 M_evaluation.setQuadrature (qr);
172 return_Type value_q (
const UInt& q)
const 178 return_Type value_qi (
const UInt& q,
const UInt& i)
const 180 return M_evaluation.value_qi (q, i).normalized();
184 return_Type value_qij (
const UInt& q,
const UInt& i,
const UInt& j)
const 186 return M_evaluation.value_qij (q, i, j).normalized();
197 EvaluationNormalize();
202 EvaluationType M_evaluation;
206 template<
typename EvaluationType >
207 const flag_Type EvaluationNormalize<EvaluationType>::S_globalUpdateFlag
208 = EvaluationType::S_globalUpdateFlag;
210 template<
typename EvaluationType >
211 const flag_Type EvaluationNormalize<EvaluationType>::S_testUpdateFlag
212 = EvaluationType::S_testUpdateFlag;
214 template<
typename EvaluationType >
215 const flag_Type EvaluationNormalize<EvaluationType>::S_solutionUpdateFlag
216 = EvaluationType::S_solutionUpdateFlag;
uint32_type flag_Type
bit-flag with up to 32 different flags
class OperationSmallTranspose Class containing information about the transpose operation for Small* c...
void updateInverseJacobian(const UInt &iQuadPt)
QuadratureRule - The basis class for storing and accessing quadrature rules.
uint32_type UInt
generic unsigned integer (used mainly for addressing)