FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | List of all members
masterslavejointtypemodule::getptrtoid Interface Reference

Returns pointer to object with specified ID. More...

Public Member Functions

type(masterslavejointtype) function, pointer getptrtoidjoint (array, id, index, jointType)
 Return pointer to (first) joint with specified id. More...
 

Detailed Description

Returns pointer to object with specified ID.

Member Function/Subroutine Documentation

◆ getptrtoidjoint()

type(masterslavejointtype) function, pointer masterslavejointtypemodule::getptrtoid::getptrtoidjoint ( type(masterslavejointtype), dimension(:), intent(in), target  array,
integer, intent(in)  id,
integer, intent(out), optional  index,
integer, intent(in), optional  jointType 
)

Return pointer to (first) joint with specified id.

Parameters
[in]arrayArray of masterslavejointtypemodule::masterslavejointtype objects to search within
[in]idBase ID of the object to search for
[out]indexThe array index of the found object
[in]jointTypeSpecified joint type to search for

If the joint is not found, NULL is returned. Optionally, the userID for a specified jointType is searched for (default is to search for baseID and any joint type).

Author
Bjorn Haugen / Knut Morten Okstad
Date
17 Dec 2009

The documentation for this interface was generated from the following file: