** Warning **
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=MITgcm at /usr/local/share/lxr/lib/LXR/Common.pm line 1224.
Last-Modified: Tue, 17 Nov 2025 06:09:02 GMT
Content-Type: text/html; charset=utf-8
MITgcm/MITgcm/pkg/exch2/exch2_rs2_cube_b.F
File indexing completed on 2023-05-28 05:10:12 UTC
view on github raw file Latest commit b4daa243 on 2023-05-28 03:53:22 UTC
b4daa24319 Shre* 0001 #include "CPP_EEOPTIONS.h "
0002
0003
0004
0005
0006
0007 SUBROUTINE EXCH2_RS2_CUBE_B (
0008 U array1 , array1b ,
0009 U array2 , array2b ,
0010 I signOption , fieldCode ,
0011 I myOLw , myOLe , myOLs , myOLn , myNz ,
0012 I exchWidthX , exchWidthY ,
0013 I cornerMode , myThid )
0014
0015
0016
0017
0018
0019
0020
0021 IMPLICIT NONE
0022
0023
0024 #include "SIZE.h "
0025 #include "EEPARAMS.h "
0026 #include "EESUPPORT.h "
0027 #include "W2_EXCH2_SIZE.h "
0028 #include "W2_EXCH2_TOPOLOGY.h "
0029 #include "W2_EXCH2_BUFFER.h "
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 INTEGER myOLw , myOLe , myOLs , myOLn , myNz
0044 _RS array1 (1-myOLw :sNx +myOLe ,
0045 & 1-myOLs :sNy +myOLn ,
0046 & myNz , nSx , nSy )
0047 _RS array2 (1-myOLw :sNx +myOLe ,
0048 & 1-myOLs :sNy +myOLn ,
0049 & myNz , nSx , nSy )
0050 _RS array1b (1-myOLw :sNx +myOLe ,
0051 & 1-myOLs :sNy +myOLn ,
0052 & myNz , nSx , nSy )
0053 _RS array2b (1-myOLw :sNx +myOLe ,
0054 & 1-myOLs :sNy +myOLn ,
0055 & myNz , nSx , nSy )
0056 LOGICAL signOption
0057 CHARACTER *2 fieldCode
0058 INTEGER exchWidthX
0059 INTEGER exchWidthY
0060 INTEGER cornerMode
0061 INTEGER myThid
0062
0063
0064
0065 CALL EXCH2_RS2_CUBE_AD(
0066 U array1b , array2b ,
0067 I signOption , fieldCode ,
0068 I myOLw , myOLe , myOLs , myOLn , myNz ,
0069 I exchWidthX , exchWidthY ,
0070 I cornerMode , myThid )
0071 RETURN
0072 END