Rheolef  7.2
an efficient C++ finite element environment
inertia_upw.icc
Go to the documentation of this file.
1
25#include "sgn.icc"
27 integrate_option iopt = integrate_option())
28{
29 return integrate ("internal_sides",
30 0.5*abs(dot(average(w),normal()))*dot(jump(u),jump(v)));
31}
33 integrate_option iopt = integrate_option())
34{
35 return integrate ("internal_sides",
36 0.5*compose (sgn, dot(average(w),normal()))
37 *dot(average(dw),normal())*dot(jump(u),jump(v)));
38}
see the field page for the full documentation
see the form page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
form d_inertia_upw(field w, trial dw, field u, test v, integrate_option iopt=integrate_option())
Definition: inertia_upw.icc:32
form inertia_upw(field w, trial u, test v, integrate_option iopt=integrate_option())
Definition: inertia_upw.icc:26
class rheolef::details::field_expr_v2_nonlinear_node_unary compose
rheolef::details::is_vec dot
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
Definition: integrate.h:211
The sign function.
Float sgn(Float x)
Definition: sgn.icc:25
Definition: leveque.h:25