Skip to content

Commit

Permalink
use direct SphericalShell constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Sep 27, 2023
1 parent ce66ba1 commit 137d7ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions experiments/AMIP/modular/components/land/bucket_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,9 @@ function make_lsm_domain(
verttopology = ClimaCore.Topologies.IntervalTopology(vertmesh)
vert_center_space = ClimaCore.Spaces.CenterFiniteDifferenceSpace(verttopology)
subsurface_space = ClimaCore.Spaces.ExtrudedFiniteDifferenceSpace(atmos_boundary_space, vert_center_space)
space = (; surface = atmos_boundary_space, subsurface = subsurface_space)

return ClimaLSM.Domains.SphericalShell(;
radius = radius,
depth = depth,
nelements = nelements,
npolynomial = npolynomial,
)
return ClimaLSM.Domains.SphericalShell{FT}(radius, depth, nothing, nelements, npolynomial, space)
end

# extensions required by Interfacer
Expand Down

0 comments on commit 137d7ef

Please sign in to comment.