addVar Interface

interface
private pure module subroutine addVar(this, name, isDist, isSingleHarmonic, isScalar, isOnDualGrid, isStationary, priority)

Arguments

Type IntentOptional Attributes Name
class(VariableList), intent(inout) :: this
character(len=*), intent(in) :: name
logical, intent(in), optional :: isDist
logical, intent(in), optional :: isSingleHarmonic
logical, intent(in), optional :: isScalar
logical, intent(in), optional :: isOnDualGrid
logical, intent(in), optional :: isStationary
integer(kind=ik), intent(in), optional :: priority

Description

Add variable with given name to list; isDist determines if variable is a distribution function and is .false. by default; isSingleHarmonic sets whether a given distribution is only a single harmonic - i.e. a function of just x and v isScalar tags variable as a scalar (will be stored as a dimension 1 array) isOnDualGrid marks variable as living on the dual/staggered grid (or having staggered harmonics if it's a distribution) isStationary marks variable as having d/dt=0 priority is an integer governing operations such as variable derivation