cluster_ball: cluster_ball

View source: R/clusters.R

cluster_ballR Documentation

cluster_ball

Description

A ball of particles on a cubic lattice

Usage

cluster_ball(N, R0 = 15, a = 1, b = 1, c = b)

Arguments

N

number of particles

R0

ball radius

a

semi-axis along x

b

semi-axis along y

c

semi-axis along z

Details

Identical particles fill a sphere with a cubic lattice

Value

list of class cluster with fields: positions, sizes, angles

Author(s)

baptiste Auguie

See Also

Other user_level cluster: cluster_array(), cluster_chain(), cluster_dimer(), cluster_helix(), cluster_pumpkin(), cluster_shell(), cluster_single()

Examples

b = cluster_ball(100)

baptiste/cda documentation built on May 6, 2022, 5:52 a.m.