Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelschurer committed Dec 16, 2024
1 parent a51cf2f commit 3ba15d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/preprocessing/readvtk/vtk2trixi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@testset verbose=true "Functionality Check - 2D" begin

# 'InitialCondition'-Files
saved_ic = RectangularShape(0.1, (10, 20),
saved_ic = RectangularShape(0.1, (2, 2),
(0, 0), density=1.5,
velocity=(1.0, 2.0), pressure=1000.0)
filename = "is_write_out"
Expand All @@ -23,7 +23,7 @@
ContinuityDensity(), state_equation,
WendlandC2Kernel{2}(), 0.2)

trixi2vtk(zeros(), zeros(), 0.0, fluid_system, nothing;)
trixi2vtk(saved_ic.velocity, saved_ic.coordinates, 0.0, fluid_system, nothing;)
# trixi2vtk(sol.u[end], semi, 0.0, iter=1, output_directory="output",
# prefix="solution")

Expand Down

0 comments on commit 3ba15d8

Please sign in to comment.