Subroutine Type |
Utility/Data Access |
|||||
Definition |
Used to extract the number of rigid body contacts during the simulation |
|||||
Use |
This subroutine can be used to extract the number of active rigid body contacts in MotionSolve |
|||||
Calling Syntax |
FortranCALL GET_NCONTACTS(ID, I_GRA_ID, J_GRA_ID, NCONTACTS, ERRFLG)
Cc_get_ncontacts(id, i_gra_id, j_gra_id, ncontacts, errflg)
Python[ncontacts, errflg] = py_get_ncontacts(id, i_gra_id, j_gra_id): |
|||||
Input Arguments |
[integer] ID |
The ID of the contact force modeling element (Force_Contact in the XML) for which the results are desired. |
||||
[integer] I_GRA_ID |
The ID of the I body’s graphic representation. |
|||||
[integer] J_GRA_ID |
The ID of the J body’s graphic representation. |
|||||
Output Values |
[integer] NCONTACTS |
An integer value that represents the number of active contacts at the current time step. |
||||
[logical] ERRFLG |
A value that is true if an error occurs during the call to GET_NCONTACTS |
|||||
Comments |
|
See Also: