ball.create

Syntax

b = ball.create(f,v<,i>)

Create a ball.

Note

  • A model domain must be specified prior to ball generation.
  • While cycling, balls can only be created before cycle point 0 (i.e., when the timestep is calculated).
Returns:

b - ball pointer

Arguments:

f - ball radius

v - ball position vector

i - optional ball ID