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 4015 for branches/2013/dev_r3940_CNRS4_IOCRS/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90 – NEMO

Ignore:
Timestamp:
2013-09-09T12:13:17+02:00 (11 years ago)
Author:
cetlod
Message:

2013/dev_r3940_CNRS4_IOCRS: 1st step, add new routines for outputs coarsening

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3940_CNRS4_IOCRS/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90

    r3851 r4015  
    1010   !!            3.5  ! 2012     (S. Mocavero, I. Epicoco) Add arrays associated 
    1111   !!                             to the optimization of BDY communications 
     12   !!            3.6  !  2013     ( J. Simeon, C. Calone, G. Madec, C. Ethe ) Online coarsening of outputs 
    1213   !!---------------------------------------------------------------------- 
    1314 
     
    4243   INTEGER , PUBLIC ::   nn_baro      =   64       !: number of barotropic time steps (key_dynspg_ts) 
    4344   INTEGER , PUBLIC ::   nn_closea    =    0       !: =0 suppress closed sea/lake from the ORCA domain or not (=1) 
     45   LOGICAL , PUBLIC ::   ln_crs       = .FALSE.    !: Apply grid coarsening to dynamical model output or online passive tracers 
    4446 
    4547   !                                    !! old non-DOCTOR names still used in the model 
     
    195197   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: tmask, umask, vmask, fmask   !: land/ocean mask at T-, U-, V- and F-pts 
    196198 
    197    REAL(wp), PUBLIC, DIMENSION(jpiglo) ::  tpol, fpol          !: north fold mask (jperio= 3 or 4) 
     199   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:)     :: tpol, fpol          !: north fold mask (jperio= 3 or 4) 
    198200 
    199201#if defined key_noslip_accurate 
     
    264266   INTEGER FUNCTION dom_oce_alloc() 
    265267      !!---------------------------------------------------------------------- 
    266       INTEGER, DIMENSION(11) :: ierr 
     268      INTEGER, DIMENSION(12) :: ierr 
    267269      !!---------------------------------------------------------------------- 
    268270      ierr(:) = 0 
     
    311313         &      vmask(jpi,jpj,jpk) , fmask(jpi,jpj,jpk), STAT=ierr(10) ) 
    312314 
     315      ALLOCATE( tpol(jpiglo)       , fpol(jpiglo)      , STAT=ierr(11) ) 
     316 
    313317#if defined key_noslip_accurate 
    314       ALLOCATE( npcoa(4,jpk), nicoa(2*(jpi+jpj),4,jpk), njcoa(2*(jpi+jpj),4,jpk), STAT=ierr(11) ) 
     318      ALLOCATE( npcoa(4,jpk), nicoa(2*(jpi+jpj),4,jpk), njcoa(2*(jpi+jpj),4,jpk), STAT=ierr(12) ) 
    315319#endif 
    316320      ! 
Note: See TracChangeset for help on using the changeset viewer.