15 #include "libmesh/quadrature.h" 16 #include "libmesh/enum_to_string.h" 24 params.addClassDescription(
"Specialization for constant monomials that avoids unnecessary loops");
25 params.set<
MooseEnum>(
"family") =
"MONOMIAL";
26 params.set<
MooseEnum>(
"order") =
"CONSTANT";
34 mooseError(
"This type is only meant for a CONSTANT " 35 "MONOMIAL finite element basis. You have requested a ",
36 Utility::enum_to_string(
_fe_type.family),
static InputParameters validParams()
FEType _fe_type
The FEType associated with this variable.
virtual void computeElemValues() override
Actually compute variable values from the solution vectors.
MooseVariableConstMonomial(const InputParameters ¶meters)
std::unique_ptr< MooseVariableData< Real > > _neighbor_data
Holder for all the data associated with the neighbor element.
registerMooseObject("MooseApp", MooseVariableConstMonomial)
virtual void computeNeighborValuesFace() override
Compute values at facial quadrature points for the neighbor.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
virtual void computeNeighborValues() override
Compute values at quadrature points for the neighbor.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
virtual void computeElemValuesFace() override
Compute values at facial quadrature points.
std::unique_ptr< MooseVariableData< Real > > _element_data
Holder for all the data associated with the "main" element.
static InputParameters validParams()