27 #ifndef ANTIOCH_SPECIES_DIFFUSION_BASE_H
28 #define ANTIOCH_SPECIES_DIFFUSION_BASE_H
47 template<
typename Sub
class,
typename CoeffType>
60 template<
typename StateType>
62 D( const StateType& rho, const StateType&
cp, const StateType& k ) const
63 ANTIOCH_AUTOFUNC(StateType, static_cast<const Subclass*>(this)->D_impl(rho,cp,k) )
67 template<typename Subclass, typename CoeffType>
70 static_cast<const Subclass*
>(
this)->reset_coeffs_impl(coeffs);
75 #endif // ANTIOCH_SPECIES_DIFFUSION_BASE_H
Base class for species diffusion models.
Scalar cp(Scalar T, Scalar a0, Scalar a1, Scalar a2, Scalar a3, Scalar a4, Scalar a5, Scalar a6)
void reset_coeffs(std::vector< CoeffType > &coeffs)
Reset model coefficients.
D(const StateType &rho, const StateType &cp, const StateType &k) const ANTIOCH_AUTOFUNC(StateType
Compute species diffusivity.
virtual ~SpeciesDiffusionBase()
#define ANTIOCH_AUTOFUNC(Type, Expr)
const ANTIOCH_AUTO(StateType) KineticsTheoryThermalConductivity< ThermoEvaluator
The parameters are reduced parameters.