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

#include <chemistry_builder.h>

Public Member Functions

 ChemistryBuilder ()
 
 ~ChemistryBuilder ()
 
template<typename ChemistryType >
void build_chemistry (const GetPot &input, const std::string &material, libMesh::UniquePtr< ChemistryType > &chem_ptr)
 
template<>
void build_chemistry (const GetPot &input, const std::string &material, libMesh::UniquePtr< CanteraMixture > &chem_ptr)
 
template<>
void build_chemistry (const GetPot &input, const std::string &material, libMesh::UniquePtr< AntiochChemistry > &chem_ptr)
 

Detailed Description

Definition at line 38 of file chemistry_builder.h.

Constructor & Destructor Documentation

GRINS::ChemistryBuilder::ChemistryBuilder ( )
inline

Definition at line 41 of file chemistry_builder.h.

41 {}
GRINS::ChemistryBuilder::~ChemistryBuilder ( )
inline

Definition at line 42 of file chemistry_builder.h.

42 {}

Member Function Documentation

template<typename ChemistryType >
void GRINS::ChemistryBuilder::build_chemistry ( const GetPot &  input,
const std::string &  material,
libMesh::UniquePtr< ChemistryType > &  chem_ptr 
)
template<>
void GRINS::ChemistryBuilder::build_chemistry ( const GetPot &  input,
const std::string &  material,
libMesh::UniquePtr< CanteraMixture > &  chem_ptr 
)

Definition at line 45 of file chemistry_builder.C.

47  {
48  chem_ptr.reset( new CanteraMixture(input,material) );
49  }
template<>
void GRINS::ChemistryBuilder::build_chemistry ( const GetPot &  input,
const std::string &  material,
libMesh::UniquePtr< AntiochChemistry > &  chem_ptr 
)

Definition at line 54 of file chemistry_builder.C.

References GRINS::AntiochMixtureBuilderBase::build_chem_mix().

56  {
57  AntiochMixtureBuilderBase builder;
58 
59  libMesh::UniquePtr<Antioch::ChemicalMixture<libMesh::Real> > antioch_chem_mix
60  = builder.build_chem_mix(input,material);
61 
62  chem_ptr.reset( new AntiochChemistry(antioch_chem_mix) );
63  }

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