-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SoilCanopyModel uses implicit solver
- Loading branch information
1 parent
9385b75
commit 2cc1bcc
Showing
16 changed files
with
347 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
"""This file contains the site-generic time variables for running ClimaLand on | ||
fluxtower sites. These work in tandem with the site-specific timing parameters | ||
"""This file contains the site-generic time variables for running ClimaLand on | ||
fluxtower sites. These work in tandem with the site-specific timing parameters | ||
found in the {site-ID}_simulation.jl files in each site directory.""" | ||
|
||
N_spinup_days = 30 | ||
N_days = N_spinup_days + 30 | ||
tf = Float64(t0 + 3600 * 24 * N_days) | ||
t_spinup = Float64(t0 + N_spinup_days * 3600 * 24) | ||
saveat = Array(t_spinup:(n * dt):tf) | ||
timestepper = CTS.RK4() | ||
|
||
# Set up timestepper | ||
ode_algo = CTS.ExplicitAlgorithm(timestepper) | ||
timestepper = CTS.ARS343(); | ||
ode_algo = CTS.IMEXAlgorithm( | ||
timestepper, | ||
CTS.NewtonsMethod( | ||
max_iters = 1, | ||
update_j = CTS.UpdateEvery(CTS.NewNewtonIteration), | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.