/[MITgcm]/MITgcm/model/src/dynamics.F
ViewVC logotype

Diff of /MITgcm/model/src/dynamics.F

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

revision 1.154 by heimbach, Sat Feb 26 00:42:26 2011 UTC revision 1.158 by jmc, Wed Jun 8 01:21:14 2011 UTC
# Line 96  C     == Global variables === Line 96  C     == Global variables ===
96  #  include "PTRACERS_FIELDS.h"  #  include "PTRACERS_FIELDS.h"
97  # endif  # endif
98  # ifdef ALLOW_OBCS  # ifdef ALLOW_OBCS
99  #  include "OBCS.h"  #  include "OBCS_FIELDS.h"
100  #  ifdef ALLOW_PTRACERS  #  ifdef ALLOW_PTRACERS
101  #   include "OBCS_PTRACERS.h"  #   include "OBCS_PTRACERS.h"
102  #  endif  #  endif
# Line 560  C Line 560  C
560       I         guDissip, gvDissip,       I         guDissip, gvDissip,
561       I         myTime, myIter, myThid)       I         myTime, myIter, myThid)
562    
 #ifdef   ALLOW_OBCS  
 C--      Apply open boundary conditions  
 c          IF (useOBCS) THEN  
 c            CALL OBCS_APPLY_UV( bi, bj, k, gU, gV, myThid )  
 c          ENDIF  
 #endif   /* ALLOW_OBCS */  
   
563           ENDIF           ENDIF
564    
565  C--     end of dynamics k loop (1:Nr)  C--     end of dynamics k loop (1:Nr)
# Line 606  CADJ STORE gV(:,:,:,bi,bj) = comlev1_bib Line 599  CADJ STORE gV(:,:,:,bi,bj) = comlev1_bib
599    
600  #ifdef   ALLOW_OBCS  #ifdef   ALLOW_OBCS
601  C--      Apply open boundary conditions  C--      Apply open boundary conditions
 c       IF ( useOBCS .AND.(implicitViscosity.OR.momImplVertAdv) ) THEN  
 c          DO K=1,Nr  
 c            CALL OBCS_APPLY_UV( bi, bj, k, gU, gV, myThid )  
 c          ENDDO  
602          IF ( useOBCS ) THEN          IF ( useOBCS ) THEN
603            CALL OBCS_APPLY_UV( bi, bj, 0, gU, gV, myThid )            CALL OBCS_APPLY_UV( bi, bj, 0, gU, gV, myThid )
604          ENDIF          ENDIF
# Line 664  C-    end of bi,bj loops Line 653  C-    end of bi,bj loops
653    
654  #ifdef ALLOW_OBCS  #ifdef ALLOW_OBCS
655        IF (useOBCS) THEN        IF (useOBCS) THEN
656         CALL OBCS_PRESCRIBE_EXCHANGES(myThid)          CALL OBCS_EXCHANGES( myThid )
657        ENDIF        ENDIF
658  #endif  #endif
659    
# Line 693  Cml) Line 682  Cml)
682  #endif /* ALLOW_DIAGNOSTICS */  #endif /* ALLOW_DIAGNOSTICS */
683    
684  #ifdef ALLOW_DEBUG  #ifdef ALLOW_DEBUG
685        IF ( debugLevel .GE. debLevB ) THEN        IF ( debugLevel .GE. debLevD ) THEN
686         CALL DEBUG_STATS_RL(1,EtaN,'EtaN (DYNAMICS)',myThid)         CALL DEBUG_STATS_RL(1,EtaN,'EtaN (DYNAMICS)',myThid)
687         CALL DEBUG_STATS_RL(Nr,uVel,'Uvel (DYNAMICS)',myThid)         CALL DEBUG_STATS_RL(Nr,uVel,'Uvel (DYNAMICS)',myThid)
688         CALL DEBUG_STATS_RL(Nr,vVel,'Vvel (DYNAMICS)',myThid)         CALL DEBUG_STATS_RL(Nr,vVel,'Vvel (DYNAMICS)',myThid)
# Line 717  Cml) Line 706  Cml)
706  C- jmc: For safety checking only: This Exchange here should not change  C- jmc: For safety checking only: This Exchange here should not change
707  C       the solution. If solution changes, it means something is wrong,  C       the solution. If solution changes, it means something is wrong,
708  C       but it does not mean that it is less wrong with this exchange.  C       but it does not mean that it is less wrong with this exchange.
709        IF ( debugLevel .GT. debLevB ) THEN        IF ( debugLevel .GE. debLevE ) THEN
710         CALL EXCH_UV_XYZ_RL(gU,gV,.TRUE.,myThid)         CALL EXCH_UV_XYZ_RL(gU,gV,.TRUE.,myThid)
711        ENDIF        ENDIF
712  #endif  #endif

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.158

  ViewVC Help
Powered by ViewVC 1.1.22