35 #ifndef EVALUATION_METRICTENSOR_HPP 36 #define EVALUATION_METRICTENSOR_HPP 38 #include <lifev/core/LifeV.hpp> 40 #include <lifev/eta/fem/ETCurrentFE.hpp> 41 #include <lifev/eta/fem/ETCurrentFlag.hpp> 42 #include <lifev/core/fem/QuadratureRule.hpp> 44 #include <lifev/eta/expression/ExpressionMetricTensor.hpp> 49 namespace ExpressionAssembly
56 template<
UInt spaceDim>
65 typedef MatrixSmall<3,3> return_Type;
88 EvaluationMetricTensor() {}
92 : M_valuePtr (evaluation.M_valuePtr)
96 explicit EvaluationMetricTensor (
const ExpressionMetricTensor& ) {}
99 ~EvaluationMetricTensor() {}
111 static void display (std::ostream& out = std::cout)
123 template<
typename CFEType >
124 void setGlobalCFE (
const CFEType* globalCFE)
126 ASSERT (globalCFE != 0,
"Nul pointer to the globalCFE cannot be set");
127 M_valuePtr = & (globalCFE->M_metricTensor);
131 template<
typename CFEType >
132 void setTestCFE (
const CFEType* ) {}
135 template<
typename CFEType >
136 void setSolutionCFE (
const CFEType* ) {}
148 return_Type value_q (
const UInt& )
const 154 return_Type value_qi (
const UInt& ,
const UInt& )
const 170 MatrixSmall<3,3>
const* M_valuePtr;
174 template<
UInt spaceDim>
177 template<
UInt spaceDim>
180 template<
UInt spaceDim>
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.
friend class ExpressionAssembly::EvaluationMetricTensor
Friend to allow direct access to the raw data.
uint32_type UInt
generic unsigned integer (used mainly for addressing)