28int main(
int argc,
char**argv) {
31 string approx = (argc > 2) ? argv[2] :
"P1d";
33 space Xh (omega, approx);
34 size_t d = omega.dimension();
35 size_t k = Xh.degree();
36 check_macro (k >= 1,
"polynomial degree k="<<k<<
" shoud be >= 1");
41 geo gamma_d = omega[
"left"] + omega[
"right"];
42 geo Shd = omega[
"internal_sides"] + gamma_d;
44 auto eta_s = 2/(1/inner(eta_h) + 1/outer(eta_h));
45 auto eta_w_o = inner(eta_h)/(inner(eta_h) + outer(eta_h));
46 auto eta_w_i = outer(eta_h)/(inner(eta_h) + outer(eta_h));
54 - jump(v)*average_w_u);
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 solver_option page for the full documentation
see the space page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
check_macro(expr1.have_homogeneous_space(Xh1), "dual(expr1,expr2); expr1 should have homogeneous space. HINT: use dual(interpolate(Xh, expr1),expr2)")
This file is part of Rheolef.
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)
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