pub fn adaptive_octree<T: RealType>(
particles: ArrayView2<'_, T>,
max_particles: usize,
balance_mode: BalanceMode,
) -> Octree<'_, T>Expand description
Create a adaptive octree.
Returns a AdaptiveOctree struct describing an adaptive octree.
ยงArguments
particles- A (3, N) array of particles of type f32 or f64.max_particles- The maximum number of particles in each leaf.balance_mode- UseBalancedfor a 2:1 balanced octree,Unbalancedotherwise.