1 |
C $Header: /u/gcmpack/MITgcm/pkg/bling/bling_sgs.F,v 1.1 2016/05/19 20:29:26 mmazloff Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "BLING_OPTIONS.h" |
5 |
|
6 |
CBOP |
7 |
subroutine BLING_SGS( |
8 |
I bi, bj, imin, imax, jmin, jmax, |
9 |
I myIter, myTime, myThid ) |
10 |
|
11 |
C ================================================================= |
12 |
C | subroutine bling_sgs |
13 |
C | o Placeholder for sub-grid scale sediment stuff |
14 |
C ================================================================= |
15 |
|
16 |
implicit none |
17 |
|
18 |
C === Global variables === |
19 |
|
20 |
#include "SIZE.h" |
21 |
#include "DYNVARS.h" |
22 |
#include "EEPARAMS.h" |
23 |
#include "PARAMS.h" |
24 |
#include "GRID.h" |
25 |
#include "BLING_VARS.h" |
26 |
#include "PTRACERS_SIZE.h" |
27 |
#include "PTRACERS_PARAMS.h" |
28 |
#ifdef ALLOW_AUTODIFF |
29 |
# include "tamc.h" |
30 |
#endif |
31 |
|
32 |
C === Routine arguments === |
33 |
C bi,bj :: tile indices |
34 |
C iMin,iMax :: computation domain: 1rst index range |
35 |
C jMin,jMax :: computation domain: 2nd index range |
36 |
C myTime :: current time |
37 |
C myIter :: current timestep |
38 |
C myThid :: thread Id. number |
39 |
INTEGER bi, bj, imin, imax, jmin, jmax |
40 |
_RL myTime |
41 |
INTEGER myIter |
42 |
INTEGER myThid |
43 |
C === Input === |
44 |
C === Output === |
45 |
|
46 |
#ifdef ALLOW_BLING |
47 |
C === Local variables === |
48 |
C i,j,k :: loop indices |
49 |
|
50 |
INTEGER i,j,k |
51 |
|
52 |
CEOP |
53 |
|
54 |
c --------------------------------------------------------------------- |
55 |
c Initialize output and diagnostics |
56 |
|
57 |
|
58 |
|
59 |
c--------------------------------------------------------------------- |
60 |
c SUBGRIDSCALE SEDIMENT FLUXES |
61 |
c |
62 |
c The subgridscale sediment produces remineralization fluxes from sinking particles |
63 |
c throughout the water column, and leads to 3-dimensional fields for benthic |
64 |
c iron fluxes and benthic denitrification. |
65 |
c Note that the remineralization of particle flux intercepting the subgridscale |
66 |
c sediment is implicit in the reminp terms. |
67 |
|
68 |
#ifdef use_sgs_sed |
69 |
c!! |
70 |
#endif |
71 |
|
72 |
|
73 |
c --------------------------------------------------------------------- |
74 |
|
75 |
#ifdef ALLOW_DIAGNOSTICS |
76 |
IF ( useDiagnostics ) THEN |
77 |
|
78 |
ENDIF |
79 |
#endif /* ALLOW_DIAGNOSTICS */ |
80 |
|
81 |
#endif /* ALLOW_BLING */ |
82 |
|
83 |
RETURN |
84 |
END |