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 3182 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/BDY/bdydyn2d.F90 – NEMO

Ignore:
Timestamp:
2011-11-25T12:27:22+01:00 (12 years ago)
Author:
davestorkey
Message:

Change dynamic allocation and add timing to BDY module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/BDY/bdydyn2d.F90

    r3117 r3182  
    1818   !!   bdy_dyn2d_fla    : Apply Flather condition 
    1919   !!---------------------------------------------------------------------- 
     20   USE timing          ! Timing 
    2021   USE oce             ! ocean dynamics and tracers  
    2122   USE dom_oce         ! ocean space and time domain 
     
    8485      !!---------------------------------------------------------------------- 
    8586      ! 
     87      IF( nn_timing == 1 ) CALL timing_start('bdy_dyn2d_frs') 
    8688      ! 
    8789      igrd = 2                      ! Relaxation of zonal velocity 
     
    103105      CALL lbc_lnk( pv2d, 'V', -1. )   ! Boundary points should be updated 
    104106      ! 
     107      IF( nn_timing == 1 ) CALL timing_stop('bdy_dyn2d_frs') 
     108      ! 
    105109 
    106110   END SUBROUTINE bdy_dyn2d_frs 
     
    134138      REAL(wp) ::   zforc                            ! temporary scalar 
    135139      !!---------------------------------------------------------------------- 
     140 
     141      IF( nn_timing == 1 ) CALL timing_start('bdy_dyn2d_fla') 
    136142 
    137143      ! ---------------------------------! 
     
    179185      CALL lbc_lnk( pv2d, 'V', -1. )   ! 
    180186      ! 
     187      IF( nn_timing == 1 ) CALL timing_stop('bdy_dyn2d_fla') 
    181188      ! 
    182189   END SUBROUTINE bdy_dyn2d_fla 
Note: See TracChangeset for help on using the changeset viewer.