The Navier-Stokes equations with the discontinuous Galerkin method – class body.
The Navier-Stokes equations with the discontinuous Galerkin method – class body
return sqrt (
mu(xh[0],xh[0]) +
mp(xh[1],xh[1]));
}
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)
Float dual_space_norm(const value_type &mrh) const
Float space_norm(const value_type &uh) const
Eigen::Matrix< field, 2, 1 > value_type