ball.prop

Syntax

a = ball.prop(b,s)
ball.prop(b,s) = a

Get/set a ball property. The function ball.isprop can be used to assess the existence of a property.

Properties are name-value pairs that are used to fill contact model properties. The list of mechanical contact models is given in the “Contact Models” section. In the documentation for each contact model, a Properties table exists. These include: the linear, linear contact bond, linear parallel bond, hertz, hysteretic, smooth joint, and the flat joint property tables.

Returns:

a - property value

Accepts:

a - property value

Arguments:

b - ball pointer

s - property name