Uses CollideFunctor to call collide function without additional namespace inclusion.
#include <GenericFCD.h>
Public Member Functions | |
Contacts & | generateContacts (PossibleContacts &possibleContacts) override |
generates a list of actual collisions More... | |
Public Member Functions inherited from walberla::pe::fcd::IFCD | |
virtual | ~IFCD ()=default |
Contacts & | getContacts () |
returns saved list of contacts More... | |
Additional Inherited Members | |
Protected Attributes inherited from walberla::pe::fcd::IFCD | |
Contacts | contacts_ |
|
inlineoverridevirtual |
generates a list of actual collisions
Takes a list of possible contacts (pair of BodyIDs) and checks them for actual collision. All generated contacts are stored in the member variable contacts_ for later reuse. Returns a list containing all contact points detected.
possibleContacts | list of possible contacts generated by coarse collision detection |
Implements walberla::pe::fcd::IFCD.