SABER
type_io Module Reference

Subroutines/functions list. More...

Data Types

type  io_type
 

Functions/Subroutines

subroutine io_dealloc (io)
 Release memory. More...
 
subroutine io_init (io, mpl, x, ncx, ncxa, cxa_to_cx, proc_to_cx_offset, order_cxa, lon_cxa, lat_cxa)
 Initialize fields output. More...
 
subroutine io_fld_read_int_r1 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_int_r2 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_int_r3 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_int_r4 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_real_r1 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_real_r2 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_real_r3 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_real_r4 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_logical_r1 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_logical_r2 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_logical_r3 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_read_logical_r4 (io, mpl, ncid, varid, fld_cxa)
 Read field. More...
 
subroutine io_fld_write_int_r1 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_int_r2 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_int_r3 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_int_r4 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_real_r1 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_real_r2 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_real_r3 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_real_r4 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_logical_r1 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_logical_r2 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_logical_r3 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 
subroutine io_fld_write_logical_r4 (io, mpl, ncid, varid, fld_cxa, gmask_cxa)
 Write field. More...
 

Detailed Description

Subroutines/functions list.

Instrumentation functions Generic ranks, dimensions and types I/O derived type

Function/Subroutine Documentation

◆ io_dealloc()

subroutine type_io::io_dealloc ( class(io_type), intent(inout)  io)
private

Release memory.

Parameters
[in,out]ioI/O

Definition at line 196 of file type_io.F90.

◆ io_fld_read_int_r1()

subroutine type_io::io_fld_read_int_r1 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 465 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_int_r2()

subroutine type_io::io_fld_read_int_r2 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 526 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_int_r3()

subroutine type_io::io_fld_read_int_r3 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:,:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 587 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_int_r4()

subroutine type_io::io_fld_read_int_r4 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:,:,:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 648 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_logical_r1()

subroutine type_io::io_fld_read_logical_r1 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 957 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_logical_r2()

subroutine type_io::io_fld_read_logical_r2 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 1018 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_logical_r3()

subroutine type_io::io_fld_read_logical_r3 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:,:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 1079 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_logical_r4()

subroutine type_io::io_fld_read_logical_r4 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:,:,:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 1140 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_real_r1()

subroutine type_io::io_fld_read_real_r1 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 711 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_real_r2()

subroutine type_io::io_fld_read_real_r2 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 772 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_real_r3()

subroutine type_io::io_fld_read_real_r3 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:,:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 833 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_read_real_r4()

subroutine type_io::io_fld_read_real_r4 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:,:,:,:), intent(out)  fld_cxa 
)
private

Read field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[out]fld_cxaField

Definition at line 894 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_int_r1()

subroutine type_io::io_fld_write_int_r1 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:), intent(in)  fld_cxa,
logical, dimension(:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1205 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_int_r2()

subroutine type_io::io_fld_write_int_r2 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:,:), intent(in)  fld_cxa,
logical, dimension(:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1298 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_int_r3()

subroutine type_io::io_fld_write_int_r3 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:,:,:), intent(in)  fld_cxa,
logical, dimension(:,:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1399 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_int_r4()

subroutine type_io::io_fld_write_int_r4 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
integer(kind_int), dimension(:,:,:,:), intent(in)  fld_cxa,
logical, dimension(:,:,:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1508 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_logical_r1()

subroutine type_io::io_fld_write_logical_r1 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:), intent(in)  fld_cxa,
logical, dimension(:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 2049 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_logical_r2()

subroutine type_io::io_fld_write_logical_r2 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:,:), intent(in)  fld_cxa,
logical, dimension(:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 2142 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_logical_r3()

subroutine type_io::io_fld_write_logical_r3 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:,:,:), intent(in)  fld_cxa,
logical, dimension(:,:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 2243 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_logical_r4()

subroutine type_io::io_fld_write_logical_r4 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
logical, dimension(:,:,:,:), intent(in)  fld_cxa,
logical, dimension(:,:,:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 2352 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_real_r1()

subroutine type_io::io_fld_write_real_r1 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:), intent(in)  fld_cxa,
logical, dimension(:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1627 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_real_r2()

subroutine type_io::io_fld_write_real_r2 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:,:), intent(in)  fld_cxa,
logical, dimension(:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1720 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_real_r3()

subroutine type_io::io_fld_write_real_r3 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:,:,:), intent(in)  fld_cxa,
logical, dimension(:,:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1821 of file type_io.F90.

Here is the caller graph for this function:

◆ io_fld_write_real_r4()

subroutine type_io::io_fld_write_real_r4 ( class(io_type), intent(in)  io,
type(mpl_type), intent(inout)  mpl,
integer, intent(in)  ncid,
integer, intent(in)  varid,
real(kind_real), dimension(:,:,:,:), intent(in)  fld_cxa,
logical, dimension(:,:,:,:), intent(in), optional  gmask_cxa 
)
private

Write field.

Parameters
[in]ioI/O
[in,out]mplMPI data
[in]ncidFile/group ID
[in]varidVariable ID
[in]fld_cxaField
[in]gmask_cxaGeographical mask

Definition at line 1930 of file type_io.F90.

Here is the caller graph for this function:

◆ io_init()

subroutine type_io::io_init ( class(io_type), intent(inout)  io,
type(mpl_type), intent(inout)  mpl,
character(len=*), intent(in)  x,
integer, intent(in)  ncx,
integer, intent(in)  ncxa,
integer, dimension(ncxa), intent(in)  cxa_to_cx,
integer, dimension(mpl%nproc), intent(in)  proc_to_cx_offset,
integer, dimension(ncxa), intent(in), optional  order_cxa,
real(kind_real), dimension(ncxa), intent(in), optional  lon_cxa,
real(kind_real), dimension(ncxa), intent(in), optional  lat_cxa 
)
private

Initialize fields output.

Parameters
[in,out]ioI/O
[in,out]mplMPI data
[in]xSubset index
[in]ncxNumber of subset Scx points
[in]ncxaNumber of subset Scx points, halo A
[in]cxa_to_cxSubset Scx, halo A to global
[in]proc_to_cx_offsetProcessor to offset on subset Scx
[in]order_cxaGlobal order on halo A
[in]lon_cxaLongitudes on halo A
[in]lat_cxaLatitudes on halo A

Definition at line 224 of file type_io.F90.