Species list object providing centralized access and initialization of species objects
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
type(Species), | private, | allocatable, dimension(:) | :: | speciesEntries | |||
integer(kind=ik), | private, | allocatable, dimension(:) | :: | speciesIDs | |||
type(StringArray), | private, | allocatable, dimension(:) | :: | speciesNames |
Getter for userDefined
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(in) | :: | this |
Set userDefined to .true.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Set userDefined to .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Getter for species based on id
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SpeciesList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | id |
Getter for species based on name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SpeciesList), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | name |
Return associated var with index ind of species with given id
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SpeciesList), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | id | |||
integer(kind=ik), | intent(in) | :: | ind |
Return associated var with index ind of species with given name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SpeciesList), | intent(in) | :: | this | |||
character(len=*), | intent(in) | :: | name | |||
integer(kind=ik), | intent(in) | :: | ind |
Getter for speciesIDs
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SpeciesList), | intent(in) | :: | this |
SpeciesList initialization from config.json.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(SpeciesList), | intent(inout) | :: | this | |||
type(JSONController), | intent(inout) | :: | jsonCont |
JSONController used to get parameters from ./config.json |
||
type(MPIController), | intent(inout) | :: | mpiCont |
MPIController used with JSONController |