The diffusive Burgers equation – operators.
The diffusive Burgers equation – operators
#ifdef NEUMANN
return field (v.get_vf_space(), 0);
#else
size_t d = v.get_vf_space().get_geo().dimension();
size_t k = v.get_vf_space().degree();
return epsilon*integrate (
"boundary",
-
g(
epsilon,t)*dot(grad_h(v),normal()));
#endif
}
return - integrate (dot(compose(
f,uh),grad_h(v)))
+ integrate ("internal_sides",
compose (
phi, normal(), inner(uh), outer(uh))*jump(v))
+ integrate ("boundary",
}
field lh(Float epsilon, Float t, const test &v)
field gh(Float epsilon, Float t, const field &uh, const test &v)
see the Float page for the full documentation
see the field page for the full documentation
see the test page for the full documentation