Contact filter for parallel execution of collision detection.
This contact filter decides if a contact should be treated on this process. Contact filtering has to be applied to avoid double treatment by multiple processes.
#include <ContactFilter.h>
Public Member Functions | |
ContactFilter ()=default | |
ContactFilter (const ContactFilter &other)=default | |
ContactFilter (ContactFilter &&other)=default | |
ContactFilter & | operator= (const ContactFilter &other)=default |
ContactFilter & | operator= (ContactFilter &&other)=default |
template<typename Accessor > | |
bool | operator() (const size_t idx1, const size_t idx2, Accessor &ac, const Vec3 &contactPoint, const domain::IDomain &domain) const |
Private Attributes | |
uint_t | myRank_ = uint_c( walberla::mpi::MPIManager::instance()->rank() ) |
|
default |
|
default |
|
default |
|
inline |
idx1 | index of the first collision partner |
idx2 | index of the second collision partner |
ac | accessor data structure to access particle properties |
contactPoint | contact point of the two particles |
domain | domain datastructure |
|
default |
|
default |
|
private |