template<class Init, class Coefficients>
          MixDirichlet class
        
        MixDirichlet SDE used polymorphically with DiffEq.
Contents
The template arguments specify policies and are used to configure the behavior of the class. The policies are:
- Init - initialization policy, see DiffEq/InitPolicy.h
 - Coefficients - coefficients policy, see DiffEq/DirCoeffPolicy.h
 
Public static variables
- static const std::size_t NUMDERIVED
 
Constructors, destructors, conversion operators
- 
              MixDirichlet(ncomp_
t c) explicit  - Constructor.
 
Public functions
- void initialize(int stream, tk::Particles& particles)
 - 
              void advance(tk::Particles& particles,
              int stream,
              tk::
real dt, tk:: real, const std::map<tk:: ctr:: Product, tk:: real>& moments)  - Advance particles according to the MixDirichlet SDE.
 
Function documentation
              
                template<class Init, class Coefficients>
              
               walker:: MixDirichlet<Init, Coefficients>:: MixDirichlet(ncomp_ t c) explicit 
            
            Constructor.
| Parameters | |
|---|---|
| c in | Index specifying which MixDirichlet SDE to construct. There can be multiple dirichlet ... end blocks in a control file. This index specifies which MixDirichlet SDE to instantiate. The index corresponds to the order in which the dirichlet ... end blocks are given the control file. | 
              
                template<class Init, class Coefficients>
              
              void walker:: MixDirichlet<Init, Coefficients>:: initialize(int stream,
              tk::Particles& particles)
            
            | Parameters | |
|---|---|
| stream in | Thread (or more precisely stream) ID | 
| particles in/out | Array of particle properties | 
                
Initalize SDE, prepare for time integration
Set initial conditions using initialization policy
              
                template<class Init, class Coefficients>
              
              void walker:: MixDirichlet<Init, Coefficients>:: advance(tk::Particles& particles,
              int stream,
              tk:: real dt,
              tk:: real,
              const std::map<tk:: ctr:: Product, tk:: real>& moments)
            
            Advance particles according to the MixDirichlet SDE.
| Parameters | |
|---|---|
| particles in/out | Array of particle properties | 
| stream in | Thread (or more precisely stream) ID | 
| dt in | Time step size | 
| moments in | Map of statistical moments | 
Variable documentation
              
                template<class Init, class Coefficients>
              
              static const std::size_t walker:: MixDirichlet<Init, Coefficients>:: NUMDERIVED
            
Number of derived variables computed by the MixDirichlet SDE
Derived variables: Nth scalar, density, specific volume.