pub fn regular_octree<T: RealType>(
particles: ArrayView2<'_, T>,
max_level: usize,
) -> Octree<'_, T>
Expand description
Create a regular Octree.
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.