20 "Computes a finite element mass matrix on internal faces meant for use in "
21 "preconditioning schemes which require one");
23 params.
addParam<Real>(
"density", 1,
"The density");
28 :
DGKernel(parameters), _density(getParam<Real>(
"density")), _hmax(0)
31 mooseError(
"One of 'matrix_tags' or 'extra_matrix_tags' must be provided");
37 mooseAssert(
false,
"should never be called");
registerMooseObject("NavierStokesApp", MassMatrixDGKernel)
const Elem *const & _current_side_elem
static InputParameters validParams()
const VariableTestValue & _test
const VariablePhiValue & _phi
This class can be used to compute a mass matrix for facet unknowns, e.g.
void precalculateJacobian() override
virtual Real computeQpJacobian(const Moose::DGJacobianType type) override
virtual Real computeQpResidual(Moose::DGResidualType) override
Real _hmax
Facet characteristic length for correct norm computations.
MassMatrixDGKernel(const InputParameters ¶meters)
static InputParameters validParams()
static void setMassMatrixParams(InputParameters ¶ms)
const std::string & type() const
void mooseError(Args &&... args) const
bool isParamValid(const std::string &name) const