www.mooseframework.org
WaterSteamEOSTestApp.C
Go to the documentation of this file.
1 #include "WaterSteamEOSTestApp.h"
2 #include "WaterSteamEOSApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 template <>
8 InputParameters
10 {
11  InputParameters params = validParams<WaterSteamEOSApp>();
12  return params;
13 }
14 
15 WaterSteamEOSTestApp::WaterSteamEOSTestApp(InputParameters parameters) : MooseApp(parameters)
16 {
17  Moose::registerObjects(_factory);
19 
20  Moose::associateSyntax(_syntax, _action_factory);
21  WaterSteamEOSApp::associateSyntax(_syntax, _action_factory);
22 
23  bool use_test_objs = getParam<bool>("allow_test_objects");
24  if (use_test_objs)
25  {
27  WaterSteamEOSTestApp::associateSyntax(_syntax, _action_factory);
28  }
29 }
30 
32 
33 // External entry point for dynamic application loading
34 extern "C" void
36 {
38 }
39 void
41 {
42  registerApp(WaterSteamEOSApp);
43  registerApp(WaterSteamEOSTestApp);
44 }
45 
46 // External entry point for dynamic object registration
47 extern "C" void
49 {
51 }
52 void
54 {
55 }
56 
57 // External entry point for dynamic syntax association
58 extern "C" void
59 WaterSteamEOSTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
60 {
61  WaterSteamEOSTestApp::associateSyntax(syntax, action_factory);
62 }
63 void
64 WaterSteamEOSTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
65 {
66 }
InputParameters validParams< WaterSteamEOSTestApp >()
void WaterSteamEOSTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
InputParameters validParams< WaterSteamEOSApp >()
WaterSteamEOSTestApp(InputParameters parameters)
void WaterSteamEOSTestApp__registerApps()
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
void WaterSteamEOSTestApp__registerObjects(Factory &factory)