fracture.balls | R Documentation |
Generate balls inside of a 3d fracture
fracture.balls(
obj,
K = 4000,
Rmax = 0.01,
Rmin = 0.01,
B = data.frame(),
margin = 0.003,
margin_opt = margin/3,
relax_iterations = 10,
max_add = 200,
overshoot = 100,
seed,
mean.neighbor = 5,
iterations = ceiling(1.5 * K/max_add),
dist = function(k, Rmin, Rmax) runif(k, Rmin, Rmax),
delete = TRUE,
period = 1
)
obj |
fracture_geom object |
K |
target number of balls |
Rmax, Rmin |
the limits on radiuses of sizes |
B |
set of balls to start from |
margin |
target margin distance between balls |
margin_opt |
lower limit on margin for optimization |
relax_iterations |
number of subiterations for relaxation |
max_add |
number of balls added in each iteration |
overshoot |
number of balls by which to overshoot target |
seed |
random seed |
mean.neighbor |
the mean.neighbor buffor size |
iterations |
number of iterations |
dist |
distribution of radii |
delete |
if TRUE, allow the algorithm to delete balls during optimization |
period |
the periodicity of the domain |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.