www.mooseframework.org
RdgTestApp.C
Go to the documentation of this file.
1 #include "RdgTestApp.h"
2 #include "RdgApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 template <>
8 InputParameters
10 {
11  InputParameters params = validParams<RdgApp>();
12  return params;
13 }
14 
15 RdgTestApp::RdgTestApp(InputParameters parameters) : MooseApp(parameters)
16 {
17  Moose::registerObjects(_factory);
18  RdgApp::registerObjects(_factory);
19 
20  Moose::associateSyntax(_syntax, _action_factory);
21  RdgApp::associateSyntax(_syntax, _action_factory);
22 
23  bool use_test_objs = getParam<bool>("allow_test_objects");
24  if (use_test_objs)
25  {
27  RdgTestApp::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(RdgApp);
43  registerApp(RdgTestApp);
44 }
45 
46 // External entry point for dynamic object registration
47 extern "C" void
48 RdgTestApp__registerObjects(Factory & factory)
49 {
51 }
52 void
53 RdgTestApp::registerObjects(Factory & /*factory*/)
54 {
55 }
56 
57 // External entry point for dynamic syntax association
58 extern "C" void
59 RdgTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
60 {
61  RdgTestApp::associateSyntax(syntax, action_factory);
62 }
63 void
64 RdgTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
65 {
66 }
RdgTestApp(InputParameters parameters)
Definition: RdgTestApp.C:15
InputParameters validParams< RdgApp >()
Definition: RdgApp.C:30
static void registerObjects(Factory &factory)
Definition: RdgApp.C:66
Definition: RdgApp.h:18
void RdgTestApp__registerObjects(Factory &factory)
Definition: RdgTestApp.C:48
InputParameters validParams< RdgTestApp >()
Definition: RdgTestApp.C:9
virtual ~RdgTestApp()
Definition: RdgTestApp.C:31
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RdgTestApp.C:64
void RdgTestApp__registerApps()
Definition: RdgTestApp.C:35
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RdgApp.C:91
static void registerApps()
Definition: RdgTestApp.C:40
static void registerObjects(Factory &factory)
Definition: RdgTestApp.C:53
void RdgTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RdgTestApp.C:59