Skip to content

Commit

Permalink
Update example doc header
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroenks96 committed Feb 29, 2024
1 parent baae54a commit 19eb168
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/cglite_parameter_ensembles.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# # [Fast heat conduction with CryoGridLite](@id example7)
# This example is very similar to [Example 1](@ref) but uses the
# fast implicit CryoGridLite solver of Langer et al. 2023.
# # [Parameter ensembles](@id example12)
# This example is very similar to [Example 7](@ref) but shows how to create and run parallelized parameter ensembels.

# Make sure to explicitly import the `LiteImplicit` submodule which has
# the relevant solver types.
Expand Down Expand Up @@ -52,6 +51,8 @@ tspan = (DateTime(2000,1,1), DateTime(2010,12,31))
u0, du0 = initialcondition!(tile, tspan);
prob = CryoGridProblem(tile, u0, tspan, saveat=24*3600.0, savevars=(:T,))

# The CryoGridParams type behaves like a table and can be easily converted
# to a DataFrame with DataFrame(params) when DataFrames.jl is loaded.
params = CryoGrid.parameters(tile)

# you can use Julia's `vec` method to convert `CryoGridParams` into a `ComponentVector`
Expand Down

0 comments on commit 19eb168

Please sign in to comment.