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 15 for trunk/NEMO/OPA_SRC/oce.F90 – NEMO

Ignore:
Timestamp:
2004-02-17T08:25:44+01:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE001 : First major NEMO update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/oce.F90

    r3 r15  
    11MODULE oce 
    22   !!====================================================================== 
    3    !!             ***  MODULE  oce  *** 
     3   !!                      ***  MODULE  oce  *** 
    44   !! Ocean        :  dynamics and active tracers defined in memory  
    55   !!====================================================================== 
     
    1313 
    1414   IMPLICIT NONE 
     15   PRIVATE 
    1516 
    1617   !! Physics and algorithm flags 
    1718   !! --------------------------- 
    18 #if defined key_vectopt_memory 
    19    LOGICAL ::   l_vopt   = .TRUE.   !: memory vector optimization flag 
    20 #else 
    21    LOGICAL ::   l_vopt   = .FALSE.  !: memory vector optimization flag 
    22 #endif 
    23  
    24    LOGICAL ::   ln_dynhpg_imp   = .FALSE.  ! semi-implicite hpg flag 
     19   LOGICAL, PUBLIC ::   ln_dynhpg_imp   = .FALSE.  !: semi-implicite hpg flag 
    2520 
    2621   !! dynamics and tracer fields 
    2722   !! -------------------------- 
    28    REAL(wp), DIMENSION(jpi,jpj,jpk) ::   & 
     23   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !: 
    2924      ! before !  now      !  after  ! 
    3025      ub       ,  un       ,  ua     ,   &  !: i-horizontal velocity (m/s) 
     
    3530      tb       ,  tn       ,  ta     ,   &  !: potential temperature (celcius) 
    3631      sb       ,  sn       ,  sa            !: salinity (psu) 
    37    REAL(wp), DIMENSION(jpi,jpj,jpk) ::   & 
     32   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !: 
    3833      rhd ,                              &  !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units) 
    3934      rhop,                              &  !: potential volumic mass (kg/m3) 
     
    4237   !! surface pressure gradient 
    4338   !! ------------------------- 
    44    REAL(wp), DIMENSION(jpi,jpj) ::   & 
     39   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !: 
    4540      spgu, spgv             !: horizontal surface pressure gradient 
    4641 
     
    4843   !! interpolated gradient 
    4944   !! --------------------- 
    50    REAL(wp), DIMENSION(jpi,jpj) ::   & 
     45   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !: 
    5146      gtu, gsu, gru,      &  !: t-, s- and rd horizontal gradient at u- and  
    5247      gtv, gsv, grv          !: v-points at bottom ocean level  
    5348#else 
    54    REAL(wp) ::   & 
     49   REAL(wp), PUBLIC ::   &   !: 
    5550      gtu, gsu, gru,      &  !: dummy scalars 
    5651      gtv, gsv, grv          !: 
     
    6055   !! free surface - constant volume formulation 
    6156   !! ------------------------------------------ 
    62    REAL(wp), DIMENSION(jpi,jpj) ::   & 
     57   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !: 
    6358      sshb, sshn,         &  !: before, now sea surface height (meters) 
    6459      hu, hv                 !: depth at u- and v-points (meters) 
    6560# if defined key_obc 
    66    REAL(wp) obcsurftot       !: Total lateral surface of open boundaries 
    67    REAL(wp), DIMENSION(jpi,jpj) ::   & 
     61   REAL(wp), PUBLIC ::    &  !: 
     62      obcsurftot       !: Total lateral surface of open boundaries 
     63   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !: 
    6864      obcumask, obcvmask     !: u-, v- Force filtering mask for the open  
    6965      !                      !  boundary condition on grad D 
     
    7369   !! rigid-lid formulation 
    7470   !! --------------------- 
    75    REAL(wp), DIMENSION(jpi,jpj) ::   & 
     71   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !: 
    7672      hur, hvr,           &  !: inverse of u and v-points ocean depth (1/m) 
    7773      bsfb, bsfn,         &  !: before, now barotropic streamfunction (m3/s) 
Note: See TracChangeset for help on using the changeset viewer.