antioch-0.4.0
|
Base class for species diffusion models. More...
#include <species_diffusion_base.h>
Public Member Functions | |
SpeciesDiffusionBase () | |
virtual | ~SpeciesDiffusionBase () |
void | reset_coeffs (std::vector< CoeffType > &coeffs) |
Reset model coefficients. More... | |
template<typename StateType > | |
D (const StateType &rho, const StateType &cp, const StateType &k) const ANTIOCH_AUTOFUNC(StateType | |
Compute species diffusivity. More... | |
Base class for species diffusion models.
Species diffusion models are those that directly compute species diffusion coefficients (in constrast to binary diffusion models that are used to compute binary diffusion matrix). We use the curiously recurring template pattern; subclasses need to implement D_impl - computes species diffusion coefficient reset_coeffs_impl - reset model coefficients
Definition at line 48 of file species_diffusion_base.h.
|
inline |
Definition at line 52 of file species_diffusion_base.h.
|
inlinevirtual |
Definition at line 54 of file species_diffusion_base.h.
Antioch::SpeciesDiffusionBase< Subclass, CoeffType >::D | ( | const StateType & | rho, |
const StateType & | cp, | ||
const StateType & | k | ||
) | const |
Compute species diffusivity.
void Antioch::SpeciesDiffusionBase< Subclass, CoeffType >::reset_coeffs | ( | std::vector< CoeffType > & | coeffs | ) |
Reset model coefficients.
Definition at line 68 of file species_diffusion_base.h.