Commits

Matthew Turk committed 2219b40

The number of octs should be half the number of zones for particle octrees.

  • Participants
  • Parent commits 05a9950

Comments (0)

Files changed (1)

File yt/frontends/sph/data_structures.py

         total_particles = sum(sum(d.total_particles.values())
                               for d in self.domains)
         self.oct_handler = ParticleOctreeContainer(
-            self.parameter_file.domain_dimensions,
+            self.parameter_file.domain_dimensions/2,
             self.parameter_file.domain_left_edge,
             self.parameter_file.domain_right_edge)
         self.oct_handler.n_ref = 64