clump.addpebble

Syntax

p = clump.addpebble(c,f,v<,i>)

Add a pebble to a clump. This operation has no impact on the clump inertial attributes. The clump no longer refers to a clump template.

Note

The pebble must fall within the model domain.

Returns:

p - pebble pointer

Arguments:

c - clump pointer

f - pebble radius

v - pebble position

i - Optional pebble ID that, if not specified, is set to the next available ID.