36 #ifndef EXPRESSION_SQUAREROOT_HPP 37 #define EXPRESSION_SQUAREROOT_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/eta/expression/ExpressionBase.hpp> 46 namespace ExpressionAssembly
68 template <
typename BaseExpressionType>
69 class ExpressionSquareRoot :
public ExpressionBase< ExpressionSquareRoot<BaseExpressionType> >
77 typedef ExpressionBase< ExpressionSquareRoot <BaseExpressionType> > base_Type;
85 ExpressionSquareRoot (
const BaseExpressionType& l)
86 : base_Type(), M_l (l) {}
89 ExpressionSquareRoot (
const ExpressionSquareRoot<BaseExpressionType>& expression)
90 : base_Type(), M_l (expression.M_l) {}
93 ~ExpressionSquareRoot() {}
102 static void display (std::ostream& out = std::cout)
104 BaseExpressionType::display (out);
115 const BaseExpressionType& base()
const 127 ExpressionSquareRoot();
133 BaseExpressionType M_l;
159 template<
typename ExpressionType>
160 ExpressionSquareRoot<ExpressionType>
163 return ExpressionSquareRoot<ExpressionType> ( l.cast() );
void updateInverseJacobian(const UInt &iQuadPt)
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...