ClimaLand.jl icon indicating copy to clipboard operation
ClimaLand.jl copied to clipboard

Generalize variable names in Jacobian initialization

Open juliasloan25 opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe. In https://github.com/CliMA/ClimaLand.jl/pull/651, we hardcode which variables are to be stepped explicitly and which will be stepped implicitly in our Jacobian initialization. This requires listing out the names of all variables - there is probably a more generic way to do this.

Note that we must include a block in the jacobian for all prognostic variables. In the case of integrated models, this includes the prognostic variables of sub-models without any implicitly-stepped variables (e.g. soilco2 in the case of stepping SoilCanopy implicitly).

juliasloan25 avatar Jun 13 '24 01:06 juliasloan25