From 2a16ff87f12c03a30b667be7bbedb3499ba106f0 Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Mon, 4 Mar 2024 13:04:55 -0500 Subject: [PATCH] Fix vtk tests --- lib/ClimaCoreVTK/test/runtests.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ClimaCoreVTK/test/runtests.jl b/lib/ClimaCoreVTK/test/runtests.jl index 5fdeb61348..770a058558 100644 --- a/lib/ClimaCoreVTK/test/runtests.jl +++ b/lib/ClimaCoreVTK/test/runtests.jl @@ -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), @@ -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,), @@ -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,); @@ -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,);