File indexing completed on 2023-05-28 05:10:39 UTC
view on githubraw 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
0008
0009
0010
0011
0012
0013
0014 subroutine ACTIVE_WRITE_XY_D(
0015 I active_var_file,
0016 I active_var,
0017 I active_vard,
0018 I iRec,
0019 I myOptimIter,
0020 I myThid,
0021 I dummy,
0022 I dummyd
0023 & )
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 IMPLICIT NONE
0035
0036
0037 #include "SIZE.h"
0038
0039
0040
0041
0042
0043
0044
0045
0046 CHARACTER*(*) active_var_file
0047 Real*8 active_var(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0048 Real*8 active_vard(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0049 INTEGER iRec
0050 INTEGER myOptimIter
0051 INTEGER myThid
0052 Real*8 dummy
0053 Real*8 dummyd
0054
0055
0056 CHARACTER*(2) pref
0057 CHARACTER*(80) fname
0058 INTEGER myNr
0059 LOGICAL globalFile
0060 LOGICAL useCurrentDir
0061
0062
0063 pref = 'g_'
0064 CALL ADD_PREFIX( pref, active_var_file, fname )
0065 myNr = 1
0066 globalFile = .FALSE.
0067 useCurrentDir = .FALSE.
0068
0069 call active_write_3d_rl(
0070 & active_var_file, active_var, globalFile,
0071 & useCurrentDir, iRec, myNr,
0072 & 0, myOptimIter, myThid )
0073
0074 call active_write_3d_rl(
0075 & fname, active_vard, globalFile,
0076 & useCurrentDir, iRec, myNr,
0077 & 2, myOptimIter, myThid )
0078
0079 RETURN
0080 END
0081
0082
0083
0084
0085
0086
0087 subroutine ACTIVE_WRITE_XYZ_D(
0088 I active_var_file,
0089 I active_var,
0090 I active_vard,
0091 I iRec,
0092 I myOptimIter,
0093 I myThid,
0094 I dummy,
0095 I dummyd
0096 & )
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107 IMPLICIT NONE
0108
0109
0110 #include "SIZE.h"
0111
0112
0113
0114
0115
0116
0117
0118
0119 CHARACTER*(*) active_var_file
0120 Real*8 active_var(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0121 Real*8 active_vard(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0122 INTEGER iRec
0123 INTEGER myOptimIter
0124 INTEGER myThid
0125 Real*8 dummy
0126 Real*8 dummyd
0127
0128
0129 CHARACTER*(2) pref
0130 CHARACTER*(80) fname
0131 INTEGER myNr
0132 LOGICAL globalFile
0133 LOGICAL useCurrentDir
0134
0135
0136 pref = 'g_'
0137 CALL ADD_PREFIX( pref, active_var_file, fname )
0138 myNr = Nr
0139 globalFile = .FALSE.
0140 useCurrentDir = .FALSE.
0141
0142 call active_write_3d_rl(
0143 & active_var_file, active_var, globalFile,
0144 & useCurrentDir, iRec, myNr,
0145 & 0, myOptimIter, myThid )
0146
0147 call active_write_3d_rl(
0148 & fname, active_vard, globalFile,
0149 & useCurrentDir, iRec, myNr,
0150 & 2, myOptimIter, myThid )
0151
0152 RETURN
0153 END
0154
0155
0156
0157
0158
0159
0160 subroutine ACTIVE_WRITE_XY_B(
0161 I active_var_file,
0162 I active_var,
0163 U active_varb,
0164 I iRec,
0165 I myOptimIter,
0166 I myThid,
0167 I dummy,
0168 O dummyb
0169 & )
0170
0171
0172
0173
0174
0175
0176
0177
0178
0179
0180 IMPLICIT NONE
0181
0182
0183 #include "SIZE.h"
0184
0185
0186
0187
0188
0189
0190
0191
0192 CHARACTER*(80) active_var_file
0193 Real*8 active_var(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0194 Real*8 active_varb(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0195 INTEGER iRec
0196 INTEGER myOptimIter
0197 INTEGER myThid
0198 Real*8 dummy
0199 Real*8 dummyb
0200
0201
0202 CHARACTER*(2) adpref
0203 CHARACTER*(80) fname
0204 INTEGER myNr
0205 LOGICAL globalFile
0206 LOGICAL useCurrentDir
0207
0208 adpref = 'ad'
0209 CALL ADD_PREFIX( adpref, active_var_file, fname )
0210 myNr = 1
0211 globalFile = .FALSE.
0212 useCurrentDir = .FALSE.
0213 CALL ACTIVE_WRITE_3D_RL(
0214 & fname, active_varb, globalFile,
0215 & useCurrentDir, iRec, myNr,
0216 & 1, myOptimIter, myThid )
0217 RETURN
0218 END
0219
0220
0221
0222
0223
0224
0225 subroutine ACTIVE_WRITE_XYZ_B(
0226 I active_var_file,
0227 I active_var,
0228 U active_varb,
0229 I iRec,
0230 I myOptimIter,
0231 I myThid,
0232 I dummy,
0233 O dummyb
0234 & )
0235
0236
0237
0238
0239
0240
0241
0242
0243
0244
0245 IMPLICIT NONE
0246
0247
0248 #include "SIZE.h"
0249
0250
0251
0252
0253
0254
0255
0256
0257 CHARACTER*(80) active_var_file
0258 Real*8 active_var(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0259 Real*8 active_varb(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0260 INTEGER iRec
0261 INTEGER myOptimIter
0262 INTEGER myThid
0263 Real*8 dummy
0264 Real*8 dummyb
0265
0266
0267 INTEGER ILNBLNK
0268 EXTERNAL ILNBLNK
0269
0270
0271 CHARACTER*(2) adpref
0272 CHARACTER*(80) fname
0273 INTEGER il
0274 INTEGER myNr
0275 LOGICAL globalFile
0276 LOGICAL useCurrentDir
0277
0278 adpref = 'ad'
0279 CALL ADD_PREFIX( adpref, active_var_file, fname )
0280 myNr = Nr
0281 globalFile = .FALSE.
0282 useCurrentDir = .FALSE.
0283 CALL ACTIVE_WRITE_3D_RL(
0284 & fname, active_varb, globalFile,
0285 & useCurrentDir, iRec, myNr,
0286 & 1, myOptimIter, myThid )
0287 RETURN
0288 END