Definition at line 151 of file nasa_mixture_xml_parsing_test.C.
153 for(
unsigned int c = 0; c < exact_coeffs.size(); c++ )
154 CPPUNIT_ASSERT_DOUBLES_EQUAL( exact_coeffs[c], parsed_coeffs[c], this->
tol() );
Definition at line 134 of file nasa_mixture_xml_parsing_test.C.
139 CPPUNIT_ASSERT_EQUAL( (
unsigned int)2, H2_curve_fit.
n_intervals() );
140 CPPUNIT_ASSERT_EQUAL( (
unsigned int)2, N2_curve_fit.
n_intervals() );
std::vector< double > _H2_coeffs_1000_3500
const NASAFit & curve_fit(unsigned int s) const
const CoeffType * coefficients(const unsigned int interval) const
The ordering/packing of the coefficients will depend on the subclass.
std::vector< double > _H2_coeffs_200_1000
std::vector< double > _N2_coeffs_300_1000
unsigned int n_intervals() const
The number of intervals for this NASA9 curve fit.
std::vector< double > _N2_coeffs_1000_5000
void check_coefficients(const double *parsed_coeffs, std::vector< double > &exact_coeffs)
AntiochTesting::NASA7XMLParsingTestDouble::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
Definition at line 82 of file nasa7_thermo_test_base.h.
std::vector< double > _H2_coeffs_1000_3500
std::vector< double > _H2_coeffs_200_1000
std::vector< double > _all_standard_H2_coeffs
Definition at line 117 of file nasa7_thermo_test_base.h.
std::vector< double > _N2_coeffs_300_1000
std::vector< double > _all_standard_N2_coeffs
std::vector< double > _N2_coeffs_1000_5000
Definition at line 45 of file nasa7_thermo_test_base.h.
void init_N2_coeffs_1000_5000()
void init_N2_coeffs_300_1000()
void init_all_N2_coeffs()
void init_all_H2_coeffs()
void init_H2_coeffs_1000_3500()
void init_H2_coeffs_200_1000()
Definition at line 117 of file nasa_mixture_xml_parsing_test.C.
119 std::string thermo_filename = std::string(ANTIOCH_TESTING_INPUT_FILES_PATH)+
"nasa7_thermo_test.xml";
123 std::vector<std::string> species_str_list = xml_parser.species_list();
129 xml_parser.read_thermodynamic_data(nasa_mixture);
Nothing is stored, this parser is based on the tinyxml2 implementation.
Class storing chemical mixture properties.
void check_curve_fits(const Antioch::NASAThermoMixture< double, Antioch::NASA7CurveFit< double > > &nasa_mixture)
Definition at line 100 of file nasa_mixture_xml_parsing_test.C.
102 std::vector<std::string> species_str_list(2);
103 species_str_list[0] =
"H2";
104 species_str_list[1] =
"N2";
108 std::string thermo_filename = std::string(ANTIOCH_TESTING_INPUT_FILES_PATH)+
"nasa7_thermo_test.xml";
void read_nasa_mixture_data(NASAThermoMixture< NumericType, CurveType > &thermo, const std::string &filename=DefaultSourceFilename::thermo_data(), ParsingType=ASCII, bool verbose=true)
Class storing chemical mixture properties.
void check_curve_fits(const Antioch::NASAThermoMixture< double, Antioch::NASA7CurveFit< double > > &nasa_mixture)
The documentation for this class was generated from the following file: