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 1790 for branches/dev_005_AWL/NEMO/NST_SRC – NEMO

Ignore:
Timestamp:
2009-12-09T09:29:24+01:00 (15 years ago)
Author:
sga
Message:

correct logic: no forcing in outer model is probably not good, NEMO branch dev_005_AWL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_005_AWL/NEMO/NST_SRC/agrif_nolim_interp.F90

    r1789 r1790  
    3434   PUBLIC agrif_nolim_extrap 
    3535 
    36    LOGICAL, PUBLIC                ::   lk_nolim_nst = .TRUE. 
     36   LOGICAL, PUBLIC                ::   lk_nolim_nst 
    3737   INTEGER, PARAMETER             ::   jp_nst = 10  ! maximum number of grids to remember 
    3838   INTEGER                        ::   mp_nst       ! number of grids remembered 
     
    7777 
    7878      !!---------------------------------------------------------------------- 
     79 
     80      ! logical is always true in a nest by definition, 
     81      ! it is true in the outer model only if there is a nest present 
     82 
     83      lk_nolim_nst = .TRUE. 
    7984 
    8085      IF( .NOT. Agrif_Root() ) RETURN 
     
    144149  100 CONTINUE 
    145150 
    146       !  only set logical if we have any nests to run with 
    147       lk_nolim_nst = .FALSE. 
    148       IF( mp_nst > 0 ) lk_nolim_nst = .TRUE. 
     151      !  unset logical if we have don't any nests to run with 
     152      ! 
     153      IF( mp_nst == 0 ) lk_nolim_nst = .FALSE. 
    149154 
    150155   END SUBROUTINE agrif_nolim_init 
Note: See TracChangeset for help on using the changeset viewer.