antioch-0.4.0
|
Base class for species conducitivity models. More...
#include <species_conductivity_base.h>
Public Member Functions | |
SpeciesConductivityBase () | |
virtual | ~SpeciesConductivityBase () |
template<typename StateType > | |
operator() (const unsigned int s, const StateType &mu, const StateType &T) const ANTIOCH_AUTOFUNC(StateType | |
Compute species conductivity, without species diffusion. More... | |
Base class for species conducitivity models.
Defines interface to be used by MixtureConductivity to evaluate species conductivity models. Some models require species diffusion to evaluate the conductivity; these are "with diffusion" models. Other models do not require diffusion; these are "no diffusion" models. We use the curiously recurring template pattern; subclasses should implement op_no_diff_impl - "no diffusion" version (should call antioch_error if invalid) op_with_diff_impl - "requires diffusion" version (should call antioch_error if invalid)
Definition at line 46 of file species_conductivity_base.h.
|
inline |
Definition at line 50 of file species_conductivity_base.h.
|
inlinevirtual |
Definition at line 52 of file species_conductivity_base.h.
Antioch::SpeciesConductivityBase< Subclass >::operator() | ( | const unsigned int | s, |
const StateType & | mu, | ||
const StateType & | T | ||
) | const |
Compute species conductivity, without species diffusion.