antioch-0.4.0
|
#include <nasa_curve_fit_base.h>
Public Member Functions | |
NASACurveFitBase (const std::vector< CoeffType > &coeffs, const std::vector< CoeffType > &temp) | |
~NASACurveFitBase () | |
unsigned int | n_intervals () const |
The number of intervals for this NASA9 curve fit. More... | |
template<typename StateType > | |
Antioch::rebind< StateType, unsigned int >::type | interval (const StateType &T) const |
The interval the input temperature lies in. More... | |
const CoeffType * | coefficients (const unsigned int interval) const |
The ordering/packing of the coefficients will depend on the subclass. More... | |
template<typename StateType > | |
Antioch::rebind< StateType, unsigned int >::type | interval (const StateType &T) const |
Protected Member Functions | |
NASACurveFitBase () | |
void | check_coeff_size () const |
void | check_temp_coeff_size_consistency () const |
Protected Attributes | |
unsigned int | _n_coeffs |
The number of coefficients in each interval. More... | |
std::vector< CoeffType > | _coefficients |
The coefficient data. More... | |
std::vector< CoeffType > | _temp |
The temperatures. More... | |
Definition at line 42 of file nasa_curve_fit_base.h.
|
inline |
Definition at line 97 of file nasa_curve_fit_base.h.
|
inline |
Definition at line 48 of file nasa_curve_fit_base.h.
|
inlineprotected |
Definition at line 70 of file nasa_curve_fit_base.h.
|
inlineprotected |
Definition at line 143 of file nasa_curve_fit_base.h.
References antioch_error_msg.
Referenced by Antioch::CEACurveFit< CoeffType >::CEACurveFit(), Antioch::NASA7CurveFit< CoeffType >::NASA7CurveFit(), and Antioch::NASA9CurveFit< CoeffType >::NASA9CurveFit().
|
inlineprotected |
Definition at line 161 of file nasa_curve_fit_base.h.
References antioch_error_msg.
Referenced by Antioch::CEACurveFit< CoeffType >::CEACurveFit(), Antioch::NASA7CurveFit< CoeffType >::NASA7CurveFit(), and Antioch::NASA9CurveFit< CoeffType >::NASA9CurveFit().
|
inline |
The ordering/packing of the coefficients will depend on the subclass.
Definition at line 133 of file nasa_curve_fit_base.h.
References antioch_assert_less, and antioch_assert_less_equal.
Referenced by AntiochTesting::NASA7XMLParsingTest< long double >::check_curve_fits(), and AntiochTesting::NASA9XMLParsingTest< long double >::test_supplied_species().
Antioch::rebind<StateType, unsigned int>::type Antioch::NASACurveFitBase< CoeffType >::interval | ( | const StateType & | T | ) | const |
The interval the input temperature lies in.
|
inline |
Definition at line 113 of file nasa_curve_fit_base.h.
References Antioch::constant_clone(), Antioch::if_else(), and Antioch::zero_clone().
|
inline |
The number of intervals for this NASA9 curve fit.
Definition at line 106 of file nasa_curve_fit_base.h.
Referenced by AntiochTesting::NASA7XMLParsingTest< long double >::check_curve_fits(), and AntiochTesting::NASA9XMLParsingTest< long double >::test_supplied_species().
|
protected |
The coefficient data.
The coeffcients are packed in linear ordering. That is, a0-a9 for the first interval, a0-a9 for the second interval, and so on.
Definition at line 85 of file nasa_curve_fit_base.h.
Referenced by Antioch::CEACurveFit< CoeffType >::CEACurveFit().
|
protected |
The number of coefficients in each interval.
Definition at line 77 of file nasa_curve_fit_base.h.
Referenced by Antioch::CEACurveFit< CoeffType >::CEACurveFit(), Antioch::NASA7CurveFit< CoeffType >::NASA7CurveFit(), and Antioch::NASA9CurveFit< CoeffType >::NASA9CurveFit().
|
protected |
The temperatures.
The temperature defining the intervals
Definition at line 91 of file nasa_curve_fit_base.h.
Referenced by Antioch::CEACurveFit< CoeffType >::CEACurveFit(), and Antioch::NASA7CurveFit< CoeffType >::NASA7CurveFit().