https://mooseframework.inl.gov
ThermalHydraulicsTestApp.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 "ThermalHydraulicsApp.h"
12 #include "Moose.h"
13 #include "AppFactory.h"
14 #include "MooseSyntax.h"
15 
18 {
20  return params;
21 }
22 
23 registerKnownLabel("ThermalHydraulicsTestApp");
24 
26  : ThermalHydraulicsApp(parameters)
27 {
29  _factory, _action_factory, _syntax, getParam<bool>("allow_test_objects"));
30 }
31 
33 
34 void
36  ActionFactory & af,
37  Syntax & s,
38  bool use_test_objs)
39 {
41  if (use_test_objs)
42  {
43  Registry::registerObjectsTo(f, {"ThermalHydraulicsTestApp"});
44  Registry::registerActionsTo(af, {"ThermalHydraulicsTestApp"});
45 
46  s.registerActionSyntax("JacobianTest1PhaseAction", "JacobianTest1Phase");
47  s.registerActionSyntax("JacobianTestGeneralAction", "JacobianTestGeneral");
48  s.registerActionSyntax("JacobianTest1PhaseRDGAction", "JacobianTest1PhaseRDG");
49 
50  s.registerActionSyntax("ClosureTest1PhaseAction", "ClosureTest1Phase");
51  }
52 }
53 
54 void
56 {
58  registerApp(ThermalHydraulicsTestApp);
59 }
60 
61 /***************************************************************************************************
62  *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
63  **************************************************************************************************/
64 // External entry point for dynamic application loading
65 extern "C" void
67 {
69 }
70 
71 extern "C" void
73 {
75 }
static InputParameters validParams()
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
void registerActionSyntax(const std::string &action, const std::string &syntax, const std::string &task="", const std::string &file="", int line=-1)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
Syntax _syntax
registerKnownLabel("ThermalHydraulicsTestApp")
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
void ThermalHydraulicsTestApp__registerApps()
Real f(Real x)
Test function for Brents method.
ThermalHydraulicsTestApp(const InputParameters &parameters)
ActionFactory _action_factory
void ThermalHydraulicsTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Factory _factory
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)