36 #ifndef EXPRESSION_POWER_HPP 37 #define EXPRESSION_POWER_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/eta/expression/ExpressionBase.hpp> 42 #include <lifev/eta/expression/ExpressionDeterminant.hpp> 43 #include <lifev/eta/expression/ExpressionTrace.hpp> 48 namespace ExpressionAssembly
70 template <
typename BaseExpressionType>
71 class ExpressionPower :
public ExpressionBase< ExpressionPower<BaseExpressionType> >
87 ExpressionPower (
const BaseExpressionType& l,
const Real exponent)
88 : base_Type(), M_l (l), M_exponent (exponent) {}
91 ExpressionPower (
const ExpressionPower<BaseExpressionType>& expression)
92 : base_Type(), M_l (expression.M_l), M_exponent (expression.M_exponent) {}
104 static void display (std::ostream& out = std::cout)
106 BaseExpressionType::display (out);
117 const BaseExpressionType& base()
const 141 BaseExpressionType M_l;
170 template<
typename ExpressionType>
171 ExpressionPower<ExpressionType>
174 return ExpressionPower<ExpressionType> (l.cast(), r);
void updateInverseJacobian(const UInt &iQuadPt)
double Real
Generic real data.
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...