walberla::pe::fcd::IFCD Class Referenceabstract

#include <IFCD.h>

+ Inheritance diagram for walberla::pe::fcd::IFCD:

Public Member Functions

virtual ~IFCD ()
virtual ContactsgenerateContacts (PossibleContacts &possibleContacts)=0
 generates a list of actual collisions More...
ContactsgetContacts ()
 returns saved list of contacts More...

Protected Attributes

Contacts contacts_

Additional Inherited Members

- Private Member Functions inherited from walberla::NonCopyable
 NonCopyable ()
 ~NonCopyable ()

Constructor & Destructor Documentation

◆ ~IFCD()

virtual walberla::pe::fcd::IFCD::~IFCD ( )

Member Function Documentation

◆ generateContacts()

virtual Contacts& walberla::pe::fcd::IFCD::generateContacts ( PossibleContacts possibleContacts)
pure virtual

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.

possibleContactslist of possible contacts generated by coarse collision detection
list of actual contacts

Implemented in walberla::pe::fcd::GenericFCD< BodyTypeTuple, CollisionFunctor >, and walberla::pe::fcd::GenericFCD< BodyTypeTuple, AnalyticCollideFunctor >.

◆ getContacts()

Contacts& walberla::pe::fcd::IFCD::getContacts ( )

returns saved list of contacts

Member Data Documentation

◆ contacts_

Contacts walberla::pe::fcd::IFCD::contacts_

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