source:
NEMO/releases/r4.0/r4.0.4/src/TOP/PISCES/SED/sed_oce.F90
Last change on this file was 10425, checked in by smasson, 6 years ago | |
---|---|
File size: 1.2 KB |
Line | |
---|---|
1 | MODULE sed_oce |
2 | !!====================================================================== |
3 | !! *** sed *** |
4 | !! Sediment : set sediment global variables |
5 | !!====================================================================== |
6 | |
7 | !! History : |
8 | !! ! 06-12 (C. Ethe) Orignal |
9 | !!---------------------------------------------------------------------- |
10 | USE par_sed |
11 | USE trc, ONLY : profsed |
12 | |
13 | IMPLICIT NONE |
14 | PUBLIC |
15 | |
16 | PUBLIC sed_oce_alloc |
17 | |
18 | REAL(wp), PUBLIC, DIMENSION(: ), ALLOCATABLE :: profsedw !: depth of middle of each layer |
19 | |
20 | !! $Id: sed.F90 7646 2017-02-06 09:25:03Z timgraham $ |
21 | CONTAINS |
22 | |
23 | INTEGER FUNCTION sed_oce_alloc() |
24 | !!------------------------------------------------------------------- |
25 | !! *** ROUTINE sed_alloc *** |
26 | !!------------------------------------------------------------------- |
27 | USE lib_mpp, ONLY: ctl_stop |
28 | !!------------------------------------------------------------------- |
29 | ! |
30 | ALLOCATE( profsed(jpksed) , profsedw(jpksed) , STAT=sed_oce_alloc ) |
31 | |
32 | IF( sed_oce_alloc /= 0 ) CALL ctl_stop( 'STOP', 'sed_oce_alloc: failed to allocate arrays' ) |
33 | ! |
34 | END FUNCTION sed_oce_alloc |
35 | |
36 | END MODULE sed_oce |
Note: See TracBrowser
for help on using the repository browser.