29int main(
int argc,
char**argv) {
32 space Xh (omega, argv[2],
"tensor");
33 Float alpha = (argc > 3) ? atof(argv[3]) : 1;
34 Float nu = (argc > 4) ? atof(argv[4]) : 3;
35 Float t0 = (argc > 5) ? atof(argv[5]) : acos(-1.)/8;
36 Float eps = (argc > 6) ? atof(argv[6]) : 1e-2;
38 size_t d = omega.dimension();
39 size_t k = Xh.degree();
64 p.solve (
lh, sigma_h);
field lh(Float epsilon, Float t, const test &v)
see the Float page for the full documentation
see the field page for the full documentation
see the geo page for the full documentation
see the problem page for the full documentation
see the catchmark page for the full documentation
see the environment page for the full documentation
see the space page for the full documentation
see the tensor page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
The tensor transport-diffusion benchmark – right-hand-side and exact solution.
This file is part of Rheolef.
T ddot(const tensor_basic< T > &a, const tensor_basic< T > &b)
ddot(x,y): see the expression page for the full documentation
T dddot(const tensor3_basic< T > &a, const tensor3_basic< T > &b)
std::enable_if< details::has_field_rdof_interface< Expr >::value, details::field_expr_v2_nonlinear_terminal_field< typenameExpr::scalar_type, typenameExpr::memory_type, details::differentiate_option::gradient > >::type grad_h(const Expr &expr)
grad_h(uh): see the expression page for the full documentation
details::field_expr_v2_nonlinear_terminal_function< details::normal_pseudo_function< Float > > normal()
normal: see the expression 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
rheolef::std enable_if ::type dot const Expr1 expr1, const Expr2 expr2 dot(const Expr1 &expr1, const Expr2 &expr2)
csr< T, sequential > trans(const csr< T, sequential > &a)
trans(a): see the form page for the full documentation
details::field_expr_v2_nonlinear_terminal_function< details::penalty_pseudo_function< Float > > penalty()
penalty(): see the expression page for the full documentation
rheolef - reference manual