antioch-0.4.0
List of all members | Public Member Functions
Antioch::SpeciesConductivityBase< Subclass > Class Template Reference

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...
 

Detailed Description

template<class Subclass>
class Antioch::SpeciesConductivityBase< Subclass >

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.

Constructor & Destructor Documentation

template<class Subclass>
Antioch::SpeciesConductivityBase< Subclass >::SpeciesConductivityBase ( )
inline

Definition at line 50 of file species_conductivity_base.h.

50 {}
template<class Subclass>
virtual Antioch::SpeciesConductivityBase< Subclass >::~SpeciesConductivityBase ( )
inlinevirtual

Definition at line 52 of file species_conductivity_base.h.

52 {}

Member Function Documentation

template<class Subclass>
template<typename StateType >
Antioch::SpeciesConductivityBase< Subclass >::operator() ( const unsigned int  s,
const StateType &  mu,
const StateType &  T 
) const

Compute species conductivity, without species diffusion.


The documentation for this class was generated from the following file:

Generated on Thu Jul 7 2016 11:09:50 for antioch-0.4.0 by  doxygen 1.8.8