|
antioch-0.4.0
|
#include <cmath>#include <limits>#include "antioch/vector_utils_decl.h"#include "antioch/physical_constants.h"#include "antioch/chemical_mixture.h"#include "antioch/ideal_gas_internal_thermo.h"#include "antioch/nasa_evaluator.h"#include "antioch/cea_curve_fit.h"#include "antioch/nasa_mixture_parsing.h"#include "antioch/vector_utils.h"Go to the source code of this file.
Functions | |
| template<typename Scalar > | |
| bool | test_zero (const Scalar val, const Scalar tol) |
| template<typename Scalar > | |
| int | test_relative (const Scalar val, const Scalar truth, const Scalar tol, const std::string &words) |
| template<typename Scalar > | |
| int | test_molecule (unsigned int spec, const Scalar &n_tr_dofs, const Scalar &R_spec, const Scalar &cv_over_R, const Scalar &T, const Antioch::IdealGasInternalThermo< Antioch::NASAEvaluator< Scalar, Antioch::CEACurveFit< Scalar > >, Scalar > &thermo, const std::string &name) |
| template<typename Scalar > | |
| int | tester () |
| int | main () |
| int main | ( | ) |
Definition at line 168 of file ideal_gas_internal_thermo_unit.C.
| int test_molecule | ( | unsigned int | spec, |
| const Scalar & | n_tr_dofs, | ||
| const Scalar & | R_spec, | ||
| const Scalar & | cv_over_R, | ||
| const Scalar & | T, | ||
| const Antioch::IdealGasInternalThermo< Antioch::NASAEvaluator< Scalar, Antioch::CEACurveFit< Scalar > >, Scalar > & | thermo, | ||
| const std::string & | name | ||
| ) |
Definition at line 78 of file ideal_gas_internal_thermo_unit.C.
References test_relative().
Referenced by tester().
| int test_relative | ( | const Scalar | val, |
| const Scalar | truth, | ||
| const Scalar | tol, | ||
| const std::string & | words | ||
| ) |
Definition at line 55 of file ideal_gas_internal_thermo_unit.C.
References test_zero().
Referenced by test_molecule().
| bool test_zero | ( | const Scalar | val, |
| const Scalar | tol | ||
| ) |
Definition at line 44 of file ideal_gas_internal_thermo_unit.C.
Referenced by test_relative().
| int tester | ( | ) |
Definition at line 111 of file ideal_gas_internal_thermo_unit.C.
References Antioch::NASAEvaluator< CoeffType, NASAFit >::cv_over_R(), Antioch::read_nasa_mixture_data(), test_molecule(), and Antioch::DefaultSourceFilename::thermo_data().