state_sub Derived Type

type, public :: state_sub


Components

Type Visibility Attributes Name Initial
double precision, public, dimension(:,:,:,:), allocatable :: ds

Cell sizes in length unit

double precision, public, dimension(:,:), allocatable :: dvolume

Volumes of a cell

double precision, public, dimension(:,:), allocatable :: dvolumecoarse

Volumes of a cell, one level coarser representative

double precision, public, dimension(:,:,:), allocatable :: dx

Cell sizes

double precision, public, dimension(:,:,:,:), allocatable :: dxcoarse

Cell sizes, one level coarser

integer, public :: igrid = -1

ID of a grid block

double precision, public, dimension(:,:,:), allocatable :: surface

Areas of cell-center surfaces

double precision, public, dimension(:,:,:), allocatable :: surfaceC

Areas of cell-face surfaces

double precision, public, dimension(:,:,:), allocatable :: w

Variables, normally center

double precision, public, dimension(:,:,:), allocatable :: wC

Variables for the cornerpositions on the slice

double precision, public, dimension(:,:,:), allocatable :: wcoarse

Variables, normally center, one level coarser representative

double precision, public, dimension(:,:,:), allocatable :: x

Cell-center positions

double precision, public, dimension(:,:,:), allocatable :: xC

Corner positions on the slice

double precision, public, dimension(:,:,:), allocatable :: xcoarse

Cell-center positions, one level coarser representative


Source Code

  type state_sub
     !> ID of a grid block
     integer :: igrid=-1
     !> Variables, normally center
     double precision, dimension(:,:,:), allocatable :: w
     !> Variables for the cornerpositions on the slice 
     double precision, dimension(:,:,:), allocatable :: wC
     !> Variables, normally center, one level coarser representative
     double precision, dimension(:,:,:), allocatable :: wcoarse
     !> Cell-center positions
     double precision, dimension(:,:,:), allocatable :: x
     !> Corner positions on the slice
     double precision, dimension(:,:,:), allocatable :: xC
     !> Cell-center positions, one level coarser representative
     double precision, dimension(:,:,:), allocatable :: xcoarse
     !> Cell sizes
     double precision, dimension(:,:,:), allocatable :: dx
     !> Cell sizes, one level coarser
     double precision, dimension(:,:,:,:), allocatable :: dxcoarse
     !> Cell sizes in length unit
     double precision, dimension(:,:,:,:), allocatable :: ds
     !> Volumes of a cell
     double precision, dimension(:,:), allocatable :: dvolume
     !> Volumes of a cell, one level coarser representative
     double precision, dimension(:,:), allocatable :: dvolumecoarse
     !> Areas of cell-center surfaces 
     double precision, dimension(:,:,:), allocatable :: surface
     !> Areas of cell-face surfaces
     double precision, dimension(:,:,:), allocatable :: surfaceC
  end type state_sub