File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1522,14 +1522,14 @@ subroutine sed_calc(id)
1522
1522
! modify sediment conc (g/m^3)
1523
1523
if (iNPBalg== 3.or .iNPBalg== 4.or .iNPBalg== 5 )then ! debug iNPBalg==3
1524
1524
rtmp= ANCB* (1 - ratNH4B)* PRNitB* GPBalg(id)* BBM(id)* dtw/ H2
1525
- NH42= NH42- rtmp
1526
- NH4T2= NH4T2- rtmp
1525
+ NH42= max ( 1.0e-10_iwp , NH42- rtmp)
1526
+ NH4T2= max ( 1.0e-10_iwp , NH4T2- rtmp)
1527
1527
rtmp= ANCB* (1 - ratNO3B)* (1.0 - PRNitB)* GPBalg(id)* BBM(id)* dtw/ H2
1528
- NO32= NO32- rtmp
1529
- NO3T2= NO3T2- rtmp
1528
+ NO32= max ( 1.0e-10_iwp , NO32- rtmp)
1529
+ NO3T2= max ( 1.0e-10_iwp , NO3T2- rtmp)
1530
1530
rtmp= APCB* (1 - ratPO4B)* GPBalg(id)* BBM(id)* dtw/ H2
1531
- PO42= PO42- rtmp
1532
- PO4T2= PO4T2- rtmp
1531
+ PO42= max ( 1.0e-10_iwp , PO42- rtmp)
1532
+ PO4T2= max ( 1.0e-10_iwp , PO4T2- rtmp)
1533
1533
endif ! iNPBalg
1534
1534
1535
1535
! modify sediment POM (g/m3)
You can’t perform that action at this time.
0 commit comments