https://mooseframework.inl.gov
AddActionComponentAction.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Action.h"
13 #include <string>
14 
19 {
20 public:
22 
24 
25  virtual void act() override;
26 
30  virtual void addRelationshipManagers(Moose::RelationshipManagerType when_type) override;
31 
34 
35 private:
37  std::string _component_type;
38 
41 };
InputParameters & getComponentParams()
Return the parameters of the component.
RelationshipManagerType
Main types of Relationship Managers.
Definition: MooseTypes.h:963
std::string _component_type
The Component type that is being created.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Action for creating component actions.
Base class for actions.
Definition: Action.h:33
static InputParameters validParams()
bool addRelationshipManagers(Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars)
Method to add a relationship manager for the objects being added to the system.
Definition: Action.C:136
InputParameters _component_params
The parameters for the component to be created.
virtual void addRelationshipManagers(Moose::RelationshipManagerType when_type) override
Method to add a relationship manager for the objects being added to the system.
AddActionComponentAction(const InputParameters &params)
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.