Skip to content
Snippets Groups Projects
Commit dbbcf937 authored by Rafael Ravedutti's avatar Rafael Ravedutti
Browse files

Include type when determining borders for communication

parent d6f0b279
Branches
Tags
1 merge request!1Implement DEM and many other features
...@@ -49,7 +49,7 @@ class Comm: ...@@ -49,7 +49,7 @@ class Comm:
# Every property that has neighbor accesses during any interaction kernel (i.e. property[j] # Every property that has neighbor accesses during any interaction kernel (i.e. property[j]
# exists in any force calculation kernel) # exists in any force calculation kernel)
# We ignore normal because there should be no halfspace ghosts # We ignore normal because there should be no halfspace ghosts
prop_list = [self.sim.property(p) for p in ['uid', 'mass', 'radius', 'position', 'linear_velocity', 'angular_velocity', 'shape'] if self.sim.property(p) is not None] prop_list = [self.sim.property(p) for p in ['uid', 'type', 'mass', 'radius', 'position', 'linear_velocity', 'angular_velocity', 'shape'] if self.sim.property(p) is not None]
Assign(self.sim, self.nsend_all, 0) Assign(self.sim, self.nsend_all, 0)
Assign(self.sim, self.sim.nghost, 0) Assign(self.sim, self.sim.nghost, 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment