List of all members.
Detailed Description
template<typename mbd_types, typename collision_law_policy>
class OpenTissue::mbd::SequentialCollisionResolver< mbd_types, collision_law_policy >
A Sequential Collision Resolver. This collision resovler can be used with any collision law by specifying the collision law as a template policy.
The algorithm iterates over all contacs in the specified group, in an increasing order determined by their relative contact velocity in the normal direction.
In some cases such a scheme may fail, entering a inifinite loop, or even computational death due to very slow convergence.ly off, but by default it is on.
Notice that if one by any chance uses negative values of coefficient of restitution this algorithm will enter an infinite loop.
Member Typedef Documentation
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
Constructor & Destructor Documentation
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
Member Function Documentation
template<typename mbd_types, typename collision_law_policy>
template<typename iterator >
Initialize Heap
- Parameters:
-
| cbegin | The position of the first contact in a range. |
| cend | The position one past the last contact in a range. |
| S | The heap. |
template<typename mbd_types, typename collision_law_policy>
Get Minimum element from Heap.
- Parameters:
-
- Returns:
- A pointer to the contact point with smallest contact normal velocity.
template<typename mbd_types, typename collision_law_policy>
template<typename mbd_types, typename collision_law_policy>
Update Contact Point.
- Parameters:
-
| cp | A pointer to the contact that should be updated. That is its relative normal contact velocity is re-computed. |
template<typename mbd_types, typename collision_law_policy>
Update All Dependent Contacts. This method updates all contacts that shares a body with the specified contact. The contact graph data structure is used to quickly identify the contacts that needs to be updated.
- Parameters:
-
| cp | The contact point indicating the bodies that are shared. |
template<typename mbd_types, typename collision_law_policy>
Update Heap.
- Parameters:
-
| S | The heap that should be updated. |
The documentation for this class was generated from the following file: