36 #ifndef EXPRESSION_CUBICROOT_HPP 37 #define EXPRESSION_CUBICROOT_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/eta/expression/ExpressionBase.hpp> 46 namespace ExpressionAssembly
68 template <
typename BaseExpressionType>
69 class ExpressionCubicRoot :
public ExpressionBase< ExpressionCubicRoot<BaseExpressionType> >
77 typedef ExpressionBase< ExpressionCubicRoot <BaseExpressionType> > base_Type;
85 ExpressionCubicRoot (
const BaseExpressionType& l)
86 : base_Type(), M_l (l) {}
89 ExpressionCubicRoot (
const ExpressionCubicRoot<BaseExpressionType>& expression)
90 : base_Type(), M_l (expression.M_l) {}
93 ~ExpressionCubicRoot() {}
102 static void display (std::ostream& out = std::cout)
104 BaseExpressionType::display (out);
115 const BaseExpressionType& base()
const 127 ExpressionCubicRoot();
133 BaseExpressionType M_l;
159 template<
typename ExpressionType>
160 ExpressionCubicRoot<ExpressionType>
163 return ExpressionCubicRoot<ExpressionType> ( l.cast() );
172 template <
typename BaseExpressionType>
173 class ExpressionIsochoricChangeOfVariable :
174 public ExpressionBase< ExpressionIsochoricChangeOfVariable< BaseExpressionType> >
182 typedef ExpressionBase< ExpressionIsochoricChangeOfVariable <BaseExpressionType> > base_Type;
190 ExpressionIsochoricChangeOfVariable (
const BaseExpressionType& l)
191 : base_Type(), M_l (l) {}
194 ExpressionIsochoricChangeOfVariable (
const ExpressionIsochoricChangeOfVariable<BaseExpressionType>& expression)
195 : base_Type(), M_l (expression.M_l) {}
198 ~ExpressionIsochoricChangeOfVariable() {}
207 static void display (std::ostream& out = std::cout)
209 BaseExpressionType::display (out);
220 const BaseExpressionType& base()
const 232 ExpressionIsochoricChangeOfVariable();
238 BaseExpressionType M_l;
264 template<
typename ExpressionType>
265 ExpressionIsochoricChangeOfVariable<ExpressionType>
268 return ExpressionIsochoricChangeOfVariable<ExpressionType> ( l.cast() );
void updateInverseJacobian(const UInt &iQuadPt)
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...