New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 78 for trunk/NEMO/OPA_SRC/DYN – NEMO

Changeset 78 for trunk/NEMO/OPA_SRC/DYN


Ignore:
Timestamp:
2004-04-22T14:54:25+02:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE052 : change logical lpXXXobc to lp_obc_XXX for Open Boundaries case

Location:
trunk/NEMO/OPA_SRC/DYN
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/divcur.F90

    r3 r78  
    123123         ! open boundaries (div must be zero behind the open boundary) 
    124124         !  mpp remark: The zeroing of hdivn can probably be extended to 1->jpi/jpj for the correct row/column 
    125          IF( lpeastobc  )   hdivn(nie0p1:nie1p1,nje0  :nje1  ,jk) = 0.e0      ! east 
    126          IF( lpwestobc  )   hdivn(niw0  :niw1  ,njw0  :njw1  ,jk) = 0.e0      ! west 
    127          IF( lpnorthobc )   hdivn(nin0  :nin1  ,njn0p1:njn1p1,jk) = 0.e0      ! north 
    128          IF( lpsouthobc )   hdivn(nis0  :nis1  ,njs0  :njs1  ,jk) = 0.e0      ! south 
     125         IF( lp_obc_east  )   hdivn(nie0p1:nie1p1,nje0  :nje1  ,jk) = 0.e0      ! east 
     126         IF( lp_obc_west  )   hdivn(niw0  :niw1  ,njw0  :njw1  ,jk) = 0.e0      ! west 
     127         IF( lp_obc_north )   hdivn(nin0  :nin1  ,njn0p1:njn1p1,jk) = 0.e0      ! north 
     128         IF( lp_obc_south )   hdivn(nis0  :nis1  ,njs0  :njs1  ,jk) = 0.e0      ! south 
    129129#endif          
    130130 
     
    319319         ! open boundaries (div must be zero behind the open boundary) 
    320320         !  mpp remark: The zeroing of hdivn can probably be extended to 1->jpi/jpj for the correct row/column 
    321          IF( lpeastobc  )   hdivn(nie0p1:nie1p1,nje0  :nje1  ,jk) = 0.e0      ! east 
    322          IF( lpwestobc  )   hdivn(niw0  :niw1  ,njw0  :njw1  ,jk) = 0.e0      ! west 
    323          IF( lpnorthobc )   hdivn(nin0  :nin1  ,njn0p1:njn1p1,jk) = 0.e0      ! north 
    324          IF( lpsouthobc )   hdivn(nis0  :nis1  ,njs0  :njs1  ,jk) = 0.e0      ! south 
     321         IF( lp_obc_east  )   hdivn(nie0p1:nie1p1,nje0  :nje1  ,jk) = 0.e0      ! east 
     322         IF( lp_obc_west  )   hdivn(niw0  :niw1  ,njw0  :njw1  ,jk) = 0.e0      ! west 
     323         IF( lp_obc_north )   hdivn(nin0  :nin1  ,njn0p1:njn1p1,jk) = 0.e0      ! north 
     324         IF( lp_obc_south )   hdivn(nis0  :nis1  ,njs0  :njs1  ,jk) = 0.e0      ! south 
    325325#endif          
    326326         !                                             ! -------- 
  • trunk/NEMO/OPA_SRC/DYN/dynspg_rl.F90

    r31 r78  
    6969      !!      gradient or a successive-over-relaxation method (depending 
    7070      !!      on nsolv, a namelist parameter). 
    71       !!         -3- add to bsfd the island trends if l_isl=T 
     71      !!         -3- add to bsfd the island trends if lk_isl=T 
    7272      !!         -4- compute the after streamfunction is for further diagnos- 
    7373      !!      tics using a leap-frog scheme. 
     
    247247      ! ----------------------------------- 
    248248 
    249       IF( l_isl )   CALL isl_dyn_spg         ! update bsfd 
     249      IF( lk_isl )   CALL isl_dyn_spg         ! update bsfd 
    250250 
    251251 
     
    253253      ! Compute bsf trend for OBC points (not masked) 
    254254 
    255       IF( lpeastobc ) THEN 
     255      IF( lp_obc_east ) THEN 
    256256      ! compute bsf trend at the boundary from bsfeob, computed in obc_spg 
    257257      IF( neuler == 0 .AND. kt == nit000 ) THEN 
     
    268268      ENDIF 
    269269 
    270       IF( lpwestobc ) THEN 
     270      IF( lp_obc_west ) THEN 
    271271      ! compute bsf trend at the boundary from bsfwob, computed in obc_spg 
    272272      IF( neuler == 0 .AND. kt == nit000 ) THEN 
     
    283283      ENDIF 
    284284 
    285       IF( lpnorthobc ) THEN 
     285      IF( lp_obc_north ) THEN 
    286286      ! compute bsf trend at the boundary from bsfnob, computed in obc_spg 
    287287      IF( neuler == 0 .AND. kt == nit000 ) THEN 
     
    298298      ENDIF 
    299299 
    300       IF( lpsouthobc ) THEN 
     300      IF( lp_obc_south ) THEN 
    301301      ! compute bsf trend at the boundary from bsfsob, computed in obc_spg 
    302302      IF( neuler == 0 .AND. kt == nit000 ) THEN 
     
    366366# if defined key_obc 
    367367      ! Swap of boundary arrays 
    368       IF( lpeastobc ) THEN 
     368      IF( lp_obc_east ) THEN 
    369369      ! (jped,jpef),nieob 
    370370      IF( kt < nit000+3 .AND. .NOT.ln_rstart ) THEN 
     
    400400      ENDIF 
    401401 
    402       IF( lpwestobc ) THEN 
     402      IF( lp_obc_west ) THEN 
    403403      ! (jpwd,jpwf),niwob 
    404404      IF( kt < nit000+3 .AND. .NOT.ln_rstart ) THEN 
     
    434434      ENDIF 
    435435 
    436       IF( lpnorthobc ) THEN 
     436      IF( lp_obc_north ) THEN 
    437437   ! njnob,(jpnd,jpnf) 
    438438      IF( kt < nit000 + 3 .AND. .NOT.ln_rstart ) THEN 
     
    468468      ENDIF 
    469469 
    470       IF( lpsouthobc ) THEN 
     470      IF( lp_obc_south ) THEN 
    471471         ! njsob,(jpsd,jpsf) 
    472472         IF( kt < nit000+3 .AND. .NOT.ln_rstart ) THEN 
Note: See TracChangeset for help on using the changeset viewer.