Defines a 2D R-Z grid for interpolating plasma parameters and fields
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=Int32), | public | :: | nr | Number of Radii |
|||
integer(kind=Int32), | public | :: | nz | Number of Z values |
|||
real(kind=Float64), | public | :: | dr | Radial spacing [cm] |
|||
real(kind=Float64), | public | :: | dz | Vertical spacing [cm] |
|||
real(kind=Float64), | public | :: | da | Grid element area [] |
|||
real(kind=Float64), | public, | dimension(:), allocatable | :: | r | Radii values [cm] |
||
real(kind=Float64), | public, | dimension(:), allocatable | :: | z | Z values [cm] |
||
real(kind=Float64), | public, | dimension(:,:), allocatable | :: | r2d | 2D R grid [cm] |
||
real(kind=Float64), | public, | dimension(:,:), allocatable | :: | z2d | 2D Z grid [cm] |
type InterpolationGrid
!+ Defines a 2D R-Z grid for interpolating plasma parameters and fields
integer(Int32) :: nr
!+ Number of Radii
integer(Int32) :: nz
!+ Number of Z values
real(Float64) :: dr
!+ Radial spacing [cm]
real(Float64) :: dz
!+ Vertical spacing [cm]
real(Float64) :: da
!+ Grid element area [\(cm^2\)]
real(Float64), dimension(:), allocatable :: r
!+ Radii values [cm]
real(Float64), dimension(:), allocatable :: z
!+ Z values [cm]
real(Float64), dimension(:,:), allocatable :: r2d
!+ 2D R grid [cm]
real(Float64), dimension(:,:), allocatable :: z2d
!+ 2D Z grid [cm]
end type InterpolationGrid