www.mooseframework.org
CombinedTestApp.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #include "CombinedTestApp.h"
9 #include "CombinedApp.h"
10 #include "Factory.h"
11 #include "ActionFactory.h"
12 #include "AppFactory.h"
13 #include "MooseSyntax.h"
14 
16 #include "ContactTestApp.h"
17 #include "FluidPropertiesTestApp.h"
18 #include "HeatConductionTestApp.h"
19 #include "MiscTestApp.h"
20 #include "NavierStokesTestApp.h"
21 #include "PhaseFieldTestApp.h"
22 #include "RichardsTestApp.h"
23 #include "SolidMechanicsTestApp.h"
24 #include "StochasticToolsTestApp.h"
25 #include "TensorMechanicsTestApp.h"
26 #include "WaterSteamEOSTestApp.h"
27 #include "XFEMTestApp.h"
28 #include "PorousFlowTestApp.h"
29 #include "RdgTestApp.h"
30 #include "LevelSetTestApp.h"
31 
32 template <>
33 InputParameters
35 {
36  InputParameters params = validParams<CombinedApp>();
37  return params;
38 }
39 
40 CombinedTestApp::CombinedTestApp(const InputParameters & parameters) : MooseApp(parameters)
41 {
42  Moose::registerObjects(_factory);
44 
45  Moose::associateSyntax(_syntax, _action_factory);
46  CombinedApp::associateSyntax(_syntax, _action_factory);
47 
48  bool use_test_objs = getParam<bool>("allow_test_objects");
49  if (use_test_objs)
50  {
52  CombinedTestApp::associateSyntax(_syntax, _action_factory);
53  }
54 }
55 
57 
58 // External entry point for dynamic application loading
59 extern "C" void
61 {
63 }
64 void
66 {
67  registerApp(CombinedApp);
68  registerApp(CombinedTestApp);
69 }
70 
71 // External entry point for dynamic object registration
72 extern "C" void
74 {
76 }
77 void
79 {
96 }
97 
98 // External entry point for dynamic syntax association
99 extern "C" void
100 CombinedTestApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
101 {
102  CombinedTestApp::associateSyntax(syntax, action_factory);
103 }
104 void
105 CombinedTestApp::associateSyntax(Syntax & syntax, ActionFactory & action_factory)
106 {
107  ChemicalReactionsTestApp::associateSyntax(syntax, action_factory);
108  ContactTestApp::associateSyntax(syntax, action_factory);
109  FluidPropertiesTestApp::associateSyntax(syntax, action_factory);
110  HeatConductionTestApp::associateSyntax(syntax, action_factory);
111  MiscTestApp::associateSyntax(syntax, action_factory);
112  NavierStokesTestApp::associateSyntax(syntax, action_factory);
113  PhaseFieldTestApp::associateSyntax(syntax, action_factory);
114  RichardsTestApp::associateSyntax(syntax, action_factory);
115  SolidMechanicsTestApp::associateSyntax(syntax, action_factory);
116  StochasticToolsTestApp::associateSyntax(syntax, action_factory);
117  TensorMechanicsTestApp::associateSyntax(syntax, action_factory);
118  WaterSteamEOSTestApp::associateSyntax(syntax, action_factory);
119  XFEMTestApp::associateSyntax(syntax, action_factory);
120  PorousFlowTestApp::associateSyntax(syntax, action_factory);
121  RdgTestApp::associateSyntax(syntax, action_factory);
122  LevelSetTestApp::associateSyntax(syntax, action_factory);
123 }
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
void CombinedTestApp__associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
CombinedTestApp(const InputParameters &parameters)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
virtual ~CombinedTestApp()
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerApps()
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
void CombinedTestApp__registerApps()
static void registerObjects(Factory &factory)
Definition: CombinedApp.C:69
static void registerObjects(Factory &factory)
Definition: MiscTestApp.C:55
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
InputParameters validParams< CombinedApp >()
Definition: CombinedApp.C:33
static void registerObjects(Factory &factory)
Definition: XFEMTestApp.C:55
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: RdgTestApp.C:64
static void registerObjects(Factory &factory)
static void registerObjects(Factory &factory)
InputParameters validParams< CombinedTestApp >()
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)
Definition: RdgTestApp.C:53
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: XFEMTestApp.C:66
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
void CombinedTestApp__registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: MiscTestApp.C:67
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: CombinedApp.C:96
static void registerObjects(Factory &factory)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
static void registerObjects(Factory &factory)