initSpecies Interface

interface
private module subroutine initSpecies(this, id, name, Z, A, vars)

Arguments

Type IntentOptional 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

Description

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