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

Ignore:
Timestamp:
2009-12-08T16:17:43+01:00 (15 years ago)
Author:
sga
Message:

add a logical so that code can be run with nolim key set, but zero nests, NEMO branch dev_005_AWL

File:
1 edited

Legend:

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

    r1788 r1789  
    3434   PUBLIC agrif_nolim_extrap 
    3535 
     36   LOGICAL, PUBLIC                ::   lk_nolim_nst = .TRUE. 
    3637   INTEGER, PARAMETER             ::   jp_nst = 10  ! maximum number of grids to remember 
    3738   INTEGER                        ::   mp_nst       ! number of grids remembered 
     
    142143 
    143144  100 CONTINUE 
     145 
     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. 
    144149 
    145150   END SUBROUTINE agrif_nolim_init 
     
    474479 
    475480#else 
     481   ! 
     482   LOGICAL, PUBLIC                ::   lk_nolim_nst = .FALSE. 
     483   ! 
    476484CONTAINS 
    477    SUBROUTINE Agrif_flx_Interp_empty 
     485   SUBROUTINE agrif_nolim_init( ) 
    478486      !!--------------------------------------------- 
    479       !!   *** ROUTINE agrif_flx_Interp_empty *** 
     487      !!   *** ROUTINE agrif_nolim_init *** 
    480488      !!--------------------------------------------- 
    481       WRITE(*,*)  'agrif_flx_interp : You should not have seen this print! error?' 
    482    END SUBROUTINE Agrif_flx_Interp_empty 
     489      WRITE(*,*)  'agrif_nolim_init : You should not have seen this print! error?' 
     490   END SUBROUTINE agrif_nolim_init 
     491   SUBROUTINE agrif_nolim_extrap( ) 
     492      !!--------------------------------------------- 
     493      !!   *** ROUTINE agrif_nolim_extrap  *** 
     494      !!--------------------------------------------- 
     495      WRITE(*,*)  'agrif_nolim_extrap : You should not have seen this print! error?' 
     496   END SUBROUTINE agrif_nolim_extrap 
     497   SUBROUTINE agrif_nolim_flx( ) 
     498      !!--------------------------------------------- 
     499      !!   *** ROUTINE agrif_nolim_flx  *** 
     500      !!--------------------------------------------- 
     501      WRITE(*,*)  'agrif_nolim_flx : You should not have seen this print! error?' 
     502   END SUBROUTINE agrif_nolim_flx 
    483503#endif 
    484504   !!====================================================================== 
Note: See TracChangeset for help on using the changeset viewer.