template<typename RF>
class Dune::PDELab::DefaultInteriorPenalty< RF >
Default implementation of the interior penalty factor.
This is the default implementation for the interior penalty factor.
It computes the face diameter from the formula derived by Paul Houston et al. There is an overpenalized version, OverPenalizedInteriorPenalty, which is implemented in a different class due to efficiency reasons.
- Warning
- The scaling with the viscosity (in the Navier-Stokes case) is not included in here any more!!!
It computes the factor according to
for each face
. It assumes that the intersection geometries passed to the local assembler allow to compute
via ig.geometry().volume().