GRINS-0.7.0
physics_factory_basic.C
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2016 Paul T. Bauman, Roy H. Stogner
7 // Copyright (C) 2010-2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 // This class
27 
28 // GRINS
29 #include "grins/physics_naming.h"
30 #include "grins/scalar_ode.h"
38 
39 namespace GRINS
40 {
41  template<typename DerivedPhysics>
42  libMesh::UniquePtr<Physics> PhysicsFactoryBasic<DerivedPhysics>::build_physics( const GetPot& input,
43  const std::string& physics_name )
44  {
45  return libMesh::UniquePtr<Physics>( new DerivedPhysics(physics_name,input) );
46  }
47 
48  // Instantiate all the "Basic" Physics factories.
49  // These shouldn't be directly used by the user, we just need to instantiate them.
52  // This one needs to die. Regular Boussinesq should handle the axisymmetry
56  // This one needs to die and just have the parsed version
60 
61 } // end namespace GRINS
PhysicsFactoryBasic< ElasticMembraneConstantPressure > grins_factory_elastic_membrane_pressure(PhysicsNaming::elastic_membrane_constant_pressure())
static PhysicsName scalar_ode()
virtual libMesh::UniquePtr< Physics > build_physics(const GetPot &input, const std::string &physics_name)
static PhysicsName axisymmetric_boussinesq_buoyancy()
PhysicsFactoryBasic< ConvectionDiffusion > grins_factory_convection_difffusion(PhysicsNaming::convection_diffusion())
PhysicsFactoryBasic< AxisymmetricBoussinesqBuoyancy > grins_factory_axi_boussinesq(PhysicsNaming::axisymmetric_boussinesq_buoyancy())
static PhysicsName elastic_membrane_constant_pressure()
PhysicsFactoryBasic< ParsedSourceTerm > grins_factory_parsed_source_term(PhysicsNaming::parsed_source_term())
GRINS namespace.
PhysicsFactoryBasic< BoussinesqBuoyancy > grins_factory_boussinesq(PhysicsNaming::boussinesq_buoyancy())
static PhysicsName elastic_cable_constant_gravity()
static PhysicsName boussinesq_buoyancy()
static PhysicsName convection_diffusion()
static PhysicsName parsed_source_term()
static PhysicsName constant_source_term()
PhysicsFactoryBasic< ElasticCableConstantGravity > grins_factory_elastic_cable_gravity(PhysicsNaming::elastic_cable_constant_gravity())
PhysicsFactoryBasic< ConstantSourceTerm > grins_factory_constant_source_term(PhysicsNaming::constant_source_term())
PhysicsFactoryBasic< ScalarODE > grins_factory_scalar_ode(PhysicsNaming::scalar_ode())

Generated on Thu Jun 2 2016 21:52:28 for GRINS-0.7.0 by  doxygen 1.8.10