A simple RSA algorithm
rsa(S, F = NULL, pl = 0, verbose = TRUE)
overlapping geometry system
secondary phase objects as list
integer: if pl>0
give some intermediate results
logical: if verbose=TRUE
(default) show additional information
list of non-overlapping particles
The function generates a non-overlapping configuration of spheres, spheroids or spherocylinders with respect to periodic boundary conditions by sequentially adding the given objects at new random positions in the simulation box while keeping their sizes and orientations. If there is an overlap detected the position is rejected and some new random position is generated until all particles have put inside or the maximum number of allowed iterations is reached. This function is most suited for volume fractions less than 0.15.
J.W. Evans. Random and cooperative sequential adsorption. Rev. Mod. Phys., 65: 1281-1304, 1993.