101 |
nBl = nRd |
nBl = nRd |
102 |
ELSEIF ( nRd+nGr+nBl.EQ.0 ) THEN |
ELSEIF ( nRd+nGr+nBl.EQ.0 ) THEN |
103 |
C- try to get cube size from number of tiles, assuming a regular Cube |
C- try to get cube size from number of tiles, assuming a regular Cube |
104 |
nGr = nTiles*sNx*sNy |
nGr = exch2_nTiles*sNx*sNy |
105 |
tmpVar = FLOAT(nGr)/6. |
tmpVar = FLOAT(nGr)/6. |
106 |
tmpVar = SQRT(tmpVar) |
tmpVar = SQRT(tmpVar) |
107 |
nRd = NINT(tmpVar) |
nRd = NINT(tmpVar) |
113 |
CALL PRINT_MESSAGE( msgBuf, W2_oUnit,SQUEEZE_RIGHT,myThid ) |
CALL PRINT_MESSAGE( msgBuf, W2_oUnit,SQUEEZE_RIGHT,myThid ) |
114 |
ELSE |
ELSE |
115 |
WRITE(msgBuf,'(3(A,I4),A,I10,A,I6,A)') |
WRITE(msgBuf,'(3(A,I4),A,I10,A,I6,A)') |
116 |
& ' nTiles*sNx*sNy=', nTiles, ' x',sNx,' x',sNy,' =',nGr |
& ' nTiles*sNx*sNy=', exch2_nTiles,' x',sNx,' x',sNy,' =',nGr |
117 |
CALL PRINT_MESSAGE( msgBuf, W2_oUnit,SQUEEZE_RIGHT,myThid ) |
CALL PRINT_MESSAGE( msgBuf, W2_oUnit,SQUEEZE_RIGHT,myThid ) |
118 |
WRITE(msgBuf,'(A,I6,A,I10)') |
WRITE(msgBuf,'(A,I6,A,I10)') |
119 |
& ' not equal to: 6 x',nRd,'^2 =', nRd*nRd*6 |
& ' not equal to: 6 x',nRd,'^2 =', nRd*nRd*6 |