PFC FISH Index

Below is a comprehensive listing of FISH functions that are specific to PFC.

See Common FISH Index for a listing of FISH functions associated with common commands. See FISH Functions for a listing of FISH language intrinsic functions.

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

c ball           c clump           c wall           c rblock           c contact

Ball FISH functions

ball.contactmap(B_PNT<,INT,PNT>) Get active contacts around a ball.
ball.contactmap.all(B_PNT<,INT,PNT>) Get all contacts around a ball.
ball.contactnum(B_PNT<,INT>) Get number of active contacts around a ball.
ball.contactnum.all(B_PNT<,INT>) Get number of contacts around a ball.
ball.create(FLT,VEC<,INT>) Create a ball.
ball.damp(B_PNT) Get/set ball local damping factor.
ball.delete(B_PNT) Delete a ball.
ball.density(B_PNT) Get/set ball density.
ball.disp(B_PNT<,INT>) Get/set the ball displacement.
ball.energy(STR) Get the ball total energy contribution.
ball.euler(B_PNT<,INT>)(3D ONLY) Get/set the ball orientation.
ball.extra(B_PNT<,INT>) Get/set ball extra variable.
ball.find(INT) Find a ball.
ball.fix(B_PNT,INT) Get/set ball fixity condition.
ball.force.app(B_PNT<,INT>) Get/set the ball applied force.
ball.force.contact(B_PNT<,INT>) Get/set the ball contact force.
ball.force.unbal(B_PNT<,INT>) Get the ball unbalanced force.
ball.fragment(B_PNT) Get/set ball fragment ID.
ball.group(B_PNT<,STR>) Get/set ball groups.
ball.group.remove(B_PNT,STR) Remove ball groups.
ball.groupmap(STR<,INT>) Get balls that belong to a group.
ball.id(B_PNT) Get the ball ID.
ball.inbox(VEC,VEC<,BOOL>) Get balls with extents intersecting a box.
ball.isbonded(B_PNT<,INT,PNT>) Get the ball bonded state.
ball.isgroup(B_PNT,STR<,STR>) Query the existence of a group.
ball.isprop(B_PNT,STR) Query the existence of a property.
ball.list Get the global ball list.
ball.mass(B_PNT) Get the inertial ball mass.
ball.mass.real(B_PNT) Get the real (gravitational) ball mass.
ball.maxid Get the maximum ball ID.
ball.mech.ratio.avg Get the ball average unbalanced force ratio.
ball.mech.ratio.local Get the ball maximum local unbalanced force ratio.
ball.mech.ratio.max Get the ball maximum unbalanced force ratio.
ball.mech.unbal.max Get the ball maximum unbalanced force.
ball.moi(B_PNT) Get the ball moment of inertia.
ball.moi.real(B_PNT) Get the real (gravitational) ball moment of inertia.
ball.moment.app(B_PNT<,INT>) Get/set the ball applied moment.
ball.moment.contact(B_PNT<,INT>) Get/set the ball contact moment.
ball.moment.unbal(B_PNT<,INT>) Get the ball unbalanced moment.
ball.near(VEC<,FLT>) Find the closest ball to a point.
ball.num Get the number of balls.
ball.pos(B_PNT<,INT>) Get/set the ball position.
ball.prop(B_PNT,STR) Get/set a ball property.
ball.radius(B_PNT) Get/set ball radius.
ball.rotation(B_PNT)(2D ONLY) Get/set the ball orientation.
ball.spin(B_PNT<,INT>) Get/set the ball angular velocity.
ball.stress(B_PNT<,INT,INT>) Get the stress tensor arising from all contacts acting on...
ball.stress.full(B_PNT) Get the full stress tensor arising from all contacts acting...
ball.typeid Get the ball type number.
ball.vel(B_PNT<,INT>) Get/set the ball velocity.
ball.vol(B_PNT) Get ball volume.

Clump FISH functions

clump.addpebble(CL_PNT,FLT,VEC<,INT>) Add a pebble to a clump.
clump.calculate(CL_PNT<,FLT>) Calculate the inertial properties.
clump.contactmap(CL_PNT<,INT><,PNT>) Get active contacts around a clump.
clump.contactmap.all(CL_PNT<,INT><,PNT>) Get all contacts around a clump.
clump.contactnum(CL_PNT<,INT>) Get number of active contacts around a clump.
clump.contactnum.all(CL_PNT<,INT>) Get number of contacts around a clump.
clump.damp(CL_PNT) Get/set the clump local damping factor.
clump.delete(CL_PNT) Delete a clump.
clump.deletepebble(CL_PNT,CLP_PNT) Delete a pebble from a clump.
clump.density(CL_PNT) Get/set the clump density.
clump.disp(CL_PNT<,INT>) Get/set the clump displacement.
clump.energy(STR) Get the clump total energy contribution.
clump.euler(CL_PNT<,INT>)(3D ONLY) Get/set the clump orientation.
clump.extra(CL_PNT<,INT>) Get/set a clump extra variable.
clump.find(INT) Find a clump.
clump.fix(CL_PNT,INT) in 3D: 1) x -velocity, 2) y -velocity, 3) z -velocity, 4) x -angular...
clump.force.app(CL_PNT<,INT>) Get/set the clump applied force.
clump.force.contact(CL_PNT<,INT>) Get/set the clump contact force.
clump.force.unbal(CL_PNT<,INT>) Get the clump unbalanced force.
clump.fragment(CL_PNT) Get/set clump fragment ID.
clump.group(CL_PNT<,STR>) Get/set clump groups.
clump.group.remove(CL_PNT,STR) Remove clump groups.
clump.groupmap(STR<,INT>) Get clumps that belong to a group.
clump.id(CL_PNT) Get the clump ID.
clump.inbox(VEC,VEC<,BOOL>) Get clumps with extents intersecting a box.
clump.inglobal(CL_PNT,VEC) Rotate a vector from principal system.
clump.inprin(CL_PNT,VEC) Rotate a vector to principal system.
clump.isbonded(CL_PNT<,INT,PNT>) Get the clump bonded state.
clump.isgroup(CL_PNT,STR<,STR>) Query the existence of a group.
clump.list Get the global clump list.
clump.mass(CL_PNT) Get the inertial clump mass.
clump.mass.real(CL_PNT) Get the real (gravitational) clump mass.
clump.maxid Get the maximum clump ID.
clump.mech.ratio.avg Get the clump average unbalanced force ratio.
clump.mech.ratio.local Get the clump maximum local unbalanced force ratio.
clump.mech.ratio.max Get the clump maximum unbalanced force ratio.
clump.mech.unbal.max Get the clump maximum unbalanced force.
clump.moi(CL_PNT<,INT<,INT>>) Get the clump moment of inertia.
clump.moi.fix(CL_PNT) Get/set the moment of inertia fixity state.
clump.moi.prin(CL_PNT<,INT>) Get the clump principal moment of inertia.
clump.moi.prin.real(CL_PNT<,INT>) Get/set the clump real principal moment of inertia.
clump.moi.real(CL_PNT<,INT<,INT>>) Get/set the clump real moment of inertia.
clump.moment.app(CL_PNT<,INT>) Get/set the clump applied moment.
clump.moment.contact(CL_PNT<,INT>) Get/set the clump contact moment.
clump.moment.unbal(CL_PNT<,INT>) Get the clump unbalanced moment.
clump.near(VEC<,FLT>) Find the closest clump to a point.
clump.num Get the number of clumps.
clump.pebble.clump(CLP_PNT) Get the pebble’s clump.
clump.pebble.contactmap(CLP_PNT<,INT><,PNT>) Get active contacts around a ball.
clump.pebble.contactmap.all(CLP_PNT<,INT><,PNT>) Get all contacts around a pebble.
clump.pebble.contactnum(CLP_PNT<,INT>) Get number of active contacts around a pebble.
clump.pebble.contactnum.all(CLP_PNT<,INT>) Get number of contacts around a pebble.
clump.pebble.delete(CLP_PNT) Delete a pebble.
clump.pebble.extra(CLP_PNT<,INT>) Get/set pebble extra variable.
clump.pebble.find(INT) Find a pebble.
clump.pebble.group(CLP_PNT<,STR>) Get/set pebble groups.
clump.pebble.group.remove(CL_PNT,STR) Remove pebble groups.
clump.pebble.groupmap(STR<,INT>) Get pebbles that belong to a group.
clump.pebble.id(CLP_PNT) Get the pebble ID.
clump.pebble.inbox(VEC,VEC<,BOOL>) Get clump pebbles with extents intersecting a box.
clump.pebble.isbonded(CL_PNT<,INT,PNT>) Get the clump pebble bonded state.
clump.pebble.isgroup(CLP_PNT,STR<,STR>) Query the existence of a group.
clump.pebble.isprop(CLP_PNT,STR) Query the existence of a property.
clump.pebble.list Get the global pebble list.
clump.pebble.maxid Get the maximum pebble ID.
clump.pebble.near(VEC<,FLT>) Find the closest pebble to a point.
clump.pebble.num Get the number of clump pebbles.
clump.pebble.pos(CLP_PNT<,INT>) Get/set the pebble position.
clump.pebble.prop(CLP_PNT,STR) Get/set a pebble property.
clump.pebble.radius(CLP_PNT) Get/set the pebble radius.
clump.pebble.typeid Get the pebble type number.
clump.pebble.vel(CLP_PNT<,INT>) Get the pebble velocity.
clump.pebblelist(CL_PNT) Get the pebbles of a clump.
clump.pos(CL_PNT<,INT>) Get/set the clump position.
clump.prop(CL_PNT,STR) Set a property of all pebbles.
clump.rotate(CL_PNT,VEC,FLT) Rotate a clump.
clump.rotation(CL_PNT)(2D ONLY) Get/set the clump orientation.
clump.scalesphere(CL_PNT,FLT) Scale the clump to an equivalent sphere.
clump.scalevol(CL_PNT,FLT) Scale the clump.
clump.spin(CL_PNT<,INT>) Get/set the clump angular velocity.
clump.template(CL_PNT) Get template associated with a clump.
clump.template.addpebble(CLT_PNT,FLT,VEC<,INT>) Add a pebble to a clump template.
clump.template.clone(CLT_PNT,STR) Clone a clump template.
clump.template.delete(CLT_PNT) Delete a clump template.
clump.template.deletepebble(CLT_PNT,CLP_PNT) Delete a pebble from a clump.
clump.template.euler(CL_PNT<,INT>)(3D ONLY) Get the clump template relative orientation.
clump.template.find(STR) Find a clump template.
clump.template.findpebble(INT) Find a clump template pebble.
clump.template.list Get the global clump template list.
clump.template.make(CL_PNT,STR) Make a clump template from a clump.
clump.template.maxid Get the maximum clump template ID.
clump.template.moi.prin(CLT_PNT<,INT>) Get the clump template principal moment of inertia.
clump.template.name(CLT_PNT) Get the clump template name.
clump.template.num Get the number of clump templates.
clump.template.origpos(CLT_PNT<,INT>) Get/set the clump template original position.
clump.template.pebblelist(CLT_PNT) Get the pebbles of a clump template.
clump.template.scale(CL_PNT) Get clump template relative scaling factor.
clump.template.typeid Get the clump template type number.
clump.template.vol(CLT_PNT) Get/set the clump template volume.
clump.typeid Get the clump type number.
clump.vel(CL_PNT<,INT>) Get/set the clump velocity.
clump.vol(CL_PNT) Get/set the clump volume.

Wall FISH functions

wall.addfacet(W_PNT,VEC,ANY) Add a facet.
wall.closed(W_PNT) Get the wall closure status.
wall.contactmap(W_PNT<,INT><,PNT>) Get active contacts around a wall.
wall.contactmap.all(W_PNT<,INT><,PNT>) Get all contacts around a wall.
wall.contactnum(W_PNT<,INT>) Get number of active contacts around a wall.
wall.contactnum.all(W_PNT<,INT>) Get number of contacts around a wall.
wall.convex(W_PNT) Get the convexity status.
wall.cutoff(W_PNT) Get/set the cutoff angle.
wall.delete(W_PNT) Delete a wall.
wall.disp(W_PNT<,INT>) Get/set the wall displacement.
wall.energy(STR) Get the wall total energy contribution.
wall.euler(W_PNT<,INT>)(3D ONLY) Get/set the wall orientation.
wall.extra(W_PNT<,INT>) Get/set wall extra variable.
wall.facet.active(WF_PNT) Get/set the facet activity.
wall.facet.contactmap(WF_PNT<,INT><,PNT>) Get active contacts around a facet.
wall.facet.contactmap.all(WF_PNT<,INT><,PNT>) Get all contacts around a facet.
wall.facet.contactnum(WF_PNT<,INT>) Get number of contacts around a facet.
wall.facet.contactnum.all(WF_PNT<,INT>) Get number of contacts around a facet.
wall.facet.conveyor(WF_PNT<,INT>) Get/set the facet conveyor velocity.
wall.facet.delete(WF_PNT) Delete a facet.
wall.facet.extra(WF_PNT<,INT>) Get/set facet extra variable.
wall.facet.find(INT) Find a facet.
wall.facet.group(WF_PNT<,STR>) Get/set facet groups.
wall.facet.group.remove(WF_PNT,STR) Remove facet groups.
wall.facet.groupmap(STR<,INT>) Get facets that belong to a group.
wall.facet.id(WF_PNT) Get the facet ID.
wall.facet.inbox(VEC,VEC<,BOOL>) Get facets with extents intersecting a box.
wall.facet.isbonded(WF_PNT<,INT,PNT>) Get the wall facet bonded state.
wall.facet.isgroup(WF_PNT,STR<,STR>) Query the existence of a group.
wall.facet.isprop(WF_PNT,STR) Query the existence of a property.
wall.facet.list Get the global facet list.
wall.facet.maxid Get the maximum facet ID.
wall.facet.near(VEC<,W_PNT,FLT>) Find the closest facet to a point.
wall.facet.normal(WF_PNT<,INT>) Get the facet normal.
wall.facet.num Get the number of facets.
wall.facet.pair(WF_PNT,INT) Get a neighboring facet.
wall.facet.pointnear(WF_PNT,VEC) Get the closest point on the facet to another point.
wall.facet.pos(WF_PNT<,INT>) Get the facet position.
wall.facet.prop(WF_PNT,STR) Get/set a facet property.
wall.facet.typeid Get the facet type number.
wall.facet.vertex(WF_PNT,INT) Get the facet vertex.
wall.facet.wall(WF_PNT) Get the facet’s wall.
wall.facetlist(W_PNT) Get the facets of a wall.
wall.find(INT) Find a wall.
wall.force.contact(W_PNT<,INT>) Get the sum of all contact forces acting on a...
wall.fragment(W_PNT) Get/set wall fragment ID.
wall.group(W_PNT<,STR>) Get/set wall groups.
wall.group.remove(W_PNT,STR) Remove wall groups.
wall.groupmap(STR<,INT>) Get walls that belong to a group.
wall.id(W_PNT) Get the wall ID.
wall.inbox(VEC,VEC<,BOOL>) Get walls with extents intersecting a box.
wall.inside(W_PNT,VEC) Test whether a point is inside a wall.
wall.isbonded(W_PNT<,INT,PNT>) Get the wall bonded state.
wall.isgroup(W_PNT,STR<,STR>) Query the existence of a group.
wall.list Get the global wall list.
wall.maxid Get the maximum wall ID.
wall.moment.contact(W_PNT<,INT>) Get the wall contact moment.
wall.name(W_PNT) Get the wall name.
wall.near(VEC<,FLT>) Find the closest wall to a point.
wall.num Get the number of walls.
wall.pos(W_PNT<,INT>) Get/set the wall position.
wall.prop(W_PNT,STR) Set a property of all facets.
wall.rotation(W_PNT)(2D ONLY) Get/set the wall orientation.
wall.rotation.center(W_PNT<,INT>) Get/set the wall center of rotation.
wall.spin(W_PNT<,INT>) Get/set the wall angular velocity.
wall.typeid Get the wall type number.
wall.vel(W_PNT<,INT>) Get/set the wall velocity.
wall.vertex.delete(WV_PNT) Delete the vertex.
wall.vertex.facetarray(WV_PNT) Get the array of facets sharing a vertex.
wall.vertex.find(INT) Find a vertex.
wall.vertex.id(WV_PNT) Get the vertex ID.
wall.vertex.inbox(VEC,VEC) Get wall vertices in a box.
wall.vertex.list Get the global vertex list.
wall.vertex.maxid Get the maximum vertex ID.
wall.vertex.near(VEC<,FLT>) Find the closest vertex to a point.
wall.vertex.num Get the number of wall vertices.
wall.vertex.pos(WV_PNT<,INT>) Get/set the vertex position.
wall.vertex.typeid Get the vertex type number.
wall.vertex.vel(WV_PNT<,INT>) Get/set the vertex velocity.
wall.vertexlist(W_PNT) Get the vertices of a wall.

Rblock FISH functions

rblock.aspect.ratio(RB_PNT) Get the rigid block aspect ratio.
rblock.ball.pos(RB_PNT<,INT>) Get the rigid block ball position.
rblock.ball.radius(RB_PNT) Get the rigid block ball radius.
rblock.collide(RB_PNT,RB_PNT) Get the intersection status of two rigid blocks.
rblock.contactmap(RB_PNT<,INT,PNT>) Get active contacts around a rblock.
rblock.contactmap.all(RB_PNT<,INT,PNT>) Get all contacts around a rigid block.
rblock.contactnum(RB_PNT<,INT>) Get number of active contacts around a rblock.
rblock.contactnum.all(RB_PNT<,INT>) Get number of contacts around a rblock.
rblock.damp(RB_PNT) Get/set rigid block local damping factor.
rblock.delete(RB_PNT) Delete a rigid block.
rblock.density(RB_PNT) Get/set rigid block density.
rblock.disp(RB_PNT<,INT>) Get/set the rigid block displacement.
rblock.energy(STR) Get the rigid block total energy contribution.
rblock.euler(RB_PNT<,INT>)(3D ONLY) Get/set the rigid block orientation.
rblock.extra(RB_PNT<,INT>) Get/set rigid block extra variable.
rblock.facet.area(RB_PNT,INT) Get the rigid block facet area.
rblock.facet.centroid(RB_PNT,INT<,INT>) Get the facet centroid.
rblock.facet.closest(RB_PNT,INT,VEC<,INT>) Get the closest point on a facet.
rblock.facet.map(RB_PNT) Get the facet map.
rblock.facet.normal(RB_PNT,INT<,INT>) Get the facet normal.
rblock.facet.num(RB_PNT) Get the facet count.
rblock.facet.vertex.pos(RB_PNT,INT,INT<,INT>) Get the facet vertex position.
rblock.find(INT) Find a rigid block.
rblock.fix(RB_PNT,INT) Get/set rigid block fixity condition.
rblock.force.app(RB_PNT<,INT>) Get/set the rigid block applied force.
rblock.force.contact(RB_PNT<,INT>) Get/set the rigid block contact force.
rblock.force.unbal(RB_PNT<,INT>) Get the rigid block unbalanced force.
rblock.fragment(RB_PNT) Get/set rigid block fragment ID.
rblock.group(RB_PNT<,STR>) Get/set rigid block groups.
rblock.group.remove(RB_PNT,STR) Remove rigid block groups.
rblock.groupmap(STR<,INT>) Get rigid blocks that belong to a group.
rblock.id(RB_PNT) Get the rigid block ID.
rblock.inbox(VEC,VEC<,BOOL>) Get rigid blocks with extents intersecting a box.
rblock.inglobal(RB_PNT,VEC) Rotate a vector from principal system.
rblock.inprin(RB_PNT,VEC) Rotate a vector to principal system.
rblock.isbonded(RB_PNT<,INT,PNT>) Get the rigid block bonded state.
rblock.isgroup(RB_PNT,STR<,STR>) Query the existence of a group.
rblock.isprop(RB_PNT,STR) Query the existence of a property.
rblock.list Get the global rigid block list.
rblock.mass(RB_PNT) Get the inertial rigid block mass.
rblock.mass.real(RB_PNT) Get the real (gravitational) rigid block mass.
rblock.maxid Get the maximum rigid block ID.
rblock.mech.ratio.avg Get the rigid block average unbalanced force ratio.
rblock.mech.ratio.local Get the rigid block maximum local unbalanced force ratio.
rblock.mech.ratio.max Get the rigid block maximum unbalanced force ratio.
rblock.mech.unbal.max Get the rigid block maximum unbalanced force.
rblock.moi(RB_PNT<,INT<,INT>>) Get the rigid block moment of inertia.
rblock.moi.fix(RB_PNT) Get/set the moment of inertia fixity state.
rblock.moi.prin(RB_PNT<,INT>) Get the rigid block principal moment of inertia.
rblock.moi.prin.real(RB_PNT<,INT>) Get/set the rigid block real principal moment of inertia.
rblock.moi.real(RB_PNT<,INT<,INT>>) Get/set the rigid block real moment of inertia.
rblock.moment.app(RB_PNT<,INT>) Get/set the rigid block applied moment.
rblock.moment.contact(RB_PNT<,INT>) Get/set the rigid block contact moment.
rblock.moment.unbal(RB_PNT<,INT>) Get the rigid block unbalanced moment.
rblock.near(VEC<,FLT>) Find the closest rigid block to a point.
rblock.num Get the number of rigid blocks.
rblock.pos(RB_PNT<,INT>) Get/set the rigid block position.
rblock.prop(RB_PNT,STR) Get/set a rigid block property.
rblock.rotation(RB_PNT)(2D ONLY) Get/set the rigid block orientation.
rblock.rounding(RB_PNT) Get the rigid block rounding.
rblock.scalesphere(RB_PNT,FLT) Scale the rigid block to an equivalent sphere.
rblock.scalevol(RB_PNT,FLT) Scale the rigid block.
rblock.spin(RB_PNT<,INT>) Get/set the rigid block angular velocity.
rblock.stress(RB_PNT<,INT,INT>) Get the stress tensor arising from all contacts acting on...
rblock.template.delete(RBT_PNT) Delete a rigid block template.
rblock.template.find(INT) Find a rigid block template.
rblock.template.list Get the global rigid block template list.
rblock.template.maxid Get the maximum rigid block template ID.
rblock.template.moi(RBT_PNT<,INT<,INT>>) Get the rigid block template moment of inertia.
rblock.template.moi.prin(RBT_PNT<,INT>) Get the rigid block template principal moment of inertia.
rblock.template.name(RBT_PNT) Get the rigid block template name.
rblock.template.num Get the number of rigid block templates.
rblock.template.typeid Get the rigid block template type number.
rblock.template.vol(RBT_PNT) Get/set the rigid block template volume.
rblock.typeid Get the rigid block type number.
rblock.vel(RB_PNT<,INT>) Get/set the rigid block velocity.
rblock.vertex.map(RB_PNT) Get the vertex map.
rblock.vertex.num(RB_PNT) Get the vertex count.
rblock.vertex.pos(RB_PNT,INT) Get the vertex position.
rblock.vol(RB_PNT) Get/set the rigid block volume.

Contact FISH functions

contact.activate(C_PNT) Get/set the contact always active flag.
contact.active(C_PNT) Get the contact activity state .
contact.branch(C_PNT<,INT>) Get the contact branch vector.
contact.end1(C_PNT) Get a pointer to the first end of a contact.
contact.end2(C_PNT) Get a pointer to the second end of a contact.
contact.energy(C_PNT,STR) Get the current value of an energy partition.
contact.energy.sum(STR<,STR>) Get the current value of an energy partition accumulated over...
contact.extra(C_PNT<,INT>) Get/set contact extra variable.
contact.fid(C_PNT) Get the contact fracture ID.
contact.find(STR/INT,INT<,INT>) Find a contact.
contact.force.from.stress(C_PNT,MAT_PNT/TEN_PNT) Get the equivalent contact force.
contact.gap(C_PNT) Get the current value of the contact gap.
contact.group(C_PNT<,STR>) Get/set contact groups.
contact.group.remove(C_PNT,STR) Remove contact groups.
contact.groupmap(STR<,INT,STR>) Get active contacts that belong to a group.
contact.groupmap.all(STR<,INT,STR>) Get all contacts that belong to a group.
contact.id(C_PNT) Get the contact ID.
contact.inherit(C_PNT,STR) Get/set the property inheritance.
contact.inhibit(C_PNT) Get/set the contact inhibit flag.
contact.isbonded(C_PNT) Get the bonded status.
contact.isenergy(C_PNT,STR) Query the existence of a contact model energy partition.
contact.isgroup(C_PNT,STR<,STR>) Query the existence of a group.
contact.isprop(C_PNT,STR) Query the existence of a contact model property.
contact.list(<STR>) Access the active contacts list.
contact.list.all(<STR>) Access the entire contact list, including inactive contacts.
contact.method(C_PNT,STR<,ARR_PNT>) Execute a contact model method.
contact.model(C_PNT) Get/set a contact model.
contact.normal(C_PNT<,INT>) Get the contact unit normal.
contact.num(<STR>) Return the number of active contacts.
contact.num.all(<STR>) Return the number of contacts, including inactive ones.
contact.offset(C_PNT<,INT>) Get the contact offset.
contact.otherend(C_PNT,SYM) Get the other end of a contact.
contact.persist(C_PNT) Get/set the persistence flag.
contact.pos(C_PNT<,INT>) Get the contact position.
contact.prop(C_PNT,STR) Get/set a contact model property.
contact.shear(C_PNT<,INT>) Get the contact shear direction.
contact.typeid(STR) Get the unique integer identifier associated with a contact type.