|
libMesh::UniquePtr< GetPot > | _input |
|
GRINSTesting::AntiochMixtureBuilderBaseTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
void GRINSTesting::AntiochMixtureBuilderBaseTest::setUp |
( |
| ) |
|
|
inline |
Definition at line 57 of file antioch_mixture_builder_test.C.
References _input.
59 std::string input_file = std::string(GRINS_TEST_SRCDIR)+
"/input_files/antioch.in";
60 _input.reset(
new GetPot(input_file) );
libMesh::UniquePtr< GetPot > _input
void GRINSTesting::AntiochMixtureBuilderBaseTest::test_build_chem_mix |
( |
| ) |
|
|
inline |
Definition at line 63 of file antioch_mixture_builder_test.C.
References _input, and GRINS::AntiochMixtureBuilderBase::build_chem_mix().
67 libMesh::UniquePtr<Antioch::ChemicalMixture<libMesh::Real> > chem_mix
71 CPPUNIT_ASSERT_EQUAL( 5, (
int)chem_mix->n_species() );
73 const std::vector<Antioch::ChemicalSpecies<libMesh::Real>*> & all_species =
74 chem_mix->chemical_species();
76 CPPUNIT_ASSERT_EQUAL( 5, (
int)all_species.size() );
Base class building Antioch mixture wrappers.
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > build_chem_mix(const GetPot &input, const std::string &material)
libMesh::UniquePtr< GetPot > _input
void GRINSTesting::AntiochMixtureBuilderBaseTest::test_build_nasa_thermo_mix_cea |
( |
| ) |
|
|
inline |
Definition at line 93 of file antioch_mixture_builder_test.C.
References _input, GRINS::AntiochMixtureBuilderBase::build_chem_mix(), and GRINS::AntiochMixtureBuilderBase::build_nasa_thermo_mix().
97 libMesh::UniquePtr<Antioch::ChemicalMixture<libMesh::Real> > chem_mix
100 libMesh::UniquePtr<Antioch::NASAThermoMixture<libMesh::Real,Antioch::CEACurveFit<libMesh::Real> > >
104 CPPUNIT_ASSERT(nasa_mix->check());
Base class building Antioch mixture wrappers.
libMesh::UniquePtr< Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > > build_nasa_thermo_mix(const GetPot &input, const std::string &material, const Antioch::ChemicalMixture< libMesh::Real > &chem_mix)
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > build_chem_mix(const GetPot &input, const std::string &material)
libMesh::UniquePtr< GetPot > _input
void GRINSTesting::AntiochMixtureBuilderBaseTest::test_build_reaction_set |
( |
| ) |
|
|
inline |
Definition at line 79 of file antioch_mixture_builder_test.C.
References _input, GRINS::AntiochMixtureBuilderBase::build_chem_mix(), and GRINS::AntiochMixtureBuilderBase::build_reaction_set().
83 libMesh::UniquePtr<Antioch::ChemicalMixture<libMesh::Real> > chem_mix
86 libMesh::UniquePtr<Antioch::ReactionSet<libMesh::Real> > reaction_set
89 CPPUNIT_ASSERT_EQUAL( 5, (
int)reaction_set->n_species() );
90 CPPUNIT_ASSERT_EQUAL( 5, (
int)reaction_set->n_reactions() );
libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > build_reaction_set(const GetPot &input, const std::string &material, const Antioch::ChemicalMixture< libMesh::Real > &chem_mix)
Base class building Antioch mixture wrappers.
libMesh::UniquePtr< Antioch::ChemicalMixture< libMesh::Real > > build_chem_mix(const GetPot &input, const std::string &material)
libMesh::UniquePtr< GetPot > _input
void GRINSTesting::AntiochMixtureBuilderBaseTest::test_parse_clip_negative_rho |
( |
| ) |
|
|
inline |
void GRINSTesting::AntiochMixtureBuilderBaseTest::test_parse_min_T |
( |
| ) |
|
|
inline |
Definition at line 107 of file antioch_mixture_builder_test.C.
References _input, and GRINS::AntiochMixtureBuilderBase::parse_min_T().
111 libMesh::Real min_T_exact = 114.15;
114 CPPUNIT_ASSERT_DOUBLES_EQUAL( min_T_exact, min_T, std::numeric_limits<libMesh::Real>::epsilon() );
Base class building Antioch mixture wrappers.
libMesh::Real parse_min_T(const GetPot &input, const std::string &material)
libMesh::UniquePtr< GetPot > _input
libMesh::UniquePtr<GetPot> GRINSTesting::AntiochMixtureBuilderBaseTest::_input |
|
private |
The documentation for this class was generated from the following file: