an efficient C++ finite element environment
|
|
The stress tensor for the linear elasticity and Stokes problems
int main(
int argc,
char** argv) {
const geo& omega = uh.get_geo();
const space& Xh = uh.get_space();
string grad_approx =
"P" +
itos(Xh.degree()-1) +
"d";
space Th (omega, grad_approx,
"tensor");
size_t d = omega.dimension();
field sigma_h = (inv_lambda == 0) ?
}
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::divergence >>::type div(const Expr &expr)
div(uh): see the expression page for the full documentation
see the tensor page for the full documentation
int main(int argc, char **argv)
see the catchmark page for the full documentation
see the field page for the full documentation
see the space page for the full documentation
rheolef - reference manual
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
idiststream din
see the diststream page for the full documentation
see the environment page for the full documentation
This file is part of Rheolef.
solver_basic< Float > eye()
see the eye page for the full documentation
see the Float page for the full documentation
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.
odiststream dout(cout)
see the diststream page for the full documentation
std::string itos(std::string::size_type i)
itos: see the rheostream page for the full documentation
see the geo page for the full documentation