Skip to content

Commit 7799927

Browse files
committed
remove hydrodynamic_mass that is unused
1 parent 4538808 commit 7799927

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/schemes/structure/rigid_body_sph/system.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ end
209209
return zero(eltype(system))
210210
end
211211

212-
@inline function hydrodynamic_mass(system::RigidSPHSystem{Nothing}, particle)
213-
return system.mass[particle]
214-
end
215-
216212
@inline function hydrodynamic_mass(system::RigidSPHSystem{<:AbstractWallBoundaryModel},
217213
particle)
218214
return system.boundary_model.hydrodynamic_mass[particle]

test/systems/rigid_system.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
system_no_model = RigidSPHSystem(initial_condition)
107107
v_no_model = zeros(TrixiParticles.v_nvariables(system_no_model),
108108
TrixiParticles.n_integrated_particles(system_no_model))
109-
@test TrixiParticles.hydrodynamic_mass(system_no_model, 1) == mass[1]
110109

111110
monaghan_model = BoundaryModelMonaghanKajtar(10.0, 1.0, smoothing_length,
112111
hydrodynamic_masses)

0 commit comments

Comments
 (0)