35 #ifndef EVALUATION_POSITION_HPP 36 #define EVALUATION_POSITION_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/ExpressionPosition.hpp> 51 namespace ExpressionAssembly
58 template<
UInt spaceDim>
90 EvaluationPosition() {}
94 : M_valuePtr (evaluation.M_valuePtr)
98 explicit EvaluationPosition (
const ExpressionPosition& ) {}
101 ~EvaluationPosition() {}
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_quadNode);
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>
179 template<
UInt spaceDim>
182 template<
UInt spaceDim>
uint32_type flag_Type
bit-flag with up to 32 different flags
friend class ExpressionAssembly::EvaluationPosition
Friend to allow direct access to the raw data.
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)