/[MITgcm]/MITgcm_contrib/darwin2/pkg/monod/monod_forcing.F
ViewVC logotype

Diff of /MITgcm_contrib/darwin2/pkg/monod/monod_forcing.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by stephd, Thu May 31 21:08:25 2012 UTC revision 1.7 by stephd, Fri Jun 29 20:41:59 2012 UTC
# Line 43  c ANNA include wavebands_params.h Line 43  c ANNA include wavebands_params.h
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)
# Line 194  c some local variables Line 199  c some local variables
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
# Line 810  c for explicit sinking of particulate ma Line 816  c for explicit sinking of particulate ma
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)
# Line 926  c ANNA pass extra variables if WAVEBANDS Line 942  c ANNA pass extra variables if WAVEBANDS
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,

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22