https://mooseframework.inl.gov
Loading...
Searching...
No Matches
THMControl.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 "THMControl.h"
11
14{
16 params.set<ExecFlagEnum>("execute_on") = {EXEC_INITIAL, EXEC_TIMESTEP_BEGIN};
17 params.addPrivateParam<THMProblem *>("_thm_problem");
18 params.suppressParameter<ExecFlagEnum>("execute_on");
19 params.registerBase("THMControl");
20 return params;
21}
22
24 : Control(parameters), _sim(getParam<THMProblem *>("_thm_problem"))
25{
26}
const ExecFlagType EXEC_TIMESTEP_BEGIN
const ExecFlagType EXEC_INITIAL
static InputParameters validParams()
void suppressParameter(const std::string &name)
void addPrivateParam(const std::string &name, const T &value)
void registerBase(const std::string &value)
T & set(const std::string &name, bool quiet_mode=false)
static InputParameters validParams()
Definition THMControl.C:13
THMControl(const InputParameters &parameters)
Definition THMControl.C:23
Specialization of FEProblem to run with component subsystem.
Definition THMProblem.h:19