Skip to content

Commit

Permalink
Merge pull request #1637 from CliMA/ck/vtx_cc_makie
Browse files Browse the repository at this point in the history
Fix vtk tests
  • Loading branch information
charleskawczynski authored Mar 5, 2024
2 parents 214a291 + 2a16ff8 commit 09c9d3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ClimaCoreVTK/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mkpath(joinpath(OUTPUT_DIR, "series"))
(sind(coord.long) * sind(α) + cosd(coord.long) * cosd(α))
end for α in times
]
writevtk(
writepvd(
joinpath(OUTPUT_DIR, "series", "sphere_scalar_series"),
times,
(A = A, B = A),
Expand Down Expand Up @@ -87,7 +87,7 @@ mkpath(joinpath(OUTPUT_DIR, "series"))
U[t] = u
end

writevtk(
writepvd(
joinpath(OUTPUT_DIR, "series", "sphere_vector_series"),
times,
(U = U,),
Expand All @@ -100,7 +100,7 @@ mkpath(joinpath(OUTPUT_DIR, "series"))
end
@test isfile(joinpath(OUTPUT_DIR, "series", "sphere_vector_series.pvd"))

writevtk(
writepvd(
joinpath(OUTPUT_DIR, "series", "sphere_latlong_scalar_series"),
times,
(A = A,);
Expand All @@ -111,7 +111,7 @@ mkpath(joinpath(OUTPUT_DIR, "series"))
joinpath(OUTPUT_DIR, "series", "sphere_latlong_scalar_series.pvd"),
)

writevtk(
writepvd(
joinpath(OUTPUT_DIR, "series", "sphere_latlong_vector_series"),
times,
(U = U,);
Expand Down

0 comments on commit 09c9d3a

Please sign in to comment.