BirthProfile Derived Type

type, public :: BirthProfile

Birth profile structure


Contents

Source Code


Components

TypeVisibility AttributesNameInitial
integer, public :: cnt =1

Particle counter

integer, public, dimension(:), allocatable:: neut_type

Particle birth type (1=Full, 2=Half, 3=Third)

real(kind=Float64), public, dimension(:,:), allocatable:: ri

Particle birth position [cm]

real(kind=Float64), public, dimension(:,:), allocatable:: vi

Particle birth velocity [cm/s]

integer, public, dimension(:,:), allocatable:: ind

Particle beam_grid indices

real(kind=Float64), public, dimension(:,:,:,:), allocatable:: dens

Birth density: dens(neutral_type,x,y,z) [fast-ions/(s*cm^3)]


Source Code

type BirthProfile
    !+ Birth profile structure
    integer :: cnt = 1
        !+ Particle counter
    integer, dimension(:), allocatable             :: neut_type
        !+ Particle birth type (1=Full, 2=Half, 3=Third)
    real(Float64), dimension(:,:), allocatable     :: ri
        !+ Particle birth position [cm]
    real(Float64), dimension(:,:), allocatable     :: vi
        !+ Particle birth velocity [cm/s]
    integer, dimension(:,:), allocatable           :: ind
        !+ Particle [[libfida:beam_grid]] indices
    real(Float64), dimension(:,:,:,:), allocatable :: dens
        !+ Birth density: dens(neutral_type,x,y,z) [fast-ions/(s*cm^3)]
end type BirthProfile