https://mooseframework.inl.gov
THMAddVariablesAction.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 
10 #include "THMAddVariablesAction.h"
11 #include "THMProblem.h"
12 
13 registerMooseAction("ThermalHydraulicsApp", THMAddVariablesAction, "THM:add_variables");
14 
17 {
19  return params;
20 }
21 
23 
24 void
26 {
27  THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
28  if (thm_problem)
29  thm_problem->addVariables();
30 }
Specialization of FEProblem to run with component subsystem.
Definition: THMProblem.h:18
static InputParameters validParams()
static InputParameters validParams()
THMAddVariablesAction(const InputParameters &params)
std::shared_ptr< FEProblemBase > & _problem
virtual void addVariables()
Add variables involved in this simulation.
Definition: Simulation.C:634
registerMooseAction("ThermalHydraulicsApp", THMAddVariablesAction, "THM:add_variables")