ocnice_prep  1.13.0
All Data Structures Files Functions Variables Pages
utils_mod::packarrays Interface Reference

Private Member Functions

subroutine packarrays2d (filesrc, wgtsdir, cosrot, sinrot, vars, dims, nflds, fields)
 Pack 2D fields into arrays by mapping type. More...
 
subroutine packarrays3d (filesrc, wgtsdir, cosrot, sinrot, vars, dims, nflds, fields)
 Pack 3D fields into arrays by mapping type. More...
 

Detailed Description

Definition at line 22 of file utils_mod.F90.

Member Function/Subroutine Documentation

◆ packarrays2d()

subroutine utils_mod::packarrays::packarrays2d ( character(len=*), intent(in)  filesrc,
character(len=*), intent(in)  wgtsdir,
real(kind=8), dimension(:), intent(in)  cosrot,
real(kind=8), dimension(:), intent(in)  sinrot,
type(vardefs), dimension(:), intent(in)  vars,
integer, dimension(:), intent(in)  dims,
integer, intent(in)  nflds,
real(kind=8), dimension(:,:), intent(out)  fields 
)
private

Pack 2D fields into arrays by mapping type.

Parameters
[in]filesrcthe file containing the fields to retrieve
[in]wgtsdirthe path to the required ESMF regridding weights
[in]cosrotthe cosine of the rotation angle
[in]sinrotthe sine of the rotation angle
[in]varsthe typedefs for this packed array
[in]dimsthe dimensions of the fields in the packed array
[in]nfldsthe number of fields in the packed array
[out]fieldsthe packed array
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 65 of file utils_mod.F90.

◆ packarrays3d()

subroutine utils_mod::packarrays::packarrays3d ( character(len=*), intent(in)  filesrc,
character(len=*), intent(in)  wgtsdir,
real(kind=8), dimension(:), intent(in)  cosrot,
real(kind=8), dimension(:), intent(in)  sinrot,
type(vardefs), dimension(:), intent(in)  vars,
integer, dimension(:), intent(in)  dims,
integer, intent(in)  nflds,
real(kind=8), dimension(:,:,:), intent(out)  fields 
)
private

Pack 3D fields into arrays by mapping type.

Parameters
[in]filesrcthe file containing the fields to retrieve
[in]wgtsdirthe path to the required ESMF regridding weights
[in]cosrotthe cosine of the rotation angle
[in]sinrotthe sine of the rotation angle
[in]varsthe typedefs for this packed array
[in]dimsthe dimensions of the fields in the packed array
[in]nfldsthe number of fields in the packed array
[out]fieldsthe packed array
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 127 of file utils_mod.F90.


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