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),
registerMooseObject("MooseApp", NumDOFs)
bool has_system(std::string_view name) const
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...
const T_sys & get_system(std::string_view name) const
const libMesh::System * _system_pointer
dof_id_type n_dofs() const
SubProblem & _subproblem
Reference to the Subproblem for this user object.
const EquationSystems * _es_pointer
static InputParameters validParams()
virtual libMesh::EquationSystems & es()=0
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()