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 11223 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdy_oce.F90 – NEMO

Ignore:
Timestamp:
2019-07-05T20:53:14+02:00 (5 years ago)
Author:
smasson
Message:

dev_r10984_HPC-13 : cleaning of rewriting of bdydta, see #2285

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdy_oce.F90

    r11191 r11223  
    4242   TYPE, PUBLIC ::   OBC_DATA     !: Storage for external data 
    4343      INTEGER          , DIMENSION(2)   ::  nread 
    44       LOGICAL                           ::  ll_ssh 
    45       LOGICAL                           ::  ll_u2d 
    46       LOGICAL                           ::  ll_v2d 
    47       LOGICAL                           ::  ll_u3d 
    48       LOGICAL                           ::  ll_v3d 
    49       LOGICAL                           ::  ll_tem 
    50       LOGICAL                           ::  ll_sal 
    51       LOGICAL                           ::  ll_fvl 
     44      LOGICAL                           ::  lneed_ssh 
     45      LOGICAL                           ::  lneed_dyn2d 
     46      LOGICAL                           ::  lneed_dyn3d 
     47      LOGICAL                           ::  lneed_tra 
     48      LOGICAL                           ::  lneed_ice 
    5249      REAL(wp), POINTER, DIMENSION(:)   ::  ssh 
    5350      REAL(wp), POINTER, DIMENSION(:)   ::  u2d 
     
    5754      REAL(wp), POINTER, DIMENSION(:,:) ::  tem 
    5855      REAL(wp), POINTER, DIMENSION(:,:) ::  sal 
    59 #if defined key_si3 
    60       LOGICAL                           ::   ll_a_i 
    61       LOGICAL                           ::   ll_h_i 
    62       LOGICAL                           ::   ll_h_s 
    63       REAL(wp), POINTER, DIMENSION(:,:) ::   a_i    !: now ice leads fraction climatology 
    64       REAL(wp), POINTER, DIMENSION(:,:) ::   h_i    !: Now ice  thickness climatology 
    65       REAL(wp), POINTER, DIMENSION(:,:) ::   h_s    !: now snow thickness 
    66 #endif 
     56      REAL(wp), POINTER, DIMENSION(:,:) ::  a_i    !: now ice leads fraction climatology 
     57      REAL(wp), POINTER, DIMENSION(:,:) ::  h_i    !: Now ice  thickness climatology 
     58      REAL(wp), POINTER, DIMENSION(:,:) ::  h_s    !: now snow thickness 
    6759#if defined key_top 
    6860      CHARACTER(LEN=20)                   :: cn_obc  !: type of boundary condition to apply 
     
    8779   ! 
    8880   INTEGER                    ::   nb_bdy                   !: number of open boundary sets 
    89    INTEGER, DIMENSION(jp_bdy) ::   nb_jpk_bdy               !: number of levels in the bdy data (set < 0 if consistent with planned run) 
    9081   INTEGER, DIMENSION(jp_bdy) ::   nn_rimwidth              !: boundary rim width for Flow Relaxation Scheme 
    9182   INTEGER                    ::   nn_volctl                !: = 0 the total volume will have the variability of the surface Flux E-P  
     
    130121   INTEGER,  DIMENSION(jp_bdy)                     ::   nn_dta            !: =0 => *all* data is set to initial conditions 
    131122                                                                          !: =1 => some data to be read in from data files 
    132    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global        !: workspace for reading in global data arrays (unstr.  bdy) 
    133    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global_z      !: workspace for reading in global depth arrays (unstr.  bdy) 
    134    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global_dz     !: workspace for reading in global depth arrays (unstr.  bdy) 
    135    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global2       !: workspace for reading in global data arrays (struct. bdy) 
    136    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global2_z     !: workspace for reading in global depth arrays (struct. bdy) 
    137    REAL(wp), ALLOCATABLE, DIMENSION(:,:,:), TARGET ::   dta_global2_dz    !: workspace for reading in global depth arrays (struct. bdy) 
    138123!$AGRIF_DO_NOT_TREAT 
    139124   TYPE(OBC_INDEX), DIMENSION(jp_bdy), TARGET      ::   idx_bdy           !: bdy indices (local process) 
Note: See TracChangeset for help on using the changeset viewer.