rsa {simLife} | R Documentation |
A simple RSA algorithm
rsa(S, F = NULL, pl = 0, verbose = TRUE)
S |
overlapping geometry system |
F |
secondary phase objects as list |
pl |
integer: if |
verbose |
logical: if |
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.
list of non-overlapping particles
Felix Ballani, Markus Baaske
J.W. Evans. Random and cooperative sequential adsorption. Rev. Mod. Phys., 65: 1281-1304, 1993.