Contains module procedures associated with the variable list class
Returns number of variables in list
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this |
Getter of names
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this |
Return variable name at index ind
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Return priority of variable with given index
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Check whether variable with given name is registered
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | name |
Check whether variable with given index is a full distribution function
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Check whether variable with given index is a single harmonic
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Check whether variable with given index is a scalar
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Check whether variable with given index is a on dual grid
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Check whether variable with given index is stationary
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Get index of variable with given name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | name |
Combine two lists into one
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(in) | :: | this | |||
type(VariableList), | intent(in) | :: | other |
Variable list initialization routine
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VariableList), | intent(inout) | :: | this |
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
Type | Intent | Optional | 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 |