walberla::pe::ccd::ICCD Class Referenceabstract

#include <ICCD.h>

+ Inheritance diagram for walberla::pe::ccd::ICCD:

Public Member Functions

virtual ~ICCD ()=default
 
virtual PossibleContactsgeneratePossibleContacts (WcTimingTree *tt=nullptr)=0
 Generates a list of possible contact pairs. More...
 
PossibleContactsgetPossibleContacts ()
 
virtual void reloadBodies ()
 
virtual int getObservedBodyCount () const =0
 

Protected Attributes

PossibleContacts contacts_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ~ICCD()

virtual walberla::pe::ccd::ICCD::~ICCD ( )
virtualdefault

Member Function Documentation

◆ generatePossibleContacts()

virtual PossibleContacts& walberla::pe::ccd::ICCD::generatePossibleContacts ( WcTimingTree tt = nullptr)
pure virtual

Generates a list of possible contact pairs.

This list is also stored in the member variable contacts_ for reuse lateron.

Implemented in walberla::pe::ccd::HashGrids, and walberla::pe::ccd::SimpleCCD.

◆ getObservedBodyCount()

virtual int walberla::pe::ccd::ICCD::getObservedBodyCount ( ) const
pure virtual

◆ getPossibleContacts()

PossibleContacts& walberla::pe::ccd::ICCD::getPossibleContacts ( )
inline

◆ reloadBodies()

virtual void walberla::pe::ccd::ICCD::reloadBodies ( )
inlinevirtual

Reimplemented in walberla::pe::ccd::HashGrids.

Member Data Documentation

◆ contacts_

PossibleContacts walberla::pe::ccd::ICCD::contacts_
protected

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