BINNING Derived Type

type, private :: BINNING


Contents

Source Code


Components

TypeVisibility AttributesNameInitial
logical, public :: diagnostic_on
real(kind=rp), public :: start_at
integer, public, DIMENSION(2):: num_bins
real(kind=rp), public, DIMENSION(2):: rlim
real(kind=rp), public, DIMENSION(2):: zlim
real(kind=rp), public :: rmin
real(kind=rp), public :: rmax
real(kind=rp), public :: zmin
real(kind=rp), public :: zmax
real(kind=rp), public :: dr
real(kind=rp), public :: dz
real(kind=rp), public, DIMENSION(:), ALLOCATABLE:: rnodes
real(kind=rp), public, DIMENSION(:), ALLOCATABLE:: znodes
logical, public :: toroidal_sections
integer(kind=idef), public :: ntor_sections

Source Code

  TYPE, PRIVATE :: BINNING
     LOGICAL :: diagnostic_on
     REAL(rp) :: start_at ! In seconds
     INTEGER, DIMENSION(2) :: num_bins ! Number of bins
     REAL(rp), DIMENSION(2) :: rlim ! in meters
     REAL(rp), DIMENSION(2) :: zlim ! in meters
     REAL(rp) :: rmin
     REAL(rp) :: rmax
     REAL(rp) :: zmin
     REAL(rp) :: zmax
     REAL(rp) :: dr
     REAL(rp) :: dz
     REAL(rp), DIMENSION(:), ALLOCATABLE :: rnodes
     REAL(rp), DIMENSION(:), ALLOCATABLE :: znodes
     LOGICAL :: toroidal_sections
     INTEGER(idef) :: ntor_sections
  END TYPE BINNING