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 ",
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
registerMooseObject("MooseApp", MooseVariableConstMonomial)
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
libMesh::FEType _fe_type
The FEType associated with this variable.
static InputParameters validParams()
virtual void computeNeighborValuesFace() override
Compute values at facial quadrature points for the neighbor.
virtual void computeElemValuesFace() override
Compute values at facial quadrature points.
virtual void computeElemValues() override
Actually compute variable values from the solution vectors.
static InputParameters validParams()
MooseVariableConstMonomial(const InputParameters ¶meters)
virtual void computeNeighborValues() override
Compute values at quadrature points for the neighbor.
std::unique_ptr< MooseVariableData< Real > > _element_data
Holder for all the data associated with the "main" element.
std::unique_ptr< MooseVariableData< Real > > _neighbor_data
Holder for all the data associated with the neighbor element.
std::string enum_to_string(const T e)