Changeset 1312 for trunk/NEMO/OPA_SRC
- Timestamp:
- 2009-02-16T17:35:36+01:00 (15 years ago)
- Location:
- trunk/NEMO/OPA_SRC
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DIA/diagap.F90
r1310 r1312 153 153 ! Define frequency of output and means 154 154 zsto = ngap * zdt 155 clop = "ave(x)" 155 IF( ln_mskland ) THEN ; clop = "ave(only(x))" ! put 1.e+20 on land (very expensive!!) 156 ELSE ; clop = "ave(x)" ! no use of the mask value (require less cpu time) 157 ENDIF 156 158 zout = ngap * zdt 157 159 zmax = FLOAT( nitend - nit000 + 1 ) * zdt -
trunk/NEMO/OPA_SRC/DIA/diaptr.F90
r1310 r1312 426 426 zdt = rdt 427 427 IF( nacc == 1 ) zdt = rdtmin 428 IF( ln_mskland ) THEN ; clop = "only(x)" ! put 1.e+20 on land (very expensive!!) 429 ELSE ; clop = "x" ! no use of the mask value (require less cpu time) 430 ENDIF 428 431 #if defined key_diainstant 429 zsto = nf_ptr * zdt 430 clop = "inst(x)" ! no use of the mask value (require less cpu time) 431 !!! clop="inst(only(x))" ! put 1.e+20 on land (very expensive!!) 432 zsto = nf_ptr * zdt 433 clop = "inst("//TRIM(clop)//")" 432 434 #else 433 zsto = zdt 434 clop = "ave(x)" ! no use of the mask value (require less cpu time) 435 !!! clop="ave(only(x))" ! put 1.e+20 on land (very expensive!!) 435 zsto=zdt 436 clop = "ave("//TRIM(clop)//")" 436 437 #endif 437 438 zout = nf_ptr * zdt -
trunk/NEMO/OPA_SRC/DIA/diawri.F90
r1310 r1312 129 129 zdt = rdt 130 130 IF( nacc == 1 ) zdt = rdtmin 131 IF( ln_mskland ) THEN ; clop = "only(x)" ! put 1.e+20 on land (very expensive!!) 132 ELSE ; clop = "x" ! no use of the mask value (require less cpu time) 133 ENDIF 131 134 #if defined key_diainstant 132 135 zsto = nwrite * zdt 133 clop = "inst(x)" ! no use of the mask value (require less cpu time) 134 !!! clop="inst(only(x))" ! put 1.e+20 on land (very expensive!!) 136 clop = "inst("//TRIM(clop)//")" 135 137 #else 136 138 zsto=zdt 137 clop="ave(x)" ! no use of the mask value (require less cpu time) 138 !!! clop="ave(only(x))" ! put 1.e+20 on land (very expensive!!) 139 clop = "ave("//TRIM(clop)//")" 139 140 #endif 140 141 zout = nwrite * zdt -
trunk/NEMO/OPA_SRC/DOM/domain.F90
r1241 r1312 142 142 NAMELIST/namrun/ no , cexper, cn_ocerst_in, cn_ocerst_out, ln_rstart, nrstdt, & 143 143 & nit000, nitend, ndate0 , nleapy , ninist , nstock, & 144 & nwrite, ln_dimgnnn 144 & nwrite, ln_dimgnnn, ln_mskland 145 145 146 146 NAMELIST/namdom/ ntopo , e3zps_min, e3zps_rat, nmsh , & … … 174 174 WRITE(numout,*) ' frequency of output file nwrite = ', nwrite 175 175 WRITE(numout,*) ' multi file dimgout ln_dimgnnn = ', ln_dimgnnn 176 WRITE(numout,*) ' mask land points ln_mskland = ', ln_mskland 176 177 ENDIF 177 178 -
trunk/NEMO/OPA_SRC/IOM/in_out_manager.F90
r1239 r1312 39 39 LOGICAL :: ln_dimgnnn = .FALSE. !: type of dimgout. (F): 1 file for all proc 40 40 !: (T): 1 file per proc 41 LOGICAL :: ln_mskland = .FALSE. !: mask land points in NetCDF outputs (costly: + ~15%) 41 42 !!---------------------------------------------------------------------- 42 43 !! was in restart but moved here because of the OFF line... better solution should be found... -
trunk/NEMO/OPA_SRC/TRD/trdmld.F90
r1310 r1312 824 824 ! II.1 Define frequency of output and means 825 825 ! ----------------------------------------- 826 IF( ln_mskland ) THEN ; clop = "only(x)" ! put 1.e+20 on land (very expensive!!) 827 ELSE ; clop = "x" ! no use of the mask value (require less cpu time) 828 ENDIF 826 829 # if defined key_diainstant 827 830 IF( .NOT. ln_trdmld_instant ) THEN … … 829 832 END IF 830 833 zsto = ntrd * rdt 831 clop = "inst(only(x))"834 clop = "inst("//TRIM(clop)//")" 832 835 # else 833 836 IF( ln_trdmld_instant ) THEN … … 836 839 zsto = ntrd * rdt ! mean diags : we DO NOT use any IOIPSL time averaging 837 840 END IF 838 clop = "ave(only(x))"841 clop = "ave("//TRIM(clop)//")" 839 842 # endif 840 843 zout = ntrd * rdt -
trunk/NEMO/OPA_SRC/TRD/trdvor.F90
r1310 r1312 539 539 ! II.1 Define frequency of output and means 540 540 ! ----------------------------------------- 541 IF( ln_mskland ) THEN ; clop = "only(x)" ! put 1.e+20 on land (very expensive!!) 542 ELSE ; clop = "x" ! no use of the mask value (require less cpu time) 543 ENDIF 541 544 #if defined key_diainstant 542 545 zsto = nwrite*rdt 543 clop = "inst(x)"546 clop = "inst("//TRIM(clop)//")" 544 547 #else 545 548 zsto = rdt 546 clop = "ave(x)"549 clop = "ave("//TRIM(clop)//")" 547 550 #endif 548 551 zout = ntrd*rdt
Note: See TracChangeset
for help on using the changeset viewer.