24 |
#ifdef DIC_BIOTIC |
#ifdef DIC_BIOTIC |
25 |
#include "DIC_BIOTIC.h" |
#include "DIC_BIOTIC.h" |
26 |
#include "DIC_DIAGS.h" |
#include "DIC_DIAGS.h" |
27 |
|
#include "DIC_COST.h" |
28 |
#endif |
#endif |
29 |
#ifdef ALLOW_SEAICE |
#ifdef ALLOW_SEAICE |
30 |
#include "ICE.h" |
#include "ICE.h" |
42 |
EXTERNAL DIFFERENT_MULTIPLE |
EXTERNAL DIFFERENT_MULTIPLE |
43 |
INTEGER i, j, bi, bj, k, it |
INTEGER i, j, bi, bj, k, it |
44 |
c |
c |
45 |
_RL po4cost, o2cost, sumvol, totcost |
_RL po4cost, o2cost, sumvol |
46 |
_RL po4costm, o2costm, sumvolm |
_RL po4costm, o2costm, sumvolm |
47 |
c |
c |
48 |
c calculate costfunction |
c calculate costfunction |
49 |
|
|
50 |
_BEGIN_MASTER(myThid) |
_BEGIN_MASTER(myThid) |
51 |
|
|
52 |
sumvol= 0. _d 0 |
sumvol= 0. _d 0 |
53 |
po4cost= 0. _d 0 |
po4cost= 0. _d 0 |
54 |
o2cost=0.d0 |
o2cost=0.d0 |
55 |
cswdmonth-add-- |
cswdmonth-add-- |
56 |
|
sumvolm=0.d0 |
57 |
po4costm=0.d0 |
po4costm=0.d0 |
58 |
o2costm=0.d0 |
o2costm=0.d0 |
59 |
cswdmonth -- end add -- |
cswdmonth -- end add -- |
123 |
|
|
124 |
print*,'COST ',totcost, po4cost, o2cost,po4costm,o2costm |
print*,'COST ',totcost, po4cost, o2cost,po4costm,o2costm |
125 |
|
|
126 |
_END_MASTER(myThid) |
_END_MASTER(myThid) |
127 |
c |
c |
128 |
#endif |
#endif |
129 |
RETURN |
RETURN |