/[MITgcm]/MITgcm/pkg/gmredi/gmredi_calc_tensor.F
ViewVC logotype

Diff of /MITgcm/pkg/gmredi/gmredi_calc_tensor.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by adcroft, Wed Jun 21 19:42:54 2000 UTC revision 1.2 by heimbach, Mon Jan 8 20:11:04 2001 UTC
# Line 216  C     Calculate slopes for use in tensor Line 216  C     Calculate slopes for use in tensor
216    
217        RETURN        RETURN
218        END        END
219    
220    
221          SUBROUTINE GMREDI_CALC_TENSOR_DUMMY(
222         I             bi, bj, iMin, iMax, jMin, jMax, K,
223         I             sigmaX, sigmaY, sigmaR,
224         I             myThid )
225    C     /==========================================================\
226    C     | SUBROUTINE GMREDI_CALC_TENSOR                            |
227    C     | o Calculate tensor elements for GM/Redi tensor.          |
228    C     |==========================================================|
229    C     \==========================================================/
230          IMPLICIT NONE
231    
232    C     == Global variables ==
233    #include "SIZE.h"
234    #include "GRID.h"
235    #include "DYNVARS.h"
236    #include "EEPARAMS.h"
237    #include "PARAMS.h"
238    #include "GMREDI.h"
239    
240    C     == Routine arguments ==
241    C
242          _RL sigmaX(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)
243          _RL sigmaY(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)
244          _RL sigmaR(1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)
245          INTEGER bi,bj,iMin,iMax,jMin,jMax,K
246          INTEGER myThid
247    CEndOfInterface
248    
249          INTEGER i, j
250    
251    #ifdef ALLOW_GMREDI
252    
253          DO j=1-Oly+1,sNy+Oly-1
254           DO i=1-Olx+1,sNx+Olx-1
255            Kwx(i,j,k,myThid) = 0.0
256            Kwy(i,j,k,myThid) = 0.0
257            Kwz(i,j,k,myThid) = 0.0
258           ENDDO
259          ENDDO
260    #endif /* ALLOW_GMREDI */
261    
262          end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22