We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 114a57b commit b1acf76Copy full SHA for b1acf76
src/schemes/fluid/fluid.jl
@@ -27,7 +27,7 @@ function create_cache_density(ic, ::ContinuityDensity)
27
end
28
29
function create_cache_refinement(initial_condition, ::Nothing, smoothing_length)
30
- smoothing_length_factor = initial_condition.particle_spacing / smoothing_length
+ smoothing_length_factor = smoothing_length / initial_condition.particle_spacing
31
return (; smoothing_length, smoothing_length_factor)
32
33
0 commit comments