Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
inertia.h
Go to the documentation of this file.
1
25template<class W, class U, class V>
26form inertia (W w, U u, V v,
27 integrate_option iopt = integrate_option())
28{
29 return
30 integrate (dot(grad_h(u)*w,v) + 0.5*div_h(w)*dot(u,v), iopt)
31 + integrate ("boundary", - 0.5*dot(w,normal())*dot(u,v), iopt)
32 + integrate ("internal_sides",
33 - dot(average(w),normal())*dot(jump(u),average(v))
34 - 0.5*dot(jump(w),normal())
35 *(dot(average(u),average(v)) + 0.25*dot(jump(u),jump(v))), iopt);
36}
38 integrate_option iopt = integrate_option())
39{
40 return integrate("boundary", - 0.5*dot(g(),normal())*dot(g(),v), iopt);
41}
see the field page for the full documentation
see the form page for the full documentation
see the test page for the full documentation
form inertia(W w, U u, V v, integrate_option iopt=integrate_option())
Definition inertia.h:26
field inertia_fix_rhs(test v, integrate_option iopt=integrate_option())
Definition inertia.h:37
Definition cavity_dg.h:25
Definition leveque.h:25