36 #ifndef EVALUTATION_EXPONENTIAL_HPP 37 #define EVALUTATION_EXPONENTIAL_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/eta/array/OperationSmallExponential.hpp> 43 #include <lifev/eta/expression/ExpressionExponential.hpp> 45 #include <lifev/core/fem/QuadratureRule.hpp> 50 namespace ExpressionAssembly
62 template <
typename EvaluationBaseType>
63 class EvaluationExponential
71 typedef typename EvaluationBaseType::return_Type BaseReturn_Type;
97 EvaluationExponential (
const EvaluationExponential& eval)
98 : M_evaluationBase (eval.M_evaluationBase)
102 template <
typename BaseExpressionType>
103 explicit EvaluationExponential (
const ExpressionExponential<BaseExpressionType>& expression)
104 : M_evaluationBase (expression.base() )
108 ~EvaluationExponential() {}
117 void update (
const UInt& iElement)
119 M_evaluationBase.update (iElement);
123 static void display (std::ostream& out = std::cout )
125 out <<
"Exponential";
126 EvaluationBaseType::display (out);
136 template<
typename CFEType >
137 void setGlobalCFE (
const CFEType* globalCFE)
139 M_evaluationBase.setGlobalCFE (globalCFE);
143 template<
typename CFEType >
144 void setTestCFE (
const CFEType* testCFE)
146 M_evaluationBase.setTestCFE (testCFE);
150 template<
typename CFEType >
151 void setSolutionCFE (
const CFEType* solutionCFE)
153 M_evaluationBase.setSolutionCFE (solutionCFE);
159 M_evaluationBase.setQuadrature (qr);
169 return_Type value_q (
const UInt& q)
const 171 return std::exp (M_evaluationBase.value_q (q) );
175 return_Type value_qi (
const UInt& q,
const UInt& i)
const 177 return std::exp (M_evaluationBase.value_qi (q, i) );
181 return_Type value_qij (
const UInt& q,
const UInt& i,
const UInt& j)
const 183 return std::exp (M_evaluationBase.value_qij (q, i, j) );
194 EvaluationExponential();
199 EvaluationBaseType M_evaluationBase;
202 template<
typename EvaluationBaseType>
203 const flag_Type EvaluationExponential<EvaluationBaseType>::S_globalUpdateFlag
204 = EvaluationBaseType::S_globalUpdateFlag;
206 template<
typename EvaluationBaseType>
207 const flag_Type EvaluationExponential<EvaluationBaseType>::S_testUpdateFlag
208 = EvaluationBaseType::S_testUpdateFlag;
210 template<
typename EvaluationBaseType>
211 const flag_Type EvaluationExponential<EvaluationBaseType>::S_solutionUpdateFlag
212 = EvaluationBaseType::S_solutionUpdateFlag;
uint32_type flag_Type
bit-flag with up to 32 different flags
void updateInverseJacobian(const UInt &iQuadPt)
class OperationSmallAddition Class containing information about the power operation between the *Smal...
QuadratureRule - The basis class for storing and accessing quadrature rules.
uint32_type UInt
generic unsigned integer (used mainly for addressing)