VERB_code_2.3
DiffusionCoefficientsGroup Class Reference

Holds list of instances of DiffusionCoefficient class of same type (like Daa, Dpp, etc), but produced by different waves (Daa_chorus, Daa_EMIC, etc). More...

#include <DiffusionCoefficient.h>

Public Member Functions

bool ActivateAndScale (double time, double Kp)
 

Public Attributes

DiffusionCoefficient CurrentDxx
 flag, indicated that the initialization was passed
 
vector< DiffusionCoefficientDxxList
 List of diffusion coefficients in that group. Actually, it's a list of waves used in the diffusion coefficient that this group represent.
 

Detailed Description

Holds list of instances of DiffusionCoefficient class of same type (like Daa, Dpp, etc), but produced by different waves (Daa_chorus, Daa_EMIC, etc).

It has DiffusionCoefficient class as a parent class, so it stores there summation of all the coefficients to use in diffusion. So, it is DiffusionCoefficient in common sense.

Todo:
change DiffusionCoefficientGroup name to the DiffusionCoefficient name and DiffusionCoefficient name to something else.

Definition at line 95 of file DiffusionCoefficient.h.

Member Function Documentation

bool DiffusionCoefficientsGroup::ActivateAndScale ( double  time,
double  Kp 
)

Function activate (enable/disable) diffusion coefficients according time events and scale diffusion coefficients. It would be cool to call it "Actualize", but unfortunately it would be too complicated

Parameters
time- time
Kp- Kp

Activation (enabling/disabling) and scaling of the diffusion coefficients in one group. It loops thru the list of the diffusion coefficients, enable which needs to be enabled, disable, which needs to be disabled and scale all enabled

Definition at line 418 of file DiffusionCoefficient.cpp.


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