Rheolef  7.1
an efficient C++ finite element environment
navier_stokes_criterion.icc
Go to the documentation of this file.
26  space T0h (uh.get_geo(), "P1d");
27  return interpolate (T0h, sqrt(Re*norm2(uh) + 4*norm2(D(uh))));
28 }
field
see the field page for the full documentation
space
see the space page for the full documentation
rheolef::norm2
T norm2(const vec< T, M > &x)
norm2(x): see the expression page for the full documentation
Definition: vec.h:379
rheolef::interpolate
field_basic< T, M > interpolate(const space_basic< T, M > &V2h, const field_basic< T, M > &u1h)
see the interpolate page for the full documentation
Definition: interpolate.cc:233
Float
see the Float page for the full documentation
rheolef::D
std::enable_if< details::is_field_convertible< Expr >::value,details::field_expr_v2_nonlinear_terminal_field< typename Expr::scalar_type,typename Expr::memory_type,details::differentiate_option::gradient >>::type D(const Expr &expr)
D(uh): see the expression page for the full documentation.
Definition: field_expr_terminal.h:969
navier_stokes_criterion
field navier_stokes_criterion(Float Re, const field &uh)
Definition: navier_stokes_criterion.icc:25