36 #ifndef EVALUTATION_DETERMINANT_HPP 37 #define EVALUTATION_DETERMINANT_HPP 40 #include <lifev/core/LifeV.hpp> 42 #include <lifev/eta/array/OperationSmallDeterminant.hpp> 44 #include <lifev/eta/expression/ExpressionDeterminant.hpp> 46 #include <lifev/core/fem/QuadratureRule.hpp> 51 namespace ExpressionAssembly
63 template <
typename EvaluationType>
64 class EvaluationDeterminant
100 EvaluationDeterminant (
const EvaluationDeterminant& eval)
101 : M_evaluation (eval.M_evaluation)
105 template<
typename Expression>
106 explicit EvaluationDeterminant (
const ExpressionDeterminant<Expression>& expression)
107 : M_evaluation (expression.exprEx() )
111 ~EvaluationDeterminant()
121 void update (
const UInt& iElement)
123 M_evaluation.update (iElement);
127 static void display (std::ostream& out = std::cout)
129 out <<
" determinant ( ";
130 EvaluationType::display (out);
141 template<
typename CFEType >
142 void setGlobalCFE (
const CFEType* globalCFE)
144 M_evaluation.setGlobalCFE (globalCFE);
148 template<
typename CFEType >
149 void setTestCFE (
const CFEType* testCFE)
151 M_evaluation.setTestCFE (testCFE);
155 template<
typename CFEType >
156 void setSolutionCFE (
const CFEType* solutionCFE)
158 M_evaluation.setSolutionCFE (solutionCFE);
164 M_evaluation.setQuadrature (qr);
174 return_Type value_q (
const UInt& q)
const 176 return M_evaluation.value_q (q).determinant();
180 return_Type value_qi (
const UInt& q,
const UInt& i)
const 182 return M_evaluation.value_qi (q, i).determinant();
186 return_Type value_qij (
const UInt& q,
const UInt& i,
const UInt& j)
const 188 return M_evaluation.value_qij (q, i, j).determinant();
199 EvaluationDeterminant();
204 EvaluationType M_evaluation;
208 template<
typename EvaluationType >
209 const flag_Type EvaluationDeterminant<EvaluationType>::S_globalUpdateFlag
210 = EvaluationType::S_globalUpdateFlag;
212 template<
typename EvaluationType >
213 const flag_Type EvaluationDeterminant<EvaluationType>::S_testUpdateFlag
214 = EvaluationType::S_testUpdateFlag;
216 template<
typename EvaluationType >
217 const flag_Type EvaluationDeterminant<EvaluationType>::S_solutionUpdateFlag
218 = EvaluationType::S_solutionUpdateFlag;
uint32_type flag_Type
bit-flag with up to 32 different flags
void updateInverseJacobian(const UInt &iQuadPt)
class OperationSmallTranspose Class containing information about the transpose operation for Small* c...
QuadratureRule - The basis class for storing and accessing quadrature rules.
uint32_type UInt
generic unsigned integer (used mainly for addressing)