You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@glemieux and I figured out today that patch%fuel%frac_burnt(:) is always set to 0.0 due to this line..
if(i_disturbance_type .ne. dtype_ifire) then
currentPatch%fuel%frac_burnt(:) = 0._r8
end if
The i_disturbance_type is in a loop on all disturbance types, including dtype_ifire. dtype_ifireis a constant (2). The first dtype is ifall, thus the first time we traverse this loop, every %patch%fuel%frac_burnt(:) will be set to 0.0.
So from what @glemieux and I can see - fuel is never consumed and sent to the atmosphere. So any time we have a fire, ALL the fuel on the old patch is transferred to the new patch.
I imagine this will result in fairly large changes.
The text was updated successfully, but these errors were encountered:
@glemieux and I figured out today that
patch%fuel%frac_burnt(:)
is always set to 0.0 due to this line..The
i_disturbance_type
is in a loop on all disturbance types, includingdtype_ifire
.dtype_ifire
is a constant (2). The firstdtype
isifall
, thus the first time we traverse this loop, every%patch%fuel%frac_burnt(:)
will be set to 0.0.So from what @glemieux and I can see - fuel is never consumed and sent to the atmosphere. So any time we have a fire, ALL the fuel on the old patch is transferred to the new patch.
I imagine this will result in fairly large changes.
The text was updated successfully, but these errors were encountered: