7 #define BOOST_PROTO_MAX_ARITY 10
8 #define BOOST_MPL_LIMIT_METAFUNCTION_ARITY 10
21 using namespace solver::actions::Proto;
22 using boost::proto::lit;
26 typedef boost::mpl::vector1<mesh::LagrangeP1::Quad2D>
AllowedElmsT;
28 boost::shared_ptr<solver::actions::Proto::ProtoAction>
wrap_expression(
const boost::shared_ptr<Expression>& expr)
30 boost::shared_ptr<solver::actions::Proto::ProtoAction> result = common::allocate_component<solver::actions::Proto::ProtoAction>(
"Assembly");
31 result->set_expression(expr);
74 static Real tau_ps, tau_su, tau_bulk;
82 compute_tau.
apply(u, nu_eff, lit(solver.
dt()), lit(tau_ps), lit(tau_su), lit(tau_bulk)),
108 static Real tau_ps, tau_su, tau_bulk;
116 compute_tau.
apply(u, nu_eff, lit(solver.
dt()), lit(tau_ps), lit(tau_su), lit(tau_bulk)),
142 static Real tau_ps, tau_su, tau_bulk;
150 compute_tau.
apply(u, nu_eff, lit(solver.
dt()), lit(tau_ps), lit(tau_su), lit(tau_bulk)),
boost::proto::terminal< SFOp< ShapeFunctionOp > >::type const N
boost::shared_ptr< solver::actions::Proto::ProtoAction > stokes_pspg(LSSActionUnsteady &solver)
Assembly for the Stokes equations, stabilized with PSPG.
static boost::proto::terminal< ZeroTag >::type _0
Placeholder for the zero matrix.
Real & invdt()
Reference to the inverse timestep, linked to the model time step.
Real & dt()
Reference to the timestep.
boost::shared_ptr< solver::actions::Proto::ProtoAction > wrap_expression(const boost::shared_ptr< Expression > &expr)
static boost::proto::terminal< ElementSystemMatrix< boost::mpl::int_< 0 > > >::type const _A
Some predefined element matrices (more can be user-defined, but you have to change the number in the ...
boost::shared_ptr< solver::actions::Proto::ProtoAction > navier_stokes_pspg(LSSActionUnsteady &solver)
Assembly for the Navier-Stokes equations, stabilized with PSPG.
static boost::proto::terminal< ElementSystemMatrix< boost::mpl::int_< 1 > > >::type const _T
solver::actions::Proto::MakeSFOp< ComputeTauImpl >::reference_type apply
static boost::proto::terminal< ElementQuadratureTag >::type element_quadrature
Use element_quadrature(expr1, expr2, ..., exprN) to evaluate a group of expressions.
boost::shared_ptr< solver::actions::Proto::ProtoAction > navier_stokes_supg(LSSActionUnsteady &solver)
Assembly for the Navier-Stokes equations, stabilized with SUPG.
boost::shared_ptr< ElementsExpression< ExprT, ElementTypes > > elements_expression(ElementTypes, const ExprT &expr)
static boost::proto::terminal< ElementRHS >::type const _x
Terminal for the element RHS vector ("b")
Refers to a value from the physical model.
boost::proto::terminal< TransposeFunction >::type const transpose
boost::proto::terminal< SFOp< NablaOp > >::type const nabla
boost::shared_ptr< solver::actions::Proto::ProtoAction > stokes_artifdiss(LSSActionUnsteady &solver)
Assembly for the Stokes equations, stabilized with artificial dissipation.
Top-level namespace for coolfluid.
static boost::proto::terminal< IndexTag< boost::mpl::int_< 0 > > >::type const _i
Index looping over the dimensions of a variable.
const solver::actions::Proto::SystemMatrix & system_matrix
Proto placeholder for the system matrix.
boost::mpl::vector1< mesh::LagrangeP1::Quad2D > AllowedElmsT
Convenience type for a compute_tau operation, grouping the stored operator and its proto counterpart...
static boost::proto::terminal< ExpressionGroupTag >::type group
Use group(expr1, expr2, ..., exprN) to evaluate a group of expressions.
const solver::actions::Proto::SystemRHS & system_rhs
Proto placeholder for the right hand side of the system.