ocnice_prep  1.13.0
All Data Structures Files Functions Variables Pages
utils_esmf_mod::rotremap Interface Reference

Private Member Functions

subroutine rotremap2d (wdir, vars, cosrot, sinrot, dims, nflds, fields)
 Rotate 2D vectors from EN->IJ and map back to native staggers. More...
 
subroutine rotremap3d (wdir, vars, cosrot, sinrot, dims, nflds, fields)
 Rotate 3D vectors on nlevs from EN->IJ and map back to native staggers. More...
 

Detailed Description

Definition at line 33 of file utils_esmf_mod.F90.

Member Function/Subroutine Documentation

◆ rotremap2d()

subroutine utils_esmf_mod::rotremap::rotremap2d ( character(len=*), intent(in)  wdir,
type(vardefs), dimension(:), intent(in)  vars,
real(kind=8), dimension(:), intent(in)  cosrot,
real(kind=8), dimension(:), intent(in)  sinrot,
integer, dimension(:), intent(in)  dims,
integer, intent(in)  nflds,
real(kind=8), dimension(:,:), intent(inout)  fields 
)
private

Rotate 2D vectors from EN->IJ and map back to native staggers.

Parameters
[in]wdirthe path to the required ESMF regridding weights
[in]cosrotthe cosine of the rotation angle
[in]sinrotthe sine of the rotation angle
[in]varsa structure describing the variable metadata
[in]dimsthe dimensions of the fields
[in]nfldsthe number of fields in the packed array
[out]fieldsthe rotated and mapped fields
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 344 of file utils_esmf_mod.F90.

◆ rotremap3d()

subroutine utils_esmf_mod::rotremap::rotremap3d ( character(len=*), intent(in)  wdir,
type(vardefs), dimension(:), intent(in)  vars,
real(kind=8), dimension(:), intent(in)  cosrot,
real(kind=8), dimension(:), intent(in)  sinrot,
integer, dimension(:), intent(in)  dims,
integer, intent(in)  nflds,
real(kind=8), dimension(:,:,:), intent(inout)  fields 
)
private

Rotate 3D vectors on nlevs from EN->IJ and map back to native staggers.

Parameters
[in]wdirthe path to the required ESMF regridding weights
[in]cosrotthe cosine of the rotation angle
[in]sinrotthe sine of the rotation angle
[in]varsa structure describing the variable metadata
[in]dimsthe dimensions of the fields
[in]nfldsthe number of fields in the packed array
[out]fieldsthe rotated and mapped fields
Author
Denis.nosp@m.e.Wo.nosp@m.rthen.nosp@m.@noa.nosp@m.a.gov

Definition at line 401 of file utils_esmf_mod.F90.


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