https://mooseframework.inl.gov
THMInitComponentsAction.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", THMInitComponentsAction, "THM:init_components");
14 
17 {
19 
20  return params;
21 }
22 
24  : Action(parameters)
25 {
26 }
27 
28 void
30 {
31  THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
32  if (thm_problem)
33  thm_problem->initComponents();
34 }
Initialize components.
Specialization of FEProblem to run with component subsystem.
Definition: THMProblem.h:18
static InputParameters validParams()
THMInitComponentsAction(const InputParameters &parameters)
registerMooseAction("ThermalHydraulicsApp", THMInitComponentsAction, "THM:init_components")
static InputParameters validParams()
virtual void initComponents()
Initialize this simulation&#39;s components.
Definition: Simulation.C:151
std::shared_ptr< FEProblemBase > & _problem