43 |
#include "WAVEBANDS_PARAMS.h" |
#include "WAVEBANDS_PARAMS.h" |
44 |
#endif |
#endif |
45 |
|
|
46 |
|
c choice which field to take pCO2 from for pCO2limit |
47 |
|
c this assumes we use Ttendency from offline |
48 |
|
#include "FFIELDS.h" |
49 |
|
|
50 |
|
|
51 |
C === Global variables === |
C === Global variables === |
52 |
c tracers |
c tracers |
53 |
_RL Ptr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,nDarwin) |
_RL Ptr(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,nDarwin) |
199 |
_RL PSiupl |
_RL PSiupl |
200 |
_RL Tlocal |
_RL Tlocal |
201 |
_RL Slocal |
_RL Slocal |
202 |
|
_RL pCO2local |
203 |
_RL Qswlocal |
_RL Qswlocal |
204 |
_RL NH4l |
_RL NH4l |
205 |
_RL NO2l |
_RL NO2l |
816 |
Slocal = salt(i,j,k,bi,bj) |
Slocal = salt(i,j,k,bi,bj) |
817 |
#endif |
#endif |
818 |
|
|
819 |
|
c choice where to get pCO2 from |
820 |
|
c taking from igsm dic run - fed through Tflux array |
821 |
|
c pCO2local=surfaceForcingT(i,j,bi,bj) |
822 |
|
c or from darwin carbon module |
823 |
|
#ifdef ALLOW_CARBON |
824 |
|
pCO2local=pCO2(i,j,bi,bj) |
825 |
|
#else |
826 |
|
pCO2local=280. _d -6 |
827 |
|
#endif |
828 |
|
|
829 |
freefu = max(freefe(i,j,k),0. _d 0) |
freefu = max(freefe(i,j,k),0. _d 0) |
830 |
if (k.eq.1) then |
if (k.eq.1) then |
831 |
inputFel = inputFe(i,j,bi,bj) |
inputFel = inputFe(i,j,bi,bj) |
942 |
I pofeupl, psiupl, |
I pofeupl, psiupl, |
943 |
I PARl, |
I PARl, |
944 |
I Tlocal, Slocal, |
I Tlocal, Slocal, |
945 |
|
I pCO2local, |
946 |
I freefu, inputFel, |
I freefu, inputFel, |
947 |
I bottom, dzlocal, |
I bottom, dzlocal, |
948 |
O Rstarl, RNstarl, |
O Rstarl, RNstarl, |