www.mooseframework.org
ChemicalReactionsTestApp.C
Go to the documentation of this file.
2 #include "ChemicalReactionsApp.h"
3 #include "Moose.h"
4 #include "AppFactory.h"
5 #include "MooseSyntax.h"
6 
7 template <>
8 InputParameters
10 {
11  InputParameters params = validParams<ChemicalReactionsApp>();
12  return params;
13 }
14 
16  : MooseApp(parameters)
17 {
18  Moose::registerObjects(_factory);
20 
21  Moose::associateSyntax(_syntax, _action_factory);
22  ChemicalReactionsApp::associateSyntax(_syntax, _action_factory);
23 
24  bool use_test_objs = getParam<bool>("allow_test_objects");
25  if (use_test_objs)
26  {
28  ChemicalReactionsTestApp::associateSyntax(_syntax, _action_factory);
29  }
30 }
31 
33 
34 // External entry point for dynamic application loading
35 extern "C" void
37 {
39 }
40 void
42 {
43  registerApp(ChemicalReactionsApp);
44  registerApp(ChemicalReactionsTestApp);
45 }
46 
47 // External entry point for dynamic object registration
48 extern "C" void
50 {
52 }
53 void
55 {
56 }
57 
58 // External entry point for dynamic syntax association
59 extern "C" void
60 ChemicalReactionsTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
61 {
62  ChemicalReactionsTestApp::associateSyntax(syntax, action_factory);
63 }
64 void
65 ChemicalReactionsTestApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
66 {
67 }
InputParameters validParams< ChemicalReactionsTestApp >()
void ChemicalReactionsTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
InputParameters validParams< ChemicalReactionsApp >()
void ChemicalReactionsTestApp__registerApps()
static void registerObjects(Factory &factory)
ChemicalReactionsTestApp(InputParameters parameters)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
void ChemicalReactionsTestApp__registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)