Public Member Functions

OpenTissue::mbd::SequentialTruncatingCollisionResolver< mbd_types, collision_law_policy >::ContactPointComparision Struct Reference

#include <mbd_sequential_truncating_collision_resolver.h>

List of all members.

Public Member Functions

bool operator() (contact_type const *x, contact_type const *y) const

Detailed Description

template<typename mbd_types, typename collision_law_policy>
struct OpenTissue::mbd::SequentialTruncatingCollisionResolver< mbd_types, collision_law_policy >::ContactPointComparision

This functor is used for sorting contacts in a heap data structure.

Contacts should be sorted such that the first element has the smallest relative normal contact velocity (i.e. largest negative value).


Member Function Documentation

template<typename mbd_types, typename collision_law_policy>
bool OpenTissue::mbd::SequentialTruncatingCollisionResolver< mbd_types, collision_law_policy >::ContactPointComparision::operator() ( contact_type const *  x,
contact_type const *  y 
) const [inline]

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