https://mooseframework.inl.gov
THMAddRelationshipManagersAction.C
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 
11 #include "THMProblem.h"
12 
13 registerMooseAction("ThermalHydraulicsApp",
15  "THM:add_relationship_managers");
16 
19 {
21  return params;
22 }
23 
25  : Action(params)
26 {
27 }
28 
29 void
31 {
32  THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
33  if (thm_problem)
34  thm_problem->addRelationshipManagers();
35 }
Specialization of FEProblem to run with component subsystem.
Definition: THMProblem.h:18
void addRelationshipManagers()
Add additional relationship managers to run the simulation.
Definition: Simulation.C:745
static InputParameters validParams()
registerMooseAction("ThermalHydraulicsApp", THMAddRelationshipManagersAction, "THM:add_relationship_managers")
std::shared_ptr< FEProblemBase > & _problem
THMAddRelationshipManagersAction(const InputParameters &params)