FISH Functions

The type specifiers used in the FISH function signatures are given in the “FISH Type Index” section.

Ball CFD Utilities

ball.cfd.find(INT) Find a CFD ball.
ball.cfd.inbox(VEC,VEC<,BOOL>) Get CFD balls with extents intersecting a box.
ball.cfd.list Get the global CFD ball list.
ball.cfd.near(VEC<,FLT>) Find the closest CFD ball to a point.
ball.cfd.num Get the number of CFD balls.
ball.cfd.typeid Get the CFD ball type number.

Ball CFD Intrinsics

ball.cfd.ball(BCF_PNT) Get the pointer to the host mechanical ball.
ball.cfd.elementmap(BCF_PNT) Get the CFD element associated with a ball.
ball.cfd.extra(BCF_PNT<,INT>) Get/set the CFD ball extra variable.
ball.cfd.force(BCF_PNT<,INT>) Get/set the CFD ball force.
ball.cfd.group(BCF_PNT<,INT>) Get/set CFD ball groups.
ball.cfd.group.remove(BCF_PNT,STR) Remove CFD ball groups.
ball.cfd.id(BCF_PNT) Get the CFD ball ID.
ball.cfd.isgroup(BCF_PNT,STR<,STR>) Query the existence of a group.
ball.cfd.pos(BCF_PNT<,INT>) Get the CFD ball position.