GRINS-0.8.0
List of all members | Public Member Functions | Private Attributes
GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest Class Reference
Inheritance diagram for GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest:
Inheritance graph
[legend]
Collaboration diagram for GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest:
Collaboration graph
[legend]

Public Member Functions

 CPPUNIT_TEST_SUITE (AntiochMixtureAveragedTransportMixtureBuilderTest)
 
 CPPUNIT_TEST (test_build_cea_sutherland_eucken_constlewis_mix)
 
 CPPUNIT_TEST (test_build_cea_statmech_sutherland_eucken_constlewis_mix)
 
 CPPUNIT_TEST_SUITE_END ()
 
void setUp ()
 
void test_build_cea_sutherland_eucken_constlewis_mix ()
 
void test_build_cea_statmech_sutherland_eucken_constlewis_mix ()
 

Private Attributes

libMesh::UniquePtr< GetPot > _input
 

Detailed Description

Definition at line 276 of file antioch_mixture_builder_test.C.

Member Function Documentation

GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::CPPUNIT_TEST ( test_build_cea_sutherland_eucken_constlewis_mix  )
GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::CPPUNIT_TEST ( test_build_cea_statmech_sutherland_eucken_constlewis_mix  )
GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::CPPUNIT_TEST_SUITE ( AntiochMixtureAveragedTransportMixtureBuilderTest  )
GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::CPPUNIT_TEST_SUITE_END ( )
void GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::setUp ( )
inline

Definition at line 292 of file antioch_mixture_builder_test.C.

References _input.

293  {
294  std::string input_file = std::string(GRINS_TEST_SRCDIR)+"/input_files/antioch.in";
295  _input.reset( new GetPot(input_file) );
296  }
void GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::test_build_cea_statmech_sutherland_eucken_constlewis_mix ( )
inline

Definition at line 316 of file antioch_mixture_builder_test.C.

References _input, and GRINS::AntiochMixtureAveragedTransportMixtureBuilder::build_mixture().

317  {
319 
320  libMesh::UniquePtr<GRINS::AntiochMixtureAveragedTransportMixture<Antioch::CEACurveFit<libMesh::Real>,
321  Antioch::StatMechThermodynamics<libMesh::Real>,
322  Antioch::SutherlandViscosity<libMesh::Real>,
323  Antioch::EuckenThermalConductivity<Antioch::StatMechThermodynamics<libMesh::Real> >,
324  Antioch::ConstantLewisDiffusivity<libMesh::Real> > >
325  mixture = builder.build_mixture<Antioch::CEACurveFit<libMesh::Real>,
326  Antioch::StatMechThermodynamics<libMesh::Real>,
327  Antioch::SutherlandViscosity<libMesh::Real>,
328  Antioch::EuckenThermalConductivity<Antioch::StatMechThermodynamics<libMesh::Real> >,
329  Antioch::ConstantLewisDiffusivity<libMesh::Real> >( *_input, "TestMaterial" );
330 
331  CPPUNIT_ASSERT(mixture);
332  }
libMesh::UniquePtr< AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity > > build_mixture(const GetPot &input, const std::string &material)
void GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::test_build_cea_sutherland_eucken_constlewis_mix ( )
inline

Definition at line 298 of file antioch_mixture_builder_test.C.

References _input, and GRINS::AntiochMixtureAveragedTransportMixtureBuilder::build_mixture().

299  {
301 
302  libMesh::UniquePtr<GRINS::AntiochMixtureAveragedTransportMixture<Antioch::CEACurveFit<libMesh::Real>,
303  Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,Antioch::CEACurveFit<libMesh::Real> >, libMesh::Real>,
304  Antioch::SutherlandViscosity<libMesh::Real>,
305  Antioch::EuckenThermalConductivity<Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,Antioch::CEACurveFit<libMesh::Real> >, libMesh::Real> > ,
306  Antioch::ConstantLewisDiffusivity<libMesh::Real> > >
307  mixture = builder.build_mixture<Antioch::CEACurveFit<libMesh::Real>,
308  Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,Antioch::CEACurveFit<libMesh::Real> >, libMesh::Real>,
309  Antioch::SutherlandViscosity<libMesh::Real>,
310  Antioch::EuckenThermalConductivity<Antioch::IdealGasMicroThermo<Antioch::NASAEvaluator<libMesh::Real,Antioch::CEACurveFit<libMesh::Real> >, libMesh::Real> >,
311  Antioch::ConstantLewisDiffusivity<libMesh::Real> >( *_input, "TestMaterial" );
312 
313  CPPUNIT_ASSERT(mixture);
314  }
libMesh::UniquePtr< AntiochMixtureAveragedTransportMixture< KineticsThermoCurveFit, Thermo, Viscosity, Conductivity, Diffusivity > > build_mixture(const GetPot &input, const std::string &material)

Member Data Documentation

libMesh::UniquePtr<GetPot> GRINSTesting::AntiochMixtureAveragedTransportMixtureBuilderTest::_input
private

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

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