https://mooseframework.inl.gov
ControlDataIntegrityCheckAction.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 #include "ThermalHydraulicsApp.h"
13 
14 registerMooseAction("ThermalHydraulicsApp",
16  "THM:control_data_integrity_check");
17 
20 {
22 
23  return params;
24 }
25 
27  : Action(parameters)
28 {
29 }
30 
31 void
33 {
34  THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get());
35  if (thm_problem)
36  thm_problem->controlDataIntegrityCheck();
37 }
Specialization of FEProblem to run with component subsystem.
Definition: THMProblem.h:18
Action to trigger the check of control data integrity.
virtual void controlDataIntegrityCheck()
Check the integrity of the control data.
Definition: Simulation.C:911
static InputParameters validParams()
ControlDataIntegrityCheckAction(const InputParameters &parameters)
std::shared_ptr< FEProblemBase > & _problem
registerMooseAction("ThermalHydraulicsApp", ControlDataIntegrityCheckAction, "THM:control_data_integrity_check")