Skip to content

Commit

Permalink
adapt for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LasNikas committed Nov 18, 2024
1 parent 49d6676 commit c3e6474
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/schemes/fluid/entropically_damped_sph/system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,12 @@ function EntropicallyDampedSPHSystem(initial_condition, smoothing_kernel,

cache = create_cache_density(initial_condition, density_calculator)
cache = (; create_cache_edac(initial_condition, transport_velocity)..., cache...)
cache = (;
create_cache_refinement(initial_condition, particle_refinement,
smoothing_length)..., cache...)

return EntropicallyDampedSPHSystem(initial_condition, mass, density_calculator,
smoothing_kernel, sound_speed, viscosity, nu_edac,
acceleration_, nothing, pressure_acceleration,
transport_velocity, source_terms, buffer,
particle_refinement, cache)
smoothing_kernel, smoothing_length, sound_speed,
viscosity, nu_edac, acceleration_, nothing,
pressure_acceleration, transport_velocity,
source_terms, buffer, particle_refinement, cache)
end

function Base.show(io::IO, system::EntropicallyDampedSPHSystem)
Expand Down

0 comments on commit c3e6474

Please sign in to comment.