Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
navier_stokes_dg2.icc

The Navier-Stokes equations with the discontinuous Galerkin method – class body.

The Navier-Stokes equations with the discontinuous Galerkin method – class body

Float navier_stokes_dg::space_norm (const value_type& xh) const {
return sqrt (mu(xh[0],xh[0]) + mp(xh[1],xh[1]));
}
Float navier_stokes_dg::dual_space_norm (const value_type& mrh) const {
value_type rh = { field(Xh,0), field (Qh,0) };
pmu.solve (mrh[0], rh[0]);
pmp.solve (mrh[1], rh[1]);
return sqrt (dual(rh[0],mrh[0]) + dual(rh[1],mrh[1]));
}
see the Float page for the full documentation
see the field page for the full documentation
rheolef::std enable_if ::type dual const Expr1 expr1, const Expr2 expr2 dual(const Expr1 &expr1, const Expr2 &expr2)
Definition field_expr.h:229
Float dual_space_norm(const value_type &mrh) const
Float space_norm(const value_type &uh) const
Eigen::Matrix< field, 2, 1 > value_type