joint()
provide general information of a given rigid body being in joint/link-contact with other bodies
-
- iJNT : then index of the joint/link between the rigid body and another body. There might be several, the number of which should be known to the user.
- iItem : what item to provide by this function; it can be on of the following
- iMOVE : move flag of the rigid body, i.e. the $moveName$ given in the MOVE($moveName$) = ( %MOVE_rigid%, ... ) statement
Example
begin_timestepfile{"myfile.timestep"}
INTEGRATION(1) = (
%PUBLICVALUE%, [real(
%RealTimeSimulation%)], %INTEGRATION_Header%, "time" )
INTEGRATION(2) = (
%PUBLICVALUE%, [joint(1,
%EQN_JOINT_x(1)%,
$MOVE_RB1$)],
%INTEGRATION_Header%, "location of joint" )
INTEGRATION(3) = (
%PUBLICVALUE%, [joint(1,
%EQN_JOINT_F(1)%,
$MOVE_RB1$)],
%INTEGRATION_Header%, "force at of joint" )
end_timestepfile