36 #ifndef EXPRESSION_VECTORFROMNONCONSTANTSCALAR_HPP 37 #define EXPRESSION_VECTORFROMNONCONSTANTSCALAR_HPP 39 #include <lifev/core/LifeV.hpp> 41 #include <lifev/eta/expression/ExpressionBase.hpp> 46 namespace ExpressionAssembly
65 template <
typename ExpressionType,
UInt FieldDim>
66 class ExpressionVectorFromNonConstantScalar :
public ExpressionBase< ExpressionVectorFromNonConstantScalar<ExpressionType, FieldDim> >
74 typedef ExpressionBase< ExpressionVectorFromNonConstantScalar <ExpressionType, FieldDim> > base_Type;
83 ExpressionVectorFromNonConstantScalar (
const ExpressionType& expr)
84 : base_Type(), M_expr (expr) {}
87 ExpressionVectorFromNonConstantScalar (
const ExpressionVectorFromNonConstantScalar<ExpressionType, FieldDim>& expression)
88 : base_Type(), M_expr (expression.M_expr) {}
91 ~ExpressionVectorFromNonConstantScalar() {}
100 static void display (std::ostream& out = std::cout)
102 out <<
" vector small from expression ";
103 ExpressionType::display (out);
113 const ExpressionType& exprEx()
const 127 ExpressionVectorFromNonConstantScalar();
132 ExpressionType M_expr;
154 template<
typename ExpressionType,
UInt FieldDim >
155 ExpressionVectorFromNonConstantScalar<ExpressionType, FieldDim>
158 return ExpressionVectorFromNonConstantScalar<ExpressionType, FieldDim> (expr.cast() );
void updateInverseJacobian(const UInt &iQuadPt)
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in ass...
uint32_type UInt
generic unsigned integer (used mainly for addressing)