Closed slevis-lmwg closed 1 year ago
Fang responded that this was done for the generic crops, which could coexist in a column with non-crop pfts depending on user-defined settings. If we still permit generic crops and non-crop pfts coexisting in a column, then Fang wants us to keep the code as written.
I believe the ctsm defaults to create_crop_landunit = .true.
, so we can assume baf_crop = 0 for the purposes of a Newton-Krylov spin-up. However, the ctsm code should remain as written as long as create_crop_landunit = .false.
is an option.
Thanks for following up with Fang on this @slevisconsulting. Can you make sure Keith Lindsay keeps this in the preconditioner for the N-K solver.
Now I see @klindsay28 is already on the thread! I'll close this issue with a won't fix label
@slevisconsulting FYI we currently only allow create_crop_landunit=FALSE for FATES. But, we actually want to change this option so it's turned on all the time including for FATES.
From looking at this with @wwieder and @klindsay28 on 2022/11/02 in the context of spinning up ctsm bgc with Newton-Krylov...
Why not use
f
rather thanf - baf_crop
with is_cwd in the following?CNFireBaseMod.F90
and similarly in the nitrogen loop.
Reasoning:
is_cwd
should occur only whenbaf_crop = 0
.baf_crop = f
in crop columns andbaf_crop = 0
in non-crop columns.I will share this question with Fang Li for clarification.