Skip to content

Commit

Permalink
move ode algo out
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Sep 13, 2024
1 parent a69da08 commit a86a85a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions experiments/standalone/Vegetation/timestep_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ set_initial_cache! = make_set_initial_cache(canopy)
exp_tendency! = make_exp_tendency(canopy)
drivers = ClimaLand.get_drivers(canopy)


# imp_tendency! = make_imp_tendency(canopy)
# jacobian! = make_jacobian(canopy);
# jac_kwargs =
Expand All @@ -168,6 +169,9 @@ savedir = joinpath(pkgdir(ClimaLand), "experiments/standalone/Vegetation");

ref_dt = 0.001

timestepper = CTS.RK4();
ode_algo = CTS.ExplicitAlgorithm(timestepper)

############ Initial setup for ref solution
# Y, p, coords = ClimaLand.initialize(canopy)

Expand Down Expand Up @@ -201,8 +205,7 @@ ref_dt = 0.001
# # update_j = CTS.UpdateEvery(CTS.NewNewtonIteration),
# # ),
# # );
# timestepper = CTS.RK4();
# ode_algo = CTS.ExplicitAlgorithm(timestepper)


# prob = SciMLBase.ODEProblem(
# CTS.ClimaODEFunction(T_exp! = exp_tendency!, dss! = ClimaLand.dss!),
Expand Down

0 comments on commit a86a85a

Please sign in to comment.