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