www.mooseframework.org
ModulesApp.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "MooseApp.h"
13 
14 #ifdef CHEMICAL_REACTIONS_ENABLED
15 #include "ChemicalReactionsApp.h"
16 #endif
17 #ifdef CONTACT_ENABLED
18 #include "ContactApp.h"
19 #endif
20 #ifdef ELECTROMAGNETICS_ENABLED
21 #include "ElectromagneticsApp.h"
22 #endif
23 #ifdef FLUID_PROPERTIES_ENABLED
24 #include "FluidPropertiesApp.h"
25 #endif
26 #ifdef FSI_ENABLED
27 #include "FsiApp.h"
28 #endif
29 #ifdef FUNCTIONAL_EXPANSION_TOOLS_ENABLED
31 #endif
32 #ifdef GEOCHEMISTRY_ENABLED
33 #include "GeochemistryApp.h"
34 #endif
35 #ifdef HEAT_CONDUCTION_ENABLED
36 #include "HeatConductionApp.h"
37 #endif
38 #ifdef HEAT_TRANSFER_ENABLED
39 #include "HeatTransferApp.h"
40 #endif
41 #ifdef LEVEL_SET_ENABLED
42 #include "LevelSetApp.h"
43 #endif
44 #ifdef MISC_ENABLED
45 #include "MiscApp.h"
46 #endif
47 #ifdef NAVIER_STOKES_ENABLED
48 #include "NavierStokesApp.h"
49 #endif
50 #ifdef OPTIMIZATION_ENABLED
51 #include "OptimizationApp.h"
52 #endif
53 #ifdef PERIDYNAMICS_ENABLED
54 #include "PeridynamicsApp.h"
55 #endif
56 #ifdef PHASE_FIELD_ENABLED
57 #include "PhaseFieldApp.h"
58 #endif
59 #ifdef POROUS_FLOW_ENABLED
60 #include "PorousFlowApp.h"
61 #endif
62 #ifdef RAY_TRACING_ENABLED
63 #include "RayTracingApp.h"
64 #endif
65 #ifdef RDG_ENABLED
66 #include "RdgApp.h"
67 #endif
68 #ifdef REACTOR_ENABLED
69 #include "ReactorApp.h"
70 #endif
71 #ifdef RICHARDS_ENABLED
72 #include "RichardsApp.h"
73 #endif
74 #ifdef SCALAR_TRANSPORT_ENABLED
75 #include "ScalarTransportApp.h"
76 #endif
77 #ifdef SOLID_MECHANICS_ENABLED
78 #include "SolidMechanicsApp.h"
79 #endif
80 #ifdef SOLID_PROPERTIES_ENABLED
81 #include "SolidPropertiesApp.h"
82 #endif
83 #ifdef STOCHASTIC_TOOLS_ENABLED
84 #include "StochasticToolsApp.h"
85 #endif
86 #ifdef THERMAL_HYDRAULICS_ENABLED
87 #include "ThermalHydraulicsApp.h"
88 #endif
89 #ifdef XFEM_ENABLED
90 #include "XFEMApp.h"
91 #endif
92 #ifdef EXTERNAL_PETSC_SOLVER_ENABLED
93 #include "ExternalPetscSolverApp.h"
94 #endif
95 
96 class ModulesApp : public MooseApp
97 {
98 public:
100  virtual ~ModulesApp();
101 
102  static InputParameters validParams();
103 
104  static void registerApps();
105  static void registerAll(Factory & f, ActionFactory & af, Syntax & s);
106  template <typename T>
107  static void registerAllObjects(Factory & f, ActionFactory & af, Syntax & s);
108  static void registerObjects(Factory & factory);
109  static void associateSyntax(Syntax & syntax, ActionFactory & action_factory);
110  static void registerExecFlags(Factory & factory);
111 };
112 
113 template <typename T>
114 void
116 {
117 #ifdef CHEMICAL_REACTIONS_ENABLED
119 #endif
120 
121 #ifdef CONTACT_ENABLED
122  ContactApp::registerAll(f, af, s);
123 #endif
124 
125 #ifdef ELECTROMAGNETICS_ENABLED
127 #endif
128 
129 #ifdef FLUID_PROPERTIES_ENABLED
131 #endif
132 
133 #ifdef FSI_ENABLED
134  FsiApp::registerAll(f, af, s);
135 #endif
136 
137 #ifdef GEOCHEMISTRY_ENABLED
139 #endif
140 
141 #ifdef HEAT_TRANSFER_ENABLED
143 #endif
144 
145 #ifdef LEVEL_SET_ENABLED
146  LevelSetApp::registerAll(f, af, s);
147 #endif
148 
149 #ifdef MISC_ENABLED
150  MiscApp::registerAll(f, af, s);
151 #endif
152 
153 #ifdef NAVIER_STOKES_ENABLED
155 #endif
156 
157 #ifdef OPTIMIZATION_ENABLED
159 #endif
160 
161 #ifdef PERIDYNAMICS_ENABLED
163 #endif
164 
165 #ifdef PHASE_FIELD_ENABLED
167 #endif
168 
169 #ifdef POROUS_FLOW_ENABLED
171 #endif
172 
173 #ifdef RAY_TRACING_ENABLED
175 #endif
176 
177 #ifdef RDG_ENABLED
178  RdgApp::registerAll(f, af, s);
179 #endif
180 
181 #ifdef REACTOR_ENABLED
182  ReactorApp::registerAll(f, af, s);
183 #endif
184 
185 #ifdef RICHARDS_ENABLED
186  RichardsApp::registerAll(f, af, s);
187 #endif
188 
189 #ifdef SCALAR_TRANSPORT_ENABLED
191 #endif
192 
193 #ifdef SOLID_MECHANICS_ENABLED
195 #endif
196 
197 #ifdef SOLID_PROPERTIES_ENABLED
199 #endif
200 
201 #ifdef STOCHASTIC_TOOLS_ENABLED
203 #endif
204 
205 #ifdef THERMAL_HYDRAULICS_ENABLED
207 #endif
208 
209 #ifdef XFEM_ENABLED
210  XFEMApp::registerAll(f, af, s);
211 #endif
212 
213 #ifdef EXTERNAL_PETSC_SOLVER_ENABLED
215 #endif
216 
217  libmesh_ignore(f, s, af);
218 }
static void registerAllObjects(Factory &f, ActionFactory &af, Syntax &s)
Definition: ModulesApp.h:115
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
InputParameters & parameters()
static void registerExecFlags(Factory &factory)
Definition: ModulesApp.C:382
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: MiscApp.C:36
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: LevelSetApp.C:47
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerObjects(Factory &factory)
Definition: ModulesApp.C:200
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Syntax & syntax()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PorousFlowApp.C:88
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RayTracingApp.C:38
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: XFEMApp.C:47
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
void libmesh_ignore(const Args &...)
static void registerApps()
Definition: ModulesApp.C:110
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PhaseFieldApp.C:73
Real f(Real x)
Test function for Brents method.
ModulesApp(const InputParameters &parameters)
Definition: ModulesApp.C:102
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: FsiApp.C:35
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RichardsApp.C:47
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
virtual ~ModulesApp()
Definition: ModulesApp.C:107
static InputParameters validParams()
Definition: ModulesApp.C:96
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RdgApp.C:37
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: ModulesApp.C:469
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: ReactorApp.C:32
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void associateSyntax(Syntax &syntax, ActionFactory &action_factory)
Definition: ModulesApp.C:291
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: ContactApp.C:52
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)