antioch-0.4.0
|
#include <blottner_parsing.h>
Public Member Functions | |
BlottnerViscosity (const CoeffType a, const CoeffType b, const CoeffType c) | |
BlottnerViscosity (const std::vector< CoeffType > &coeffs) | |
virtual | ~BlottnerViscosity () |
void | reset_coeffs (const CoeffType a, const CoeffType b, const CoeffType c) |
StateType | operator() (const StateType &T) const |
Evaluates viscosity at temperature T. More... | |
void | extrapolate_max_temp (const StateType &Tmax) |
Extrapolate to input maximum temperature, given in [K]. More... | |
void | reset_coeffs (const std::vector< CoeffType > &coeffs) |
Resets coefficients associated with the viscosity model. More... | |
void | print (std::ostream &os=std::cout) const |
Formatted print, by default to std::cout . More... | |
Protected Member Functions | |
template<typename StateType > | |
StateType | op_impl (const StateType &T) const |
void | reset_coeffs_impl (const std::vector< CoeffType > coeffs) |
void | print_impl (std::ostream &os) const |
template<typename StateType > | |
void | extrapolate_max_temp_impl (const StateType &Tmax) |
No extrapolation needed. More... | |
Protected Attributes | |
CoeffType | _a |
CoeffType | _b |
CoeffType | _c |
Private Member Functions | |
BlottnerViscosity () | |
Friends | |
class | SpeciesViscosityBase< BlottnerViscosity< CoeffType >, CoeffType > |
Friend base class so we can make implementation protected. More... | |
Definition at line 38 of file blottner_parsing.h.
Antioch::BlottnerViscosity< CoeffType >::BlottnerViscosity | ( | const CoeffType | a, |
const CoeffType | b, | ||
const CoeffType | c | ||
) |
Definition at line 90 of file blottner_viscosity.h.
Antioch::BlottnerViscosity< CoeffType >::BlottnerViscosity | ( | const std::vector< CoeffType > & | coeffs | ) |
Definition at line 100 of file blottner_viscosity.h.
References Antioch::BlottnerViscosity< CoeffType >::_a, Antioch::BlottnerViscosity< CoeffType >::_b, Antioch::BlottnerViscosity< CoeffType >::_c, and antioch_assert_equal_to.
|
inlinevirtual |
Definition at line 55 of file blottner_viscosity.h.
|
private |
|
inherited |
Extrapolate to input maximum temperature, given in [K].
Some species viscosity models, e.g. KineticsTheoryViscosity, use interpolated quantities for a given temperature range. If the viscosity is to be evaluated outside that range, an error will occur. This method will reconstruct the interpolation table, but use a linear extrapolation from the max in the existing table to the input maximum temperature.
This method is only applicable to a subset of species viscosity models. Others will throw a runtime error.
|
inlineprotected |
No extrapolation needed.
Implementation needed for the interface, but we just throw an error is this is called since it's not defined for BlottnerViscosity.
Definition at line 156 of file blottner_viscosity.h.
References antioch_error_msg.
|
inlineprotected |
Definition at line 123 of file blottner_viscosity.h.
|
inherited |
Evaluates viscosity at temperature T.
|
inherited |
Formatted print, by default to std::cout
.
|
protected |
Definition at line 112 of file blottner_viscosity.h.
|
inline |
|
inherited |
Resets coefficients associated with the viscosity model.
|
inlineprotected |
Definition at line 147 of file blottner_viscosity.h.
References antioch_assert_equal_to.
|
friend |
Friend base class so we can make implementation protected.
Definition at line 60 of file blottner_viscosity.h.
|
protected |
Definition at line 79 of file blottner_viscosity.h.
Referenced by Antioch::BlottnerViscosity< CoeffType >::BlottnerViscosity().
|
protected |
Definition at line 80 of file blottner_viscosity.h.
Referenced by Antioch::BlottnerViscosity< CoeffType >::BlottnerViscosity().
|
protected |
Definition at line 81 of file blottner_viscosity.h.
Referenced by Antioch::BlottnerViscosity< CoeffType >::BlottnerViscosity().