Learn R Programming

cda (version 2.0.0)

cluster_ball: 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

Value

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

Details

Identical particles fill a sphere with a cubic lattice

See Also

Other user_level cluster: cluster_array, cluster_chain, cluster_dimer, cluster_helix, cluster_shell, cluster_single

Examples

Run this code
b = cluster_ball(100)

Run the code above in your browser using DataLab