https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
24
25 virtual void act() override;
26
30 virtual void addRelationshipManagers(Moose::RelationshipManagerType when_type) override;
31
34
35private:
37 std::string _component_type;
38
41};
Base class for actions.
Definition Action.h:38
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:148
Action for creating component actions.
InputParameters & getComponentParams()
Return the parameters of the component.
virtual void addRelationshipManagers(Moose::RelationshipManagerType when_type) override
Method to add a relationship manager for the objects being added to the system.
static InputParameters validParams()
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
InputParameters _component_params
The parameters for the component to be created.
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.
RelationshipManagerType
Main types of Relationship Managers.