37 #ifndef EVALUATION_PHI_J_HPP 38 #define EVALUATION_PHI_J_HPP 40 #include <lifev/core/LifeV.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/ExpressionPhiJ.hpp> 52 namespace ExpressionAssembly
64 template<
UInt solutionDim>
82 const static flag_Type S_globalUpdateFlag = ET_UPDATE_NONE;
85 const static flag_Type S_testUpdateFlag = ET_UPDATE_NONE;
88 const static flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE;
101 : M_valuesPtr (provider.M_valuesPtr)
105 explicit EvaluationPhiJ (
const ExpressionPhiJ& ) {}
120 static void display (std::ostream& out = std::cout)
132 template<
typename CFEType >
133 void setGlobalCFE (
const CFEType* ) {}
136 template<
typename CFEType >
137 void setTestCFE (
const CFEType* ) {}
140 template<
typename CFEType >
141 void setSolutionCFE (
const CFEType* solutionCFE)
143 ASSERT (solutionCFE != 0,
"Nul pointer to the solutionCFE cannot be set");
144 M_valuesPtr = & (solutionCFE->M_phi);
157 const return_Type& value_qij (
const UInt& q,
const UInt& ,
const UInt& j)
const 159 ASSERT ( q < M_valuesPtr->size(),
"Quadrature point index invalid");
160 ASSERT ( j < (*M_valuesPtr) [q].size(),
"Dof index invalid");
161 return (*M_valuesPtr) [q][j];
201 const static flag_Type S_globalUpdateFlag = ET_UPDATE_NONE;
204 const static flag_Type S_testUpdateFlag = ET_UPDATE_NONE;
207 const static flag_Type S_solutionUpdateFlag = ET_UPDATE_NONE;
220 : M_valuesPtr (provider.M_valuesPtr)
224 explicit EvaluationPhiJ (
const ExpressionPhiJ& ) {}
239 static void display (std::ostream& out = std::cout)
251 template<
typename CFEType >
252 void setGlobalCFE (
const CFEType* ) {}
255 template<
typename CFEType >
256 void setTestCFE (
const CFEType* ) {}
259 template<
typename CFEType >
260 void setSolutionCFE (
const CFEType* solutionCFE)
262 ASSERT (solutionCFE != 0,
"Nul pointer to the solutionCFE cannot be set");
263 M_valuesPtr = & (solutionCFE->M_phi);
276 const return_Type& value_qij (
const UInt& q,
const UInt& ,
const UInt& j)
const 278 ASSERT ( q < M_valuesPtr->size(),
"Quadrature point index invalid");
279 ASSERT ( j < (*M_valuesPtr) [q].size(),
"Dof index invalid");
280 return (*M_valuesPtr) [q][j];
uint32_type flag_Type
bit-flag with up to 32 different flags
void updateInverseJacobian(const UInt &iQuadPt)
double Real
Generic real data.
QuadratureRule - The basis class for storing and accessing quadrature rules.
friend class ExpressionAssembly::EvaluationPhiJ
Friend to allow direct access to the raw data.
uint32_type UInt
generic unsigned integer (used mainly for addressing)