www.mooseframework.org
FluidPropertiesTestApp.C
Go to the documentation of this file.
2 #include "FluidPropertiesApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 template <>
8 InputParameters
10 {
11  InputParameters params = validParams<FluidPropertiesApp>();
12  return params;
13 }
14 
15 FluidPropertiesTestApp::FluidPropertiesTestApp(InputParameters parameters) : MooseApp(parameters)
16 {
17  Moose::registerObjects(_factory);
19 
20  Moose::associateSyntax(_syntax, _action_factory);
21  FluidPropertiesApp::associateSyntax(_syntax, _action_factory);
22 
23  bool use_test_objs = getParam<bool>("allow_test_objects");
24  if (use_test_objs)
25  {
27  FluidPropertiesTestApp::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(FluidPropertiesApp);
43  registerApp(FluidPropertiesTestApp);
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 FluidPropertiesTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
60 {
61  FluidPropertiesTestApp::associateSyntax(syntax, action_factory);
62 }
63 void
64 FluidPropertiesTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
65 {
66 }
InputParameters validParams< FluidPropertiesApp >()
void FluidPropertiesTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
void FluidPropertiesTestApp__registerApps()
FluidPropertiesTestApp(InputParameters parameters)
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 FluidPropertiesTestApp__registerObjects(Factory &factory)
InputParameters validParams< FluidPropertiesTestApp >()