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 7217 for branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2016-11-09T21:27:33+01:00 (7 years ago)
Author:
cbricaud
Message:

CRS branch: code cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/step.F90

    r7204 r7217  
    9393         ! must be done after nemo_init for AGRIF+XIOS+OASIS 
    9494                      CALL iom_init(      cxios_context          )  ! iom_put initialization 
    95          IF( ln_crs ) CALL iom_init( TRIM(cxios_context)//"_crs" )  ! initialize context for coarse grid 
     95         IF( lk_crs ) CALL iom_init( TRIM(cxios_context)//"_crs" )  ! initialize context for coarse grid 
    9696      ENDIF 
    9797 
    9898      IF( kstp /= nit000 )   CALL day( kstp )         ! Calendar (day was already called at nit000 in day_init) 
    9999                             CALL iom_setkt( kstp - nit000 + 1,      cxios_context          )   ! tell iom we are at time step kstp 
    100       IF( ln_crs     )       CALL iom_setkt( kstp - nit000 + 1, TRIM(cxios_context)//"_crs" )   ! tell iom we are at time step kstp 
     100      IF( lk_crs     )       CALL iom_setkt( kstp - nit000 + 1, TRIM(cxios_context)//"_crs" )   ! tell iom we are at time step kstp 
    101101 
    102102      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    236236                            CALL dia_wri( kstp )         ! ocean model: outputs 
    237237      ! 
    238       IF( ln_crs     )      CALL crs_fld( kstp )         ! ocean model: online field coarsening & output 
     238      IF( lk_crs     )      CALL crs_fld( kstp )         ! ocean model: online field coarsening & output 
    239239 
    240240      CALL wrk_alloc( jpi, jpj, jpk, zrhop, zrhd ) 
     
    249249      ! Passive Tracer Model 
    250250      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    251       IF( ln_crs )   THEN 
     251      IF( lk_crs )   THEN 
    252252                         CALL dom_grid_crs 
    253253 
     
    391391      IF( kstp == nitend .OR. indic < 0 ) THEN  
    392392                      CALL iom_context_finalize(      cxios_context          ) ! needed for XIOS+AGRIF 
    393          IF( ln_crs ) CALL iom_context_finalize( trim(cxios_context)//"_crs" ) !  
     393         IF( lk_crs ) CALL iom_context_finalize( trim(cxios_context)//"_crs" ) !  
    394394      ENDIF 
    395395#endif 
Note: See TracChangeset for help on using the changeset viewer.