14#include "libmesh/fe_type.h"
26 virtual void act()
override;
58 const bool is_fv =
false,
59 const bool is_array =
false);
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
void createInitialConditionAction(const std::vector< Real > &value)
Create the action to generate the InitialCondition object.
static MooseEnum getNonlinearVariableFamilies()
Get the possible variable families.
std::function< void(FEProblemBase &, const std::string &, const std::string &, InputParameters &)> _problem_add_var_method
libMesh::FEType _fe_type
FEType for the variable being created.
static libMesh::FEType feType(const InputParameters ¶ms)
determine the FEType by examining family and order in the provided parameters
static MooseEnum getNonlinearVariableOrders()
Get the possible variable orders.
static std::string determineType(const libMesh::FEType &fe_type, unsigned int components, bool is_fv=false)
DEPRECATED: Use variableType instead.
static std::string variableType(const libMesh::FEType &fe_type, const bool is_fv=false, const bool is_array=false)
Determines a variable type.
unsigned int _components
Number of components for an array variable.
virtual std::string varName() const
Return the name of the nonlinear variable to be created.
std::set< SubdomainID > getSubdomainIDs()
Get the block ids from the input parameters.
bool _fv_var
True if the variable being created is finite volume.
static InputParameters validParams()
bool _scalar_var
True if the variable being created is a scalar.
virtual void init()
Initialize the action's member variables.
void addVariable(const std::string &var_name)
Adds a nonlinear variable to the system.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
const std::string & _name
The name of this class.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...