https://mooseframework.inl.gov
ModulesApp.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 SUBCHANNEL_ENABLED
87 #include "SubChannelApp.h"
88 #endif
89 #ifdef THERMAL_HYDRAULICS_ENABLED
90 #include "ThermalHydraulicsApp.h"
91 #endif
92 #ifdef XFEM_ENABLED
93 #include "XFEMApp.h"
94 #endif
95 #ifdef EXTERNAL_PETSC_SOLVER_ENABLED
96 #include "ExternalPetscSolverApp.h"
97 #endif
98 
99 class ModulesApp : public MooseApp
100 {
101 public:
103  virtual ~ModulesApp();
104 
105  static InputParameters validParams();
106 
107  static void registerApps();
108  static void registerAll(Factory & f, ActionFactory & af, Syntax & s);
109  template <typename T>
110  static void registerAllObjects(Factory & f, ActionFactory & af, Syntax & s);
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 FUNCTIONAL_EXPANSION_TOOLS_ENABLED
139 #endif
140 
141 #ifdef GEOCHEMISTRY_ENABLED
143 #endif
144 
145 #ifdef HEAT_TRANSFER_ENABLED
147 #endif
148 
149 #ifdef LEVEL_SET_ENABLED
150  LevelSetApp::registerAll(f, af, s);
151 #endif
152 
153 #ifdef MISC_ENABLED
154  MiscApp::registerAll(f, af, s);
155 #endif
156 
157 #ifdef NAVIER_STOKES_ENABLED
159 #endif
160 
161 #ifdef OPTIMIZATION_ENABLED
163 #endif
164 
165 #ifdef PERIDYNAMICS_ENABLED
167 #endif
168 
169 #ifdef PHASE_FIELD_ENABLED
171 #endif
172 
173 #ifdef POROUS_FLOW_ENABLED
175 #endif
176 
177 #ifdef RAY_TRACING_ENABLED
179 #endif
180 
181 #ifdef RDG_ENABLED
182  RdgApp::registerAll(f, af, s);
183 #endif
184 
185 #ifdef REACTOR_ENABLED
186  ReactorApp::registerAll(f, af, s);
187 #endif
188 
189 #ifdef RICHARDS_ENABLED
190  RichardsApp::registerAll(f, af, s);
191 #endif
192 
193 #ifdef SCALAR_TRANSPORT_ENABLED
195 #endif
196 
197 #ifdef SOLID_MECHANICS_ENABLED
199 #endif
200 
201 #ifdef SOLID_PROPERTIES_ENABLED
203 #endif
204 
205 #ifdef STOCHASTIC_TOOLS_ENABLED
207 #endif
208 
209 #ifdef SUBCHANNEL_ENABLED
211 #endif
212 
213 #ifdef THERMAL_HYDRAULICS_ENABLED
215 #endif
216 
217 #ifdef XFEM_ENABLED
218  XFEMApp::registerAll(f, af, s);
219 #endif
220 
221 #ifdef EXTERNAL_PETSC_SOLVER_ENABLED
223 #endif
224 
225  libmesh_ignore(f, s, af);
226 }
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)
Definition: SubChannelApp.C:52
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)
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 registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PorousFlowApp.C:50
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RayTracingApp.C:38
const InputParameters & parameters()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: XFEMApp.C:39
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
void libmesh_ignore(const Args &...)
static void registerApps()
Definition: ModulesApp.C:113
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: PhaseFieldApp.C:38
Real f(Real x)
Test function for Brents method.
ModulesApp(const InputParameters &parameters)
Definition: ModulesApp.C:105
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:39
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
virtual ~ModulesApp()
Definition: ModulesApp.C:110
static InputParameters validParams()
Definition: ModulesApp.C:99
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:223
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 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)
Definition: ContactApp.C:38
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)