Pangolin
 All Classes Files Functions Variables Pages
Public Attributes | List of all members
band_grid_class::band_grid Type Reference

The grid is defined as bands. We store the positions of the boundaries Latitude is defined in degree in [-90,90] and the longitude is in [0,360] Also, the ghost cells are already contained in the grid (and not in a separate array) More...

Public Attributes

double precision, dimension(:),
allocatable 
dlat
 Varition of latitude inside a cell at a given latitude (constant here). Positive on the northern hemisphere, negative on the southern. More...
 
double precision, dimension(:),
allocatable 
dlon
 Variation of latitude inside a cell (constant at a given latitude) More...
 
integer, dimension(:), allocatable first_cell
 Stores the position of the first cell in the array at each latitude line. Allows for faster access for each cell. It is actually the sum of all previous nb_lon. More...
 
double precision lat_min = -1.d0
 Latitude of the upper north line (in lat-lon plane) More...
 
double precision, dimension(:),
allocatable 
lon_min
 Longitude of the leftmost cells (in lat-lon plane) More...
 
integer, dimension(:), allocatable nb_ghosts_east
 Number of east ghost cells. More...
 
integer, dimension(:), allocatable nb_ghosts_west
 Number of west ghost cells. More...
 
integer nb_lat = -1
 Number of latitudes. More...
 
integer, dimension(:), allocatable nb_lon
 Number of cells at a given latitude. More...
 
integer, dimension(:), allocatable north_offset
 Gives the offset of the north neighbour for the first cell in the current latitude line. This will give us the offset between the north neighbour and the current line. Beware, there are only nb_lat - 1. More...
 
integer, dimension(:), allocatable south_offset
 Same as before, but for south neighbours. More...
 
integer ghost_cells = 0
 Tell us if there are ghost cells in a direction in base 2, north being the lowest indice, west being the fourth. More...
 
type(list_tracers) tracers
 All data needed for multiple tracers (see List_Tracers_class) More...
 
integer mpi_grid = mpi_datatype_null
 
integer, dimension(:), allocatable mpi_ghost_cells
 MPI type for ghost cells, that is, for data received from the neighbours. One type for each neighbour. More...
 
integer, dimension(:), allocatable mpi_interior_cells
 MPI type for interior cells, that is, for data sent to neighbours. One type for each. More...
 
integer mpi_zwinds_east = mpi_datatype_null
 For zonal winds (only for analytical winds) More...
 
integer mpi_zwinds_west = mpi_datatype_null
 
double precision, dimension(:),
allocatable 
mass_air
 Air and tracer masses. More...
 
double precision, dimension(:),
allocatable 
merid_winds
 Winds data (with ghost cells) : current and previous/next for interpolation. More...
 
double precision, dimension(:),
allocatable 
merid_winds_prev
 
double precision, dimension(:),
allocatable 
merid_winds_next
 
double precision, dimension(:),
allocatable 
zonal_winds
 
double precision, dimension(:),
allocatable 
zonal_winds_prev
 
double precision, dimension(:),
allocatable 
zonal_winds_next
 
double precision, dimension(:),
allocatable 
t_air
 Air temperature(with ghost cells) : current and previous/next for interpolation. More...
 
double precision, dimension(:),
allocatable 
t_air_prev
 
double precision, dimension(:),
allocatable 
t_air_next
 

Detailed Description

The grid is defined as bands. We store the positions of the boundaries Latitude is defined in degree in [-90,90] and the longitude is in [0,360] Also, the ghost cells are already contained in the grid (and not in a separate array)

Member Data Documentation

double precision, dimension(:), allocatable band_grid_class::band_grid::dlat

Varition of latitude inside a cell at a given latitude (constant here). Positive on the northern hemisphere, negative on the southern.

double precision, dimension(:), allocatable band_grid_class::band_grid::dlon

Variation of latitude inside a cell (constant at a given latitude)

integer, dimension(:), allocatable band_grid_class::band_grid::first_cell

Stores the position of the first cell in the array at each latitude line. Allows for faster access for each cell. It is actually the sum of all previous nb_lon.

integer band_grid_class::band_grid::ghost_cells = 0

Tell us if there are ghost cells in a direction in base 2, north being the lowest indice, west being the fourth.

double precision band_grid_class::band_grid::lat_min = -1.d0

Latitude of the upper north line (in lat-lon plane)

double precision, dimension(:), allocatable band_grid_class::band_grid::lon_min

Longitude of the leftmost cells (in lat-lon plane)

double precision, dimension(:), allocatable band_grid_class::band_grid::mass_air

Air and tracer masses.

double precision, dimension(:), allocatable band_grid_class::band_grid::merid_winds

Winds data (with ghost cells) : current and previous/next for interpolation.

double precision, dimension(:), allocatable band_grid_class::band_grid::merid_winds_next
double precision, dimension(:), allocatable band_grid_class::band_grid::merid_winds_prev
integer, dimension(:), allocatable band_grid_class::band_grid::mpi_ghost_cells

MPI type for ghost cells, that is, for data received from the neighbours. One type for each neighbour.

integer band_grid_class::band_grid::mpi_grid = mpi_datatype_null
integer, dimension(:), allocatable band_grid_class::band_grid::mpi_interior_cells

MPI type for interior cells, that is, for data sent to neighbours. One type for each.

integer band_grid_class::band_grid::mpi_zwinds_east = mpi_datatype_null

For zonal winds (only for analytical winds)

integer band_grid_class::band_grid::mpi_zwinds_west = mpi_datatype_null
integer, dimension(:), allocatable band_grid_class::band_grid::nb_ghosts_east

Number of east ghost cells.

integer, dimension(:), allocatable band_grid_class::band_grid::nb_ghosts_west

Number of west ghost cells.

integer band_grid_class::band_grid::nb_lat = -1

Number of latitudes.

integer, dimension(:), allocatable band_grid_class::band_grid::nb_lon

Number of cells at a given latitude.

integer, dimension(:), allocatable band_grid_class::band_grid::north_offset

Gives the offset of the north neighbour for the first cell in the current latitude line. This will give us the offset between the north neighbour and the current line. Beware, there are only nb_lat - 1.

integer, dimension(:), allocatable band_grid_class::band_grid::south_offset

Same as before, but for south neighbours.

double precision, dimension(:), allocatable band_grid_class::band_grid::t_air

Air temperature(with ghost cells) : current and previous/next for interpolation.

double precision, dimension(:), allocatable band_grid_class::band_grid::t_air_next
double precision, dimension(:), allocatable band_grid_class::band_grid::t_air_prev
type(list_tracers) band_grid_class::band_grid::tracers

All data needed for multiple tracers (see List_Tracers_class)

double precision, dimension(:), allocatable band_grid_class::band_grid::zonal_winds
double precision, dimension(:), allocatable band_grid_class::band_grid::zonal_winds_next
double precision, dimension(:), allocatable band_grid_class::band_grid::zonal_winds_prev

The documentation for this type was generated from the following file: