GRINS-0.8.0
|
Public Member Functions | |
CPPUNIT_TEST_SUITE (SpectroscopicAbsorptionTest) | |
CPPUNIT_TEST (single_elem_mesh) | |
CPPUNIT_TEST (multi_elem_mesh) | |
CPPUNIT_TEST (param_derivs) | |
CPPUNIT_TEST (elem_qoi_derivatives) | |
CPPUNIT_TEST_SUITE_END () | |
void | tearDown () |
void | single_elem_mesh () |
Single QUAD4 elem, uniform T,P,Y. More... | |
void | multi_elem_mesh () |
10x10 mesh, uniform T,P,Y More... | |
void | param_derivs () |
void | elem_qoi_derivatives () |
Private Member Functions | |
void | run_test (const std::string filename, libMesh::Real calc_answer) |
Run the test on a given input file and calculated answer. More... | |
void | init_sim (const std::string &filename) |
Initialize the GetPot and Simulation class objects. More... | |
void | T_param_derivatives (GRINS::SharedPtr< AbsorptionCoeffTesting< GRINS::AntiochChemistry > >absorb, libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > &Y, unsigned int i) |
void | P_param_derivatives (GRINS::SharedPtr< AbsorptionCoeffTesting< GRINS::AntiochChemistry > >absorb, libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > &Y, unsigned int i) |
void | Y_param_derivatives (GRINS::SharedPtr< AbsorptionCoeffTesting< GRINS::AntiochChemistry > >absorb, libMesh::Real T, libMesh::Real P, std::vector< libMesh::Real > &Y, unsigned int i) |
void | check_param_derivatives (std::vector< libMesh::Real > &analytic, std::vector< libMesh::Real > &fd_plus, std::vector< libMesh::Real > &fd_minus, libMesh::Real delta) |
void | T_elem_derivative (GRINS::MultiphysicsSystem *system, GRINS::AssemblyContext *context) |
void | P_elem_derivative (GRINS::MultiphysicsSystem *system, GRINS::AssemblyContext *context) |
void | Y_elem_derivative (GRINS::MultiphysicsSystem *system, GRINS::AssemblyContext *context) |
void | test_var_elem_derivs (GRINS::MultiphysicsSystem *system, GRINS::AssemblyContext *context, unsigned int var_index, libMesh::Real delta) |
Private Attributes | |
GRINS::SharedPtr< GRINS::Simulation > | _sim |
GRINS::SharedPtr< GetPot > | _input |
Definition at line 60 of file spectroscopic_absorption_test.C.
|
inlineprivate |
Definition at line 287 of file spectroscopic_absorption_test.C.
Referenced by P_param_derivatives(), T_param_derivatives(), and Y_param_derivatives().
GRINSTesting::SpectroscopicAbsorptionTest::CPPUNIT_TEST | ( | single_elem_mesh | ) |
GRINSTesting::SpectroscopicAbsorptionTest::CPPUNIT_TEST | ( | multi_elem_mesh | ) |
GRINSTesting::SpectroscopicAbsorptionTest::CPPUNIT_TEST | ( | param_derivs | ) |
GRINSTesting::SpectroscopicAbsorptionTest::CPPUNIT_TEST | ( | elem_qoi_derivatives | ) |
GRINSTesting::SpectroscopicAbsorptionTest::CPPUNIT_TEST_SUITE | ( | SpectroscopicAbsorptionTest | ) |
GRINSTesting::SpectroscopicAbsorptionTest::CPPUNIT_TEST_SUITE_END | ( | ) |
|
inline |
Definition at line 133 of file spectroscopic_absorption_test.C.
References _sim, GRINS::MultiphysicsSystem::build_context(), GRINS::MultiphysicsSystem::init_context(), init_sim(), P_elem_derivative(), T_elem_derivative(), and Y_elem_derivative().
|
inlineprivate |
Initialize the GetPot and Simulation class objects.
Definition at line 172 of file spectroscopic_absorption_test.C.
References TestCommWorld.
Referenced by elem_qoi_derivatives(), param_derivs(), and run_test().
|
inline |
10x10 mesh, uniform T,P,Y
Definition at line 88 of file spectroscopic_absorption_test.C.
References run_test().
|
inlineprivate |
Definition at line 305 of file spectroscopic_absorption_test.C.
References GRINS::PressureFEVariable::p(), and test_var_elem_derivs().
Referenced by elem_qoi_derivatives().
|
inlineprivate |
Definition at line 220 of file spectroscopic_absorption_test.C.
References check_param_derivatives().
Referenced by param_derivs().
|
inline |
Definition at line 96 of file spectroscopic_absorption_test.C.
References _input, GRINS::ChemistryBuilder::build_chemistry(), init_sim(), P_param_derivatives(), T_param_derivatives(), and Y_param_derivatives().
|
inlineprivate |
Run the test on a given input file and calculated answer.
Definition at line 162 of file spectroscopic_absorption_test.C.
References init_sim().
Referenced by multi_elem_mesh(), and single_elem_mesh().
|
inline |
Single QUAD4 elem, uniform T,P,Y.
Definition at line 79 of file spectroscopic_absorption_test.C.
References run_test().
|
inlineprivate |
Definition at line 298 of file spectroscopic_absorption_test.C.
References GRINS::PrimitiveTempFEVariables::T(), and test_var_elem_derivs().
Referenced by elem_qoi_derivatives().
|
inlineprivate |
Definition at line 186 of file spectroscopic_absorption_test.C.
References check_param_derivatives().
Referenced by param_derivs().
|
inline |
Definition at line 72 of file spectroscopic_absorption_test.C.
References GRINS::GRINSPrivate::VariableWarehouse::clear().
|
inlineprivate |
Definition at line 319 of file spectroscopic_absorption_test.C.
Referenced by P_elem_derivative(), T_elem_derivative(), and Y_elem_derivative().
|
inlineprivate |
Definition at line 312 of file spectroscopic_absorption_test.C.
References GRINS::SpeciesMassFractionsVariable::species(), and test_var_elem_derivs().
Referenced by elem_qoi_derivatives().
|
inlineprivate |
Definition at line 254 of file spectroscopic_absorption_test.C.
References check_param_derivatives().
Referenced by param_derivs().
|
private |
Definition at line 159 of file spectroscopic_absorption_test.C.
Referenced by param_derivs().
|
private |
Definition at line 158 of file spectroscopic_absorption_test.C.
Referenced by elem_qoi_derivatives().