27 #ifndef ANTIOCH_MIXTURE_CONDUCTIVITY_H
28 #define ANTIOCH_MIXTURE_CONDUCTIVITY_H
41 template<
typename Conductivity,
class CoeffType=
double>
51 template<
class MicroThermo>
52 void add(
unsigned int s,
53 const std::vector<CoeffType>& coeffs,
54 const MicroThermo& thermo );
58 const std::vector<CoeffType> coeffs );
60 template<
typename StateType>
64 const StateType& mu_s,
65 const StateType& D_ss )
const;
67 template <
typename StateType>
70 const StateType& mu_s )
const;
82 template<
typename Conductivity,
class CoeffType>
85 _species_conductivities( transport_mixture.n_species(), NULL )
88 template<
typename Conductivity,
class CoeffType>
93 it != _species_conductivities.end(); ++it )
99 template<
typename Conductivity,
class CoeffType>
100 template<
class MicroThermo>
102 const std::vector<CoeffType>& coeffs,
103 const MicroThermo& thermo )
108 _species_conductivities[s] =
new Conductivity(thermo, coeffs);
111 template<
typename Conductivity,
class CoeffType>
113 const std::vector<CoeffType> coeffs )
115 _species_conductivities[s]->reset_coeffs(coeffs);
118 template<
typename Conductivity,
class CoeffType>
119 template<
typename StateType>
122 const StateType& rho,
123 const StateType& mu_s,
124 const StateType& D_ss )
const
126 return (*this->_species_conductivities[s])(s,mu_s,T,rho,D_ss);
129 template<
typename Conductivity,
class CoeffType>
130 template<
typename StateType>
133 const StateType& mu_s )
const
135 return (*this->_species_conductivities[s])(s,mu_s,T);
140 #endif // ANTIOCH_MIXTURE_CONDUCTIVITY_H
#define antioch_assert(asserted)
virtual ~MixtureConductivity()
StateType conductivity_without_diffusion(unsigned int s, const StateType &T, const StateType &mu_s) const
std::vector< SpeciesConductivityBase< Conductivity > * > _species_conductivities
void add(unsigned int s, const std::vector< CoeffType > &coeffs, const MicroThermo &thermo)
Add species viscosity.
#define antioch_assert_less_equal(expr1, expr2)
StateType conductivity_with_diffusion(unsigned int s, const StateType &T, const StateType &rho, const StateType &mu_s, const StateType &D_ss) const
Base class for MixtureViscosity, MixtureConductivity, etc.
Class storing chemical mixture properties.
void reset_coeffs(const unsigned int s, const std::vector< CoeffType > coeffs)
Reset model coefficients for viscosity model of species s.
Base class for species conducitivity models.
Container class for species thermal conductivities.
The parameters are reduced parameters.
const TransportMixture< CoeffType > & transport_mixture() const