Contains module procedures associated with the species class
Getter for id
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(in) | :: | this |
Getter for mass
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(in) | :: | this |
Getter for charge
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(in) | :: | this |
Getter for name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(in) | :: | this |
Getter for associatedVars
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(in) | :: | this |
Initialize species from JSON file. Here for extensibility
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | name | |||
type(JSONController), | intent(inout) | :: | jsonCont |
JSONController used to get parameters from ./config.json |
||
type(MPIController), | intent(inout) | :: | mpiCont |
MPIController used with JSONController |
Species initialization. Z is the charge and A the atomic mass (in amus). A/Z are ignored if id = 0, which is reserved for electrons.
vars is a StringArray containing names of associated variables for easy access
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Species), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in) | :: | id | |||
character(len=*), | intent(in) | :: | name | |||
real(kind=rk), | intent(in) | :: | Z | |||
real(kind=rk), | intent(in) | :: | A | |||
type(StringArray), | intent(in), | dimension(:) | :: | vars |