an efficient C++ finite element environment
|
|
The Stokes problem on the driven cavity benchmark – the P1-bubble element
int main(
int argc,
char**argv) {
space Bh (omega,
"bubble",
"vector");
trial u1 (X1h), ub (Bh),
p (Qh);
test v1 (X1h), vb (Bh), q (Qh);
stokes.solve (
field(X1h,0),
field(Qh,0), u1h, ph);
}
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
The contraction geometry: boundary conditions.
see the catchmark page for the full documentation
see the field page for the full documentation
field_basic< Float > field
see the field page for the full documentation
std::enable_if< details::is_field_expr_v2_nonlinear_arg< Expr >::value &&! is_undeterminated< Result >::value, Result >::type integrate(const geo_basic< T, M > &omega, const Expr &expr, const integrate_option &iopt, Result dummy=Result())
see the integrate page for the full documentation
see the problem_mixed page for the full documentation
see the space page for the full documentation
static field velocity_field(space Xh)
rheolef - reference manual
see the integrate_option page for the full documentation
static space velocity_space(geo omega, string approx)
T ddot(const tensor_basic< T > &a, const tensor_basic< T > &b)
ddot(x,y): see the expression page for the full documentation
see the environment page for the full documentation
This file is part of Rheolef.
see the test page for the full documentation
int main(int argc, char **argv)
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.
see the test page for the full documentation
odiststream dout(cout)
see the diststream page for the full documentation
csr< T, sequential > trans(const csr< T, sequential > &a)
trans(a): see the form page for the full documentation
see the geo page for the full documentation