GRINS-0.8.0
List of all members | Public Member Functions
GRINS::PhysicsFactoryInitializer Class Reference

Initialize all PhysicsFactory objects. More...

#include <physics_factory_initializer.h>

Public Member Functions

 PhysicsFactoryInitializer ()
 
 ~PhysicsFactoryInitializer ()
 

Detailed Description

Initialize all PhysicsFactory objects.

To avoid symbol stripping from static linking, we use this class to initialize/register the Physics factory objects.

Relevant discussion: http://stackoverflow.com/questions/5202142/static-variable-initialization-over-a-library

Definition at line 35 of file physics_factory_initializer.h.

Constructor & Destructor Documentation

GRINS::PhysicsFactoryInitializer::PhysicsFactoryInitializer ( )

Definition at line 86 of file physics_factory_initializer.C.

References GRINS::PhysicsNaming::averaged_fan(), GRINS::PhysicsNaming::averaged_fan_adjoint_stab(), GRINS::PhysicsNaming::averaged_turbine(), GRINS::PhysicsNaming::axisymmetric_boussinesq_buoyancy(), GRINS::PhysicsNaming::axisymmetric_heat_transfer(), GRINS::PhysicsNaming::boussinesq_buoyancy(), GRINS::PhysicsNaming::boussinesq_buoyancy_adjoint_stab(), GRINS::PhysicsNaming::boussinesq_buoyancy_spgsm_stab(), GRINS::PhysicsNaming::constant_source_term(), GRINS::PhysicsNaming::convection_diffusion(), GRINS::PhysicsNaming::elastic_cable(), GRINS::PhysicsNaming::elastic_cable_rayleigh_damping(), GRINS::PhysicsNaming::elastic_membrane(), GRINS::PhysicsNaming::elastic_membrane_constant_pressure(), GRINS::PhysicsNaming::elastic_membrane_rayleigh_damping(), GRINS::PhysicsNaming::heat_conduction(), GRINS::PhysicsNaming::heat_transfer(), GRINS::PhysicsNaming::heat_transfer_adjoint_stab(), GRINS::PhysicsNaming::heat_transfer_spgsm_stab(), GRINS::PhysicsNaming::incompressible_navier_stokes(), GRINS::PhysicsNaming::incompressible_navier_stokes_adjoint_stab(), GRINS::PhysicsNaming::incompressible_navier_stokes_spgsm_stab(), GRINS::PhysicsNaming::low_mach_navier_stokes(), GRINS::PhysicsNaming::low_mach_navier_stokes_braack_stab(), GRINS::PhysicsNaming::low_mach_navier_stokes_spgsm_stab(), GRINS::PhysicsNaming::low_mach_navier_stokes_vms_stab(), GRINS::PhysicsNaming::parsed_source_term(), GRINS::PhysicsNaming::parsed_velocity_source(), GRINS::PhysicsNaming::parsed_velocity_source_adjoint_stab(), GRINS::PhysicsNaming::scalar_ode(), GRINS::PhysicsNaming::spalart_allmaras(), GRINS::PhysicsNaming::spalart_allmaras_spgsm_stab(), GRINS::PhysicsNaming::stokes(), GRINS::PhysicsNaming::variable_pinning(), GRINS::PhysicsNaming::velocity_drag(), GRINS::PhysicsNaming::velocity_drag_adjoint_stab(), GRINS::PhysicsNaming::velocity_penalty(), GRINS::PhysicsNaming::velocity_penalty2(), GRINS::PhysicsNaming::velocity_penalty2_adjoint_stab(), GRINS::PhysicsNaming::velocity_penalty3(), GRINS::PhysicsNaming::velocity_penalty3_adjoint_stab(), and GRINS::PhysicsNaming::velocity_penalty_adjoint_stab().

87  {
88  static PhysicsFactoryBasic<ScalarODE> grins_factory_scalar_ode(PhysicsNaming::scalar_ode());
89 
90  static PhysicsFactoryBasic<BoussinesqBuoyancy> grins_factory_boussinesq(PhysicsNaming::boussinesq_buoyancy());
91 
92  // This one needs to die. Regular Boussinesq should handle the axisymmetry
93  static PhysicsFactoryBasic<AxisymmetricBoussinesqBuoyancy>
94  grins_factory_axi_boussinesq(PhysicsNaming::axisymmetric_boussinesq_buoyancy());
95 
96  static PhysicsFactoryBasic<ElasticMembraneConstantPressure>
97  grins_factory_elastic_membrane_pressure(PhysicsNaming::elastic_membrane_constant_pressure());
98 
99  // This one needs to die and just have the parsed version
100  static PhysicsFactoryBasic<ConstantSourceTerm>
101  grins_factory_constant_source_term(PhysicsNaming::constant_source_term());
102 
103  static PhysicsFactoryBasic<ParsedSourceTerm>
104  grins_factory_parsed_source_term(PhysicsNaming::parsed_source_term());
105 
106  static PhysicsFactoryBasic<ConvectionDiffusion>
107  grins_factory_convection_difffusion(PhysicsNaming::convection_diffusion());
108 
109  static PhysicsFactoryBasic<VariablePinning>
110  grins_factory_variable_pinning(PhysicsNaming::variable_pinning());
111 
112 
113  static PhysicsFactoryHeatTransfer<HeatConduction> grins_factory_heat_conduction
115 
116  static PhysicsFactoryHeatTransfer<HeatTransfer> grins_factory_heat_transfer
118 
119  static PhysicsFactoryHeatTransfer<HeatTransferAdjointStabilization> grins_factory_heat_transfer_adjoint_stab
121 
122  static PhysicsFactoryHeatTransfer<HeatTransferAdjointStabilization> grins_factory_heat_transfer_spgsm_stab
124 
125  // This needs to die. Axisymmetry should be handled within heat_transfer
126  static PhysicsFactoryHeatTransfer<AxisymmetricHeatTransfer> grins_factory_axi_heat_transfer
128 
129 
130  static PhysicsFactoryIncompressibleFlow<IncompressibleNavierStokes> grins_factory_incompressible_navier_stokes
132 
133  static PhysicsFactoryIncompressibleFlow<Stokes> grins_factory_stokes
135 
136  static PhysicsFactoryIncompressibleFlow<IncompressibleNavierStokesAdjointStabilization>
137  grins_factory_ins_adjoint_stab
139 
140  static PhysicsFactoryIncompressibleFlow<IncompressibleNavierStokesSPGSMStabilization>
141  grins_factory_spsgm_adjoint_stab
143 
144  static PhysicsFactoryIncompressibleFlow<VelocityDrag> grins_factory_velocity_drag
146 
147  static PhysicsFactoryIncompressibleFlow<VelocityDragAdjointStabilization>
148  grins_factory_velocity_drag_adjoint_stab
150 
151  static PhysicsFactoryIncompressibleFlow<VelocityPenalty> grins_factory_vel_penalty
153 
154  static PhysicsFactoryIncompressibleFlow<VelocityPenalty> grins_factory_vel_penalty2
156 
157  static PhysicsFactoryIncompressibleFlow<VelocityPenalty> grins_factory_vel_penalty3
159 
160  static PhysicsFactoryIncompressibleFlow<VelocityPenaltyAdjointStabilization>
161  grins_factory_vel_penalty_adjoint_stab
163 
164  static PhysicsFactoryIncompressibleFlow<VelocityPenaltyAdjointStabilization>
165  grins_factory_vel_penalty2_adjoint_stab
167 
168  static PhysicsFactoryIncompressibleFlow<VelocityPenaltyAdjointStabilization>
169  grins_factory_vel_penalty3_adjoint_stab
171 
172  static PhysicsFactoryIncompressibleFlow<ParsedVelocitySource> grins_factory_parsed_vel_source
174 
175  static PhysicsFactoryIncompressibleFlow<ParsedVelocitySourceAdjointStabilization>
176  grins_factory_parsed_vel_source_adjoint_stab
178 
179  static PhysicsFactoryIncompressibleFlow<AveragedFan> grins_factory_averaged_fan
181 
182  static PhysicsFactoryIncompressibleFlow<AveragedFanAdjointStabilization>
183  grins_factory_averaged_fan_adjoint_stab
185 
186  static PhysicsFactoryIncompressibleFlow<AveragedTurbine> grins_factory_averaged_turbine
188 
189  static PhysicsFactoryIncompressibleFlow<BoussinesqBuoyancyAdjointStabilization>
190  grins_factory_boussinesq_adjoint_stab
192 
193  static PhysicsFactoryIncompressibleFlow<BoussinesqBuoyancySPGSMStabilization>
194  grins_factory_boussinesq_spgsm_stab
196 
197 
198  static PhysicsFactoryIncompressibleTurbFlow<SpalartAllmaras> grins_factory_spalart_allmaras
200 
201  static PhysicsFactoryIncompressibleTurbFlow<SpalartAllmarasSPGSMStabilization>
202  grins_factory_spalart_allmaras_spgsm_stab
204 
205 
206  static PhysicsFactoryOneDStressSolids<ElasticCable> grins_factory_elastic_cable
208 
209  static PhysicsFactoryOneDStressSolids<ElasticCableRayleighDamping> grins_factory_elastic_cable_rayleigh_damping
211 
212 
213  static PhysicsFactoryPlaneStressSolids<ElasticMembrane> grins_factory_elastic_membrane
215 
216  static PhysicsFactoryPlaneStressSolids<ElasticMembraneRayleighDamping>
217  grins_factory_elastic_membrane_rayleigh_damping
219 
220 
221  static PhysicsFactoryVariableDensityFlow<LowMachNavierStokes> grins_factory_low_mach_navier_stokes
223 
224  static PhysicsFactoryVariableDensityFlow<LowMachNavierStokesSPGSMStabilization> grins_factory_lmns_spgsm_stab
226 
227  static PhysicsFactoryVariableDensityFlow<LowMachNavierStokesVMSStabilization> grins_factory_lmns_vms_stab
229 
230  static PhysicsFactoryVariableDensityFlow<LowMachNavierStokesBraackStabilization> grins_factory_lmns_braack_stab
232 
233  ReactingFlowsPhysicsFactoryInitializer grins_factory_reacting_flows_init;
234  }
static PhysicsName velocity_penalty_adjoint_stab()
static PhysicsName heat_transfer_adjoint_stab()
static PhysicsName heat_transfer()
static PhysicsName boussinesq_buoyancy_adjoint_stab()
static PhysicsName elastic_cable_rayleigh_damping()
static PhysicsName boussinesq_buoyancy_spgsm_stab()
static PhysicsName scalar_ode()
static PhysicsName heat_transfer_spgsm_stab()
static PhysicsName averaged_fan()
static PhysicsName parsed_velocity_source()
static PhysicsName velocity_drag_adjoint_stab()
static PhysicsName spalart_allmaras()
static PhysicsName incompressible_navier_stokes_adjoint_stab()
static PhysicsName low_mach_navier_stokes_braack_stab()
static PhysicsName axisymmetric_boussinesq_buoyancy()
static PhysicsName low_mach_navier_stokes()
static PhysicsName elastic_cable()
static PhysicsName velocity_penalty3_adjoint_stab()
static PhysicsName velocity_drag()
static PhysicsName elastic_membrane_constant_pressure()
static PhysicsName parsed_velocity_source_adjoint_stab()
static PhysicsName spalart_allmaras_spgsm_stab()
static PhysicsName elastic_membrane()
static PhysicsName variable_pinning()
static PhysicsName velocity_penalty()
static PhysicsName velocity_penalty2()
static PhysicsName low_mach_navier_stokes_spgsm_stab()
static PhysicsName boussinesq_buoyancy()
static PhysicsName convection_diffusion()
static PhysicsName parsed_source_term()
static PhysicsName averaged_turbine()
static PhysicsName incompressible_navier_stokes()
static PhysicsName constant_source_term()
static PhysicsName stokes()
static PhysicsName axisymmetric_heat_transfer()
static PhysicsName velocity_penalty2_adjoint_stab()
static PhysicsName averaged_fan_adjoint_stab()
static PhysicsName heat_conduction()
static PhysicsName low_mach_navier_stokes_vms_stab()
static PhysicsName elastic_membrane_rayleigh_damping()
static PhysicsName velocity_penalty3()
static PhysicsName incompressible_navier_stokes_spgsm_stab()
GRINS::PhysicsFactoryInitializer::~PhysicsFactoryInitializer ( )
inline

Definition at line 39 of file physics_factory_initializer.h.

39 {}

The documentation for this class was generated from the following files:

Generated on Tue Dec 19 2017 12:47:31 for GRINS-0.8.0 by  doxygen 1.8.9.1