tset periodic as default lateral fluid BC - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 2fe53d2f0af361d48949c6f9909be29814048e7e
 (DIR) parent 782163da2e1dfce7ea390e7373f303bc1ce75f7d
 (HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
       Date:   Fri, 12 Aug 2016 13:04:15 -0700
       
       set periodic as default lateral fluid BC
       
       Diffstat:
         M python/sphere.py                    |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -334,10 +334,10 @@ class sim:
                        # 0: Dirichlet
                        # 1: Neumann
                        # 2: Periodic (default)
       -                self.bc_xn = numpy.ones(1, dtype=numpy.int32)*3  # Neg. x bc
       -                self.bc_xp = numpy.ones(1, dtype=numpy.int32)*3  # Pos. x bc
       -                self.bc_yn = numpy.ones(1, dtype=numpy.int32)*3  # Neg. y bc
       -                self.bc_yp = numpy.ones(1, dtype=numpy.int32)*3  # Pos. y bc
       +                self.bc_xn = numpy.ones(1, dtype=numpy.int32)*2  # Neg. x bc
       +                self.bc_xp = numpy.ones(1, dtype=numpy.int32)*2  # Pos. x bc
       +                self.bc_yn = numpy.ones(1, dtype=numpy.int32)*2  # Neg. y bc
       +                self.bc_yp = numpy.ones(1, dtype=numpy.int32)*2  # Pos. y bc
        
                    # Boundary conditions at the top and bottom of the fluid grid
                    # 0: Dirichlet (default)