ImprovedChiuHarveySource¶
-
class
ImprovedChiuHarveySource
¶
Calculates pitch angle dependent Chiu Harvey like source and can be switched to have a particle conserving sink term to consverve number of particles and momentum (arissen from the source term).
Extends ExplicitOperator
.
Is sourceMode
4,5 in EquationSettings
.
Functions¶
-
generateOperatorMatrix
(this, iteration)¶
Calculates the explicit source term at the iteration as the time index used.
Uses paramters from the State
object.
Returns true if matrix has changed and 0 otherwise.
-
GenerateKnockOnMatrix
(this, iteration)¶
Generates the KnockOn terms for the ChiuHarveySource with pitch angle dependencies.
-
BuildInterpolationMatrix
(~, x, xp)¶
Help function used only in the class.