From 2de659bc1023a921b8b3f20029da5f1b28cf2e2b Mon Sep 17 00:00:00 2001 From: MPasquali23 Date: Fri, 18 Jul 2025 17:32:17 +0200 Subject: [PATCH] create_ghost in inlet_outlet_manager.py now correctly assign coordinates to ghosts z=z was missing in the get_particle_array part --- pysph/sph/bc/inlet_outlet_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysph/sph/bc/inlet_outlet_manager.py b/pysph/sph/bc/inlet_outlet_manager.py index c8059e8f3..2b336b1a3 100644 --- a/pysph/sph/bc/inlet_outlet_manager.py +++ b/pysph/sph/bc/inlet_outlet_manager.py @@ -166,7 +166,7 @@ def create_ghost(self, pa_arr, inlet=True): name = self.outlet_pairs[pa_arr.name] ghost_pa = get_particle_array( - name=name, m=m, x=x, y=y, h=h, u=u, p=0.0, rho=rho + name=name, m=m, x=x, y=y, z=z, h=h, u=u, p=0.0, rho=rho ) return ghost_pa