Loading...
Searching...
No Matches
inertia_upw.icc
Go to the documentation of this file.
#include "sgn.icc"
form inertia_upw (field w, trial u, test v,
integrate_option iopt = integrate_option())
{
return integrate ("internal_sides",
0.5*abs(dot(average(w),normal()))*dot(jump(u),jump(v)));
}
form d_inertia_upw (field w, trial dw, field u, test v,
integrate_option iopt = integrate_option())
{
return integrate ("internal_sides",
0.5*compose (sgn, dot(average(w),normal()))
*dot(average(dw),normal())*dot(jump(u),jump(v)));
}
field
see the field page for the full documentation
form
see the form page for the full documentation
test
see the test page for the full documentation
trial
see the test page for the full documentation
d_inertia_upw
form d_inertia_upw(field w, trial dw, field u, test v, integrate_option iopt=integrate_option())
Definition inertia_upw.icc:32
inertia_upw
form inertia_upw(field w, trial u, test v, integrate_option iopt=integrate_option())
Definition inertia_upw.icc:26
sgn.icc
The sign function.
sgn
Float sgn(Float x)
Definition sgn.icc:25
u
Definition leveque.h:25