antioch-0.4.0
|
#include <sutherland_parsing.h>
Public Member Functions | |
SutherlandViscosity (const CoeffType mu_ref, const CoeffType T_ref) | |
SutherlandViscosity (const std::vector< CoeffType > &coeffs) | |
~SutherlandViscosity () | |
void | reset_coeffs (const CoeffType mu_ref, const CoeffType T_ref) |
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 > | |
op_impl (StateType &T) const ANTIOCH_AUTOFUNC(StateType | |
template<typename StateType > | |
void | extrapolate_max_temp_impl (const StateType &Tmax) |
No extrapolation needed. More... | |
Protected Attributes | |
CoeffType | _mu_ref |
CoeffType | _T_ref |
Private Member Functions | |
SutherlandViscosity () | |
Friends | |
class | SpeciesViscosityBase< SutherlandViscosity< CoeffType >, CoeffType > |
Friend base class so we can make implementation protected. More... | |
Definition at line 38 of file sutherland_parsing.h.
Antioch::SutherlandViscosity< CoeffType >::SutherlandViscosity | ( | const CoeffType | mu_ref, |
const CoeffType | T_ref | ||
) |
Definition at line 94 of file sutherland_viscosity.h.
Antioch::SutherlandViscosity< CoeffType >::SutherlandViscosity | ( | const std::vector< CoeffType > & | coeffs | ) |
Definition at line 101 of file sutherland_viscosity.h.
References antioch_assert_equal_to.
|
inline |
Definition at line 61 of file sutherland_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 SutherlandViscosity.
Definition at line 142 of file sutherland_viscosity.h.
References antioch_error_msg.
|
protected |
|
inherited |
Evaluates viscosity at temperature T.
|
inherited |
Formatted print, by default to std::cout
.
|
inline |
|
inherited |
Resets coefficients associated with the viscosity model.
|
friend |
Friend base class so we can make implementation protected.
Definition at line 66 of file sutherland_viscosity.h.
|
protected |
Definition at line 52 of file sutherland_viscosity.h.
|
protected |
Definition at line 53 of file sutherland_viscosity.h.