20 #define registerActionComponent(app_name, component_name) \ 21 registerMooseAction(app_name, component_name, "list_component") 33 virtual void act()
override final;
virtual void checkIntegrity()
Used for various checks notably:
virtual const std::vector< BoundaryName > & outerSurfaceBoundaries() const
Return the outer surface boundaries.
std::set< std::string > _required_tasks
Manually keeps track of the tasks required by each component as tasks cannot be inherited.
ActionWarehouse & _awh
Reference to ActionWarehouse where we store object build by actions.
Generic factory class for build all sorts of objects.
Base class to help creating an entire physics.
virtual void addSolverVariables()
Used to add variables on a component.
virtual void actOnAdditionalTasks()
Use this if registering a new task to the derived ActionComponent.
std::vector< MeshGeneratorName > _mg_names
Name(s) of the final mesh generator(s) creating the mesh for the component.
unsigned int _dimension
Maximum dimension of the component.
Base class for components that are defined using an action.
const std::vector< MeshGeneratorName > & meshGeneratorNames() const
Get the name(s) of the mesh generator(s) created by this component that generates the mesh for it...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
static InputParameters validParams()
std::shared_ptr< FEProblemBase > & problemBase()
void checkRequiredTasks() const
Checks that tasks marked required by parent classes are indeed registered to derived classes...
virtual void act() override final
Method to add objects to the simulation or perform other setup tasks.
Factory & _factory
The Factory associated with the MooseApp.
FEProblemBase & getProblem()
Get problem from action warehouse.
unsigned int dimension() const
Return the dimension of the component.
virtual Real volume() const
Return the component volume.
std::vector< SubdomainName > _blocks
Names of the blocks the component is comprised of.
virtual void setupComponent()
virtual void addMeshGenerators()
virtual void addMaterials()
Used to add materials or functor materials on a component.
const bool _verbose
Whether the component setup should be verbose.
Factory & getFactory() const
Get the factory to build (often physics-related but not always) objects (for example a Positions) ...
void addRequiredTask(const std::string &task)
Add a new required task for all physics deriving from this class NOTE: This does not register the tas...
ActionComponent(const InputParameters ¶ms)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< BoundaryName > _outer_boundaries
Names of the boundaries on the component outer surface.
virtual Real outerSurfaceArea() const
Return the component outer boundary area.
virtual void addPositionsObject()
const std::vector< SubdomainName > & blocks() const
Returns the subdomains for the component mesh, if any.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
virtual void addPhysics()
Used to add one or more Physics to be active on the component.
virtual void addUserObjects()