Line data Source code
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 : #include "THMAddRelationshipManagersAction.h" 11 : #include "THMProblem.h" 12 : 13 : registerMooseAction("ThermalHydraulicsApp", 14 : THMAddRelationshipManagersAction, 15 : "THM:add_relationship_managers"); 16 : 17 : InputParameters 18 5416 : THMAddRelationshipManagersAction::validParams() 19 : { 20 5416 : InputParameters params = Action::validParams(); 21 5416 : return params; 22 : } 23 : 24 5416 : THMAddRelationshipManagersAction::THMAddRelationshipManagersAction(const InputParameters & params) 25 5416 : : Action(params) 26 : { 27 5416 : } 28 : 29 : void 30 5412 : THMAddRelationshipManagersAction::act() 31 : { 32 5412 : THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get()); 33 3900 : if (thm_problem) 34 3900 : thm_problem->addRelationshipManagers(); 35 5412 : }