We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a37f3 commit ca165e1Copy full SHA for ca165e1
test/TestTools.jl
@@ -15,7 +15,15 @@ function make_spherical_space(FT; context = ClimaComms.context())
15
boundary_names = (:bottom, :top),
16
)
17
vertmesh = ClimaCore.Meshes.IntervalMesh(vertdomain, nelems = zelem)
18
- vert_center_space = ClimaCore.Spaces.CenterFiniteDifferenceSpace(vertmesh)
+ if pkgversion(ClimaCore) >= v"0.14.10"
19
+ vert_center_space = ClimaCore.Spaces.CenterFiniteDifferenceSpace(
20
+ ClimaComms.device(context),
21
+ vertmesh,
22
+ )
23
+ else
24
+ vert_center_space =
25
+ ClimaCore.Spaces.CenterFiniteDifferenceSpace(vertmesh)
26
+ end
27
28
horzdomain = ClimaCore.Domains.SphereDomain(radius)
29
horzmesh = ClimaCore.Meshes.EquiangularCubedSphere(horzdomain, helem)
0 commit comments