88 integer,
allocatable ::
idsed(:)
89 integer,
allocatable ::
idmud(:)
90 integer,
allocatable ::
isand(:)
98#if defined COHESIVE_BED || defined SED_BIODIFF || defined MIXED_BED
101 integer,
parameter ::
mbedp = 4
107#elif defined COHESIVE_BED || defined SED_BIODIFF
108 integer,
parameter ::
mbotp = 26
110 integer,
parameter ::
mbotp = 18
120#if defined COHESIVE_BED || defined SED_BIODIFF || defined MIXED_BED
142#if defined COHESIVE_BED || defined SED_BIODIFF || defined MIXED_BED
171 real(r8),
allocatable ::
csed(:,:)
173 real(r8),
allocatable ::
sd50(:,:)
174 real(r8),
allocatable ::
srho(:,:)
175 real(r8),
allocatable ::
wsed(:,:)
181#if defined COHESIVE_BED || defined MIXED_BED
209 real(r8),
parameter :: IniVal = 0.0_r8
235#if defined COHESIVE_BED || defined MIXED_BED
236 IF (.not.
allocated(
tcr_min))
THEN
242 IF (.not.
allocated(
tcr_max))
THEN
248 IF (.not.
allocated(
tcr_slp))
THEN
254 IF (.not.
allocated(
tcr_off))
THEN
260 IF (.not.
allocated(
tcr_tim))
THEN
268 IF (.not.
allocated(
transc))
THEN
274 IF (.not.
allocated(
transn))
THEN
283 IF (.not.
allocated(
idsed))
THEN
288 IF (.not.
allocated(
idmud))
THEN
293 IF (.not.
allocated(
isand))
THEN
298 IF (.not.
allocated(
idbmas))
THEN
303 IF (.not.
allocated(
idfrac))
THEN
308 IF (.not.
allocated(
idubld))
THEN
313 IF (.not.
allocated(
idvbld))
THEN
real(r8), dimension(:), allocatable dmem
integer, dimension(:), allocatable idubld
real(r8), dimension(:), allocatable bedload_coeff
real(r8), dimension(:,:), allocatable erate
integer, dimension(mbedp) idsbed
real(r8), dimension(:,:), allocatable tau_cd
real(r8), dimension(:,:), allocatable srho
integer, dimension(:), allocatable idsed
integer, dimension(:), allocatable isand
subroutine initialize_sediment
real(r8), dimension(:), allocatable tcr_max
integer, dimension(:), allocatable idfrac
real(r8), dimension(:,:), allocatable poros
integer, dimension(:), allocatable idmud
integer, dimension(mbotp) idbott
real(r8), dimension(:), allocatable transn
real(r8), dimension(:,:), allocatable morph_fac
real(r8), dimension(:), allocatable newlayer_thick
real(r8), dimension(:), allocatable minlayer_thick
real(r8), dimension(:,:), allocatable sd50
real(r8), dimension(:), allocatable transc
real(r8), dimension(:), allocatable tcr_tim
real(r8), dimension(:), allocatable tcr_off
real(r8), dimension(:,:), allocatable wsed
integer, dimension(:), allocatable idvbld
integer, dimension(:), allocatable idbmas
real(r8), dimension(:), allocatable tcr_min
real(r8), dimension(:,:), allocatable tau_ce
real(r8), dimension(:), allocatable tcr_slp
real(r8), dimension(:,:), allocatable csed