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

Initialize all Factory objects related to boundary conditions. More...

#include <boundary_condition_factory_initializer.h>

Public Member Functions

 BoundaryConditionFactoryInitializer ()
 
 ~BoundaryConditionFactoryInitializer ()
 

Detailed Description

Initialize all Factory objects related to boundary conditions.

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

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

Definition at line 35 of file boundary_condition_factory_initializer.h.

Constructor & Destructor Documentation

GRINS::BoundaryConditionFactoryInitializer::BoundaryConditionFactoryInitializer ( )

Definition at line 48 of file boundary_condition_factory_initializer.C.

49  {
50  static ConstantCatalycityFactory grins_factory_constant_catalycity("constant");
51  static ArrheniusCatalycityFactory grins_factory_arrhenius_catalycity("arrhenius");
52  static PowerLawCatalycityFactory grins_factory_power_law_catalycity("power");
53 
54  static ConstantFunctionDirichletBCFactory grins_factory_constant_dirichlet("constant_dirichlet");
55  static ConstantFunctionDirichletBCFactory grins_factory_constant_displacement("constant_displacement");
56  static ConstantFunctionDirichletBCFactory grins_factory_constant_isothermal("isothermal");
57  static MoleFractionsDirichletBCFactory grins_factory_mole_fractions("mole_fractions");
58 
59  static GasRecombinationCatalyticWallNeumannBCFactory
60  grins_factory_gas_recomb_catalytic_wall_neumann_bc("gas_recombination_catalytic_wall");
61 
62  static GasSolidCatalyticWallNeumannBCFactory
63  grins_factory_gas_solid_catalytic_wall_neumann_bc("gas_solid_catalytic_wall");
64 
65  static HomogeneousDirichletBCFactory grins_factory_homogeneous_dirichlet("homogeneous_dirichlet");
66  static HomogeneousDirichletBCFactory grins_factory_no_slip("no_slip");
67  static HomogeneousDirichletBCFactory grins_factory_pinned("pinned");
68 
69  static HomogeneousNeumannBCFactory grins_factory_homogeneous_neumann("homogeneous_neumann");
70  static HomogeneousNeumannBCFactory grins_factory_adiabatic("adiabatic");
71  static HomogeneousNeumannBCFactory grins_factory_temp_axisym("Temperature_axisymmetric");
72  static HomogeneousNeumannBCFactory grins_factory_species_axisym("SpeciesMassFractions_axisymmetric");
73 
74  static ParsedDirichletBCFactory grins_factory_parsed_dirichlet("parsed_dirichlet");
75  static ParsedFEMDirichletBCFactory grins_factory_parsed_fem_dirichlet("parsed_fem_dirichlet");
76  static ParsedDirichletBCFactory grins_factory_parsed_displacement("parsed_displacement");
77 
78  static ParsedFunctionNeumannBCFactory<libMesh::FunctionBase<libMesh::Number> >
79  grins_factory_parsed_neumann("parsed_neumann");
80 
81  static ParsedFunctionNeumannBCFactory<libMesh::FEMFunctionBase<libMesh::Number> >
82  grins_factory_parsed_fem_neumann("parsed_fem_neumann");
83 
84  static ParsedTractionBCFactory<libMesh::FunctionBase<libMesh::Number> >
85  grins_factory_parsed_traction("parsed_traction");
86 
87  static ParsedTractionBCFactory<libMesh::FEMFunctionBase<libMesh::Number> >
88  grins_factory_parsed_fem_traction("parsed_fem_traction");
89 
90  static ParsedTractionBCFactory<libMesh::FunctionBase<libMesh::Number> >
91  grins_factory_constant_traction("constant_traction");
92 
93  static YZSymmetryBCFactory grins_factory_yz_symmetry("yz_symmetry");
94  static XZSymmetryBCFactory grins_factory_xz_symmetry("xz_symmetry");
95  static XYSymmetryBCFactory grins_factory_xy_symmetry("xy_symmetry");
96  static RollerXBCFactory grins_factory_roller_x("roller_x");
97  static RollerYBCFactory grins_factory_roller_y("roller_y");
98  static RollerZBCFactory grins_factory_roller_z("roller_z");
99  static AxisymmetryBCFactory grins_factory_velocity_axisymmetry("Velocity_axisymmetric");
100 
101  // Deprecated objects that will be removed in the future
102  static ConstantCatalycityFactoryOldStyle grins_factory_constant_catalycity_old_style("constant_old_style");
103  static ArrheniusCatalycityFactoryOldStyle grins_factory_arrhenius_catalycity_old_style("arrhenius_old_style");
104  static PowerLawCatalycityFactoryOldStyle grins_factory_power_law_catalycity_old_style("power_old_style");
105 
106  static GasRecombinationCatalyticWallNeumannBCOldStyleFactory
107  grins_factory_gas_recomb_catalytic_wall_neumann_bc_old_style("gas_recombination_catalytic_wall_old_style");
108 
109  static GasSolidCatalyticWallNeumannBCOldStyleFactory
110  grins_factory_gas_solid_catalytic_wall_neumann_bc_old_style("gas_solid_catalytic_wall_old_style");
111 
112  static HomogeneousDirichletBCFactory grins_factory_no_slip_old_style("no_slip_old_style");
113  static HomogeneousDirichletBCFactory grins_factory_pinned_old_style("pinned_old_style");
114 
115  static HomogeneousNeumannBCFactory grins_factory_adiabatic_old_style("adiabatic_old_style");
116  static HomogeneousNeumannBCFactory grins_factory_adiabatic_wall_old_style("adiabatic_wall_old_style");
117  static HomogeneousNeumannBCFactory grins_factory_temp_axisym_old_style("Temperature_axisymmetric_old_style");
118  static HomogeneousNeumannBCFactory grins_factory_species_axisym_old_style("SpeciesMassFractions_axisymmetric_old_style");
119 
120  static IsothermalDirichletOldStyleBCFactory grins_factory_isothermal_wall_old_style("isothermal_wall_old_style");
121  static IsothermalDirichletOldStyleBCFactory grins_factory_isothermal_old_style("isothermal_old_style");
122 
123  static ParsedDirichletOldStyleBCFactory grins_factory_parsed_dirichlet_old_style("parsed_dirichlet_old_style");
124  static ParsedDirichletOldStyleBCFactory grins_factory_constant_dirichlet_old_style("constant_dirichlet_old_style");
125  static ParsedFEMDirichletOldStyleBCFactory grins_factory_parsed_fem_dirichlet_old_style("parsed_fem_dirichlet_old_style");
126 
127  static TractionOldStyleBCFactory<libMesh::FunctionBase<libMesh::Number> >
128  grins_factory_traction_old_style_functionbase("constant_traction_old_style");
129 
130  static PrescribedVelDirichletOldStyleBCFactory
131  grins_factory_prescribed_vel_old_style("prescribed_vel_old_style");
132  static PrescribedDispDirichletOldStyleBCFactory
133  grins_factory_constant_displacement_old_style("constant_displacement_old_style");
134  static PrescribedSpeciesDirichletOldStyleBCFactory
135  grins_factory_prescribed_species_old_style("prescribed_species_old_style");
136  static PrescribedMoleFractionsDirichletOldStyleBCFactory
137  grins_factory_prescribed_mole_fraccs_old_style("prescribed_mole_fracs_old_style");
138 
139  static YZSymmetryBCFactory grins_factory_yz_symmetry_old_style("yz_symmetry_old_style");
140  static XZSymmetryBCFactory grins_factory_xz_symmetry_old_style("xz_symmetry_old_style");
141  static XYSymmetryBCFactory grins_factory_xy_symmetry_old_style("xy_symmetry_old_style");
142  static RollerXBCFactory grins_factory_roller_x_old_style("roller_x_old_style");
143  static RollerYBCFactory grins_factory_roller_y_old_style("roller_y_old_style");
144  static RollerZBCFactory grins_factory_roller_z_old_style("roller_z_old_style");
145  static AxisymmetryBCFactory grins_factory_velocity_axisymmetry_old_style("Velocity_axisymmetric_old_style");
146  }
GRINS::BoundaryConditionFactoryInitializer::~BoundaryConditionFactoryInitializer ( )
inline

Definition at line 39 of file boundary_condition_factory_initializer.h.

39 {}

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

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