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 SCALAR_TRANSPORT_ENABLED
72 #include "ScalarTransportApp.h"
73 #endif
74 #ifdef SOLID_MECHANICS_ENABLED
75 #include "SolidMechanicsApp.h"
76 #endif
77 #ifdef SOLID_PROPERTIES_ENABLED
78 #include "SolidPropertiesApp.h"
79 #endif
80 #ifdef STOCHASTIC_TOOLS_ENABLED
81 #include "StochasticToolsApp.h"
82 #endif
83 #ifdef SUBCHANNEL_ENABLED
84 #include "SubChannelApp.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 };
109 
110 template <typename T>
111 void
113 {
114 #ifdef CHEMICAL_REACTIONS_ENABLED
116 #endif
117 
118 #ifdef CONTACT_ENABLED
119  ContactApp::registerAll(f, af, s);
120 #endif
121 
122 #ifdef ELECTROMAGNETICS_ENABLED
124 #endif
125 
126 #ifdef FLUID_PROPERTIES_ENABLED
128 #endif
129 
130 #ifdef FSI_ENABLED
131  FsiApp::registerAll(f, af, s);
132 #endif
133 
134 #ifdef FUNCTIONAL_EXPANSION_TOOLS_ENABLED
136 #endif
137 
138 #ifdef GEOCHEMISTRY_ENABLED
140 #endif
141 
142 #ifdef HEAT_TRANSFER_ENABLED
144 #endif
145 
146 #ifdef LEVEL_SET_ENABLED
147  LevelSetApp::registerAll(f, af, s);
148 #endif
149 
150 #ifdef MISC_ENABLED
151  MiscApp::registerAll(f, af, s);
152 #endif
153 
154 #ifdef NAVIER_STOKES_ENABLED
156 #endif
157 
158 #ifdef OPTIMIZATION_ENABLED
160 #endif
161 
162 #ifdef PERIDYNAMICS_ENABLED
164 #endif
165 
166 #ifdef PHASE_FIELD_ENABLED
168 #endif
169 
170 #ifdef POROUS_FLOW_ENABLED
172 #endif
173 
174 #ifdef RAY_TRACING_ENABLED
176 #endif
177 
178 #ifdef RDG_ENABLED
179  RdgApp::registerAll(f, af, s);
180 #endif
181 
182 #ifdef REACTOR_ENABLED
183  ReactorApp::registerAll(f, af, s);
184 #endif
185 
186 #ifdef SCALAR_TRANSPORT_ENABLED
188 #endif
189 
190 #ifdef SOLID_MECHANICS_ENABLED
192 #endif
193 
194 #ifdef SOLID_PROPERTIES_ENABLED
196 #endif
197 
198 #ifdef STOCHASTIC_TOOLS_ENABLED
200 #endif
201 
202 #ifdef SUBCHANNEL_ENABLED
204 #endif
205 
206 #ifdef THERMAL_HYDRAULICS_ENABLED
208 #endif
209 
210 #ifdef XFEM_ENABLED
211  XFEMApp::registerAll(f, af, s);
212 #endif
213 
214 #ifdef EXTERNAL_PETSC_SOLVER_ENABLED
216 #endif
217 
218  libmesh_ignore(f, s, af);
219 }
static void registerAllObjects(Factory &f, ActionFactory &af, Syntax &s)
Definition: ModulesApp.h:112
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:35
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
const InputParameters & parameters() const
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
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:110
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:102
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: FsiApp.C:35
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:216
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)