13 #include "libmesh/system.h" 21 MooseEnum system_enum(
"NL AUX ALL",
"ALL");
24 "The system(s) for which you want to retrieve the number of DOFs (NL, " 25 "AUX, ALL). Default == ALL");
28 "Return the number of Degrees of freedom from either the NL, Aux or both systems.");
35 _system_pointer(nullptr),
41 mooseAssert(
_subproblem.
es().has_system(
"nl0"),
"No Nonlinear System found with name nl0");
45 mooseAssert(
_subproblem.
es().has_system(
"aux0"),
"No Auxilary System found with name aux0");
registerMooseObject("MooseApp", NumDOFs)
const System * _system_pointer
NumDOFs(const InputParameters ¶meters)
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
virtual EquationSystems & es()=0
SubProblem & _subproblem
Reference to the Subproblem for this user object.
const EquationSystems * _es_pointer
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const SystemEnum _system_enum
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
static InputParameters validParams()