From 2af6e8f517f2f28422b98a14b7b9ea9daadfbd4d Mon Sep 17 00:00:00 2001 From: LasNikas Date: Thu, 7 Nov 2024 10:53:40 +0100 Subject: [PATCH] add h-factor --- src/schemes/fluid/entropically_damped_sph/system.jl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/schemes/fluid/entropically_damped_sph/system.jl b/src/schemes/fluid/entropically_damped_sph/system.jl index 304baaaa2..3e9715485 100644 --- a/src/schemes/fluid/entropically_damped_sph/system.jl +++ b/src/schemes/fluid/entropically_damped_sph/system.jl @@ -145,18 +145,6 @@ function Base.show(io::IO, ::MIME"text/plain", system::EntropicallyDampedSPHSyst end end -function smoothing_length(system::EntropicallyDampedSPHSystem, particle) - return smoothing_length(system, system.particle_refinement, particle) -end - -function smoothing_length(system::EntropicallyDampedSPHSystem, ::Nothing, particle) - return system.cache.smoothing_length -end - -function smoothing_length(system::EntropicallyDampedSPHSystem, refinement, particle) - return system.cache.smoothing_length[particle] -end - create_cache_edac(initial_condition, ::Nothing) = (;) function create_cache_edac(initial_condition, ::TransportVelocityAdami)