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 2761 for trunk/NEMOGCM/NEMO/TOP_SRC/SED/sedmbc.F90 – NEMO

Ignore:
Timestamp:
2011-05-03T12:49:22+02:00 (13 years ago)
Author:
cetlod
Message:

Changes in sediment model to use with dynamic memory, see ticket #821

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/TOP_SRC/SED/sedmbc.F90

    r2528 r2761  
    2020 
    2121   !! * Module variables 
    22    REAL(wp), DIMENSION(jpsol) :: & 
    23       rain_tot     ,  &      ! 
    24       fromsed_tot  ,  &      !  
    25       tosed_tot    ,  &      ! 
    26       rloss_tot              ! 
    27  
    28    REAL(wp), DIMENSION(jpwat) :: & 
    29       diss_in_tot  ,  &      ! 
    30       diss_out_tot           ! 
    31  
    32    REAL(wp)  :: & 
    33       cons_tot_o2  ,  &      ! 
    34       sour_tot_no3 ,  &      ! 
    35       cons_tot_no3 ,  &      ! 
    36       sour_tot_c13           ! 
    37  
    38    REAL(wp) ::  & 
    39       src13p  , & 
    40       src13ca 
     22   REAL(wp), DIMENSION(jpsol) :: rain_tot      ! total input rain 
     23   REAL(wp), DIMENSION(jpsol) :: fromsed_tot   ! tota input from sediment 
     24   REAL(wp), DIMENSION(jpsol) :: tosed_tot     ! total output from sediment 
     25   REAL(wp), DIMENSION(jpsol) :: rloss_tot     ! total rain loss 
     26 
     27   REAL(wp), DIMENSION(jpwat) :: diss_in_tot   ! total input in pore water 
     28   REAL(wp), DIMENSION(jpwat) :: diss_out_tot  ! total output from pore water 
     29 
     30   REAL(wp)  :: cons_tot_o2                   ! cumulative o2 consomation 
     31   REAL(wp)  :: sour_tot_no3                  ! cumulative no3 source 
     32   REAL(wp)  :: cons_tot_no3                  ! cumulative no3 consomation 
     33   REAL(wp)  :: sour_tot_c13                  ! cumulative o2 source 
     34 
     35   REAL(wp)  :: src13p   
     36   REAL(wp)  :: src13ca   
    4137 
    4238CONTAINS 
     
    6056 
    6157      !! Arguments 
    62       INTEGER, INTENT(in) :: & 
    63          kt 
     58      INTEGER, INTENT(in) :: kt     ! time step 
    6459 
    6560      !! local declarations 
    66       INTEGER  :: & 
    67          ji, js, jw, jk 
    68  
    69       REAL(wp) ::  & 
    70          zinit, zfinal, & 
    71          zinput, zoutput 
    72  
    73       REAL(wp) ::  & 
    74          zdsw, zvol 
    75  
    76       REAL, DIMENSION(jpsol) ::  & 
    77          zsolcp_inv_i, zsolcp_inv_f 
    78  
    79       REAL, DIMENSION(jpwat) ::  & 
    80          zpwcp_inv_i, zpwcp_inv_f 
    81         
    82       REAL(wp) :: & 
    83          zdelta_sil, zdelta_clay, & 
    84          zdelta_co2, zdelta_oxy,  & 
    85          zdelta_po4, zdelta_no3,  & 
    86          zdelta_c13, zdelta_c13b 
     61      INTEGER  :: ji,js, jw, jk 
     62      REAL(wp) :: zinit, zfinal  
     63      REAL(wp) :: zinput, zoutput 
     64      REAL(wp) :: zdsw, zvol 
     65      REAL, DIMENSION(jpsol) :: zsolcp_inv_i, zsolcp_inv_f 
     66      REAL, DIMENSION(jpwat) :: zpwcp_inv_i, zpwcp_inv_f 
     67      REAL(wp) ::  zdelta_sil, zdelta_clay 
     68      REAL(wp) ::  zdelta_co2, zdelta_oxy 
     69      REAL(wp) ::  zdelta_po4, zdelta_no3 
     70      REAL(wp) ::  zdelta_c13, zdelta_c13b 
    8771 
    8872      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.