35 #ifndef EVALUATION_NORMAL_HPP 36 #define EVALUATION_NORMAL_HPP 38 #include <lifev/core/LifeV.hpp> 40 #include <lifev/core/array/VectorSmall.hpp> 42 #include <lifev/eta/fem/ETCurrentFE.hpp> 43 #include <lifev/eta/fem/ETCurrentFlag.hpp> 44 #include <lifev/core/fem/QuadratureRule.hpp> 46 #include <lifev/eta/expression/ExpressionNormal.hpp> 51 namespace ExpressionAssembly
58 template<
UInt spaceDim>
59 class EvaluationNormal
93 EvaluationNormal (
const EvaluationNormal<spaceDim>& evaluation)
94 : M_valuePtr (evaluation.M_valuePtr)
98 explicit EvaluationNormal (
const ExpressionNormal& ) {}
101 ~EvaluationNormal() {}
113 static void display (std::ostream& out = std::cout)
125 template<
typename CFEType >
126 void setGlobalCFE (
const CFEType* globalCFE)
128 ASSERT (globalCFE != 0,
"Nul pointer to the globalCFE cannot be set");
129 M_valuePtr = & (globalCFE->M_normal);
133 template<
typename CFEType >
134 void setTestCFE (
const CFEType* ) {}
137 template<
typename CFEType >
138 void setSolutionCFE (
const CFEType* ) {}
150 return_Type value_q (
const UInt& q)
const 152 return (*M_valuePtr) [q];
156 return_Type value_qi (
const UInt& q,
const UInt& )
const 158 return (*M_valuePtr) [q];
162 return_Type value_qij (
const UInt& q,
const UInt& ,
const UInt& )
const 164 return (*M_valuePtr) [q];
172 std::vector< VectorSmall<spaceDim> >
const* M_valuePtr;
176 template<
UInt spaceDim>
177 const flag_Type EvaluationNormal<spaceDim>::S_globalUpdateFlag = ET_UPDATE_NONE;
179 template<
UInt spaceDim>
180 const flag_Type EvaluationNormal<spaceDim>::S_testUpdateFlag = ET_UPDATE_NONE;
182 template<
UInt spaceDim>
183 const flag_Type EvaluationNormal<spaceDim>::S_solutionUpdateFlag = ET_UPDATE_NONE;
uint32_type flag_Type
bit-flag with up to 32 different flags
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)