We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b4de15 commit fcdcc49Copy full SHA for fcdcc49
src/schemes/boundary/system.jl
@@ -290,7 +290,8 @@ end
290
291
# For BoundaryModelDummyParticles with ContinuityDensity, this needs to be 1.
292
# For all other models and density calculators, it's irrelevant.
293
-@inline v_nvariables(system::BoundarySPHSystem) = 1
+@inline v_nvariables(system::BoundarySPHSystem{<:BoundaryModelDummyParticles{ContinuityDensity}}) = 1
294
+@inline v_nvariables(system::BoundarySPHSystem) = 0
295
@inline v_nvariables(system::BoundaryDEMSystem) = 0
296
297
@inline function current_coordinates(u, system::Union{BoundarySPHSystem, BoundaryDEMSystem})
0 commit comments