41 |
C tmpfld :: Temporary array used to compute & write Total Depth ; |
C tmpfld :: Temporary array used to compute & write Total Depth ; |
42 |
C loaded in multi-threaded way but written by single (master) |
C loaded in multi-threaded way but written by single (master) |
43 |
C thread => needs to be in common to be shared by all threads |
C thread => needs to be in common to be shared by all threads |
44 |
COMMON / LOCAL_WRITE_GRID / tmpfld |
C no longer needed since MDSIO now allows (2009/06/07) to write local arrays |
45 |
|
c COMMON / LOCAL_WRITE_GRID / tmpfld |
46 |
_RS tmpfld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RS tmpfld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
47 |
_RS tmpVar(Nr+1) |
_RS tmpVar(Nr+1) |
48 |
INTEGER i,j,k,bi,bj |
INTEGER i,j,k,bi,bj |
65 |
ENDDO |
ENDDO |
66 |
ENDDO |
ENDDO |
67 |
ENDDO |
ENDDO |
68 |
_BARRIER |
c _BARRIER |
69 |
|
|
70 |
writegrid_mdsio = .TRUE. |
writegrid_mdsio = .TRUE. |
71 |
#ifdef ALLOW_MNC |
#ifdef ALLOW_MNC |