pub fn regular_octree_with_bounding_box<T: RealType>(
particles: ArrayView2<'_, T>,
max_level: usize,
origin: [f64; 3],
diameter: [f64; 3],
) -> Octree<'_, T>
Expand description
Create a regular Octree with given bounding box.
Returns a RegularOctree
struct describing a regular octree.
ยงArguments
particles
- A (3, N) array of particles of type f32 or f64.max_level
- The maximum level of the tree.origin
- The origin of the bounding box.diameter
- The diameter of the bounding box in each dimension.