Rheolef  7.1
an efficient C++ finite element environment
inertia_cks.icc
Go to the documentation of this file.
26  integrate_option iopt = integrate_option())
27 {
28  return
29  integrate (- dot(trans(grad_h(v))*w,u) - 0.5*div_h(v)*dot(u,w), iopt)
30  + integrate ("internal_sides",
31  dot(average(u),normal())*dot(jump(v),average(w))
32  + 0.5*dot(jump(v),normal())
33  *(dot(average(u),average(w)) + 0.25*dot(jump(u),jump(w))), iopt)
34  + integrate ("boundary", 0.5*dot(v,normal())*dot(u,w), iopt);
35 }
37  integrate_option iopt = integrate_option())
38 {
39  return integrate("boundary", -dot(g(),normal())*dot(g(),v), iopt);
40 }
41 
g
u_exact g
Definition: burgers_diffusion_exact.h:33
form
see the form page for the full documentation
field
see the field page for the full documentation
rheolef::normal
details::field_expr_v2_nonlinear_terminal_function< details::normal_pseudo_function< Float > > normal()
normal: see the expression page for the full documentation
Definition: field_expr_terminal.h:439
rheolef::integrate
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
Definition: integrate.h:202
rheolef::div_h
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_h(const Expr &expr)
div_h(uh): see the expression page for the full documentation
Definition: field_expr_terminal.h:1069
inertia_fix_rhs
field inertia_fix_rhs(test v, integrate_option iopt=integrate_option())
Definition: inertia_cks.icc:36
test
see the test page for the full documentation
u
Definition: leveque.h:25
rheolef::grad_h
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 grad_h(const Expr &expr)
grad_h(uh): see the expression page for the full documentation
Definition: field_expr_terminal.h:949
trial
see the test page for the full documentation
inertia
form inertia(field w, trial u, test v, integrate_option iopt=integrate_option())
Definition: inertia_cks.icc:25
rheolef::trans
csr< T, sequential > trans(const csr< T, sequential > &a)
trans(a): see the form page for the full documentation
Definition: csr.h:455
rheolef::details::dot
rheolef::details::is_vec dot