ESyS-Particle  2.3.4
esys::lsm::ContactCollection Class Reference

#include <ContactCollection.h>

Classes

class  ContactIteratorIterator
 

Public Types

typedef esys::lsm::Contact Contact
 
typedef esys::lsm::Vec3XyzComparer Vec3Comparer
 
typedef std::vector< ContactContactVector
 
typedef ForwardIterator< ContactVectorContactIterator
 
typedef std::map< Vec3, ContactVector, Vec3ComparerContactMap
 

Public Member Functions

 ContactCollection ()
 
void addContact (const Contact &contact)
 
void addContactWithReverse (const Contact &contact)
 
template<typename TmplInteractionData >
void addInteraction (const TmplInteractionData &interactionData)
 
template<typename TmplIterator >
void addInteractions (TmplIterator &iterator)
 
ContactVector getContactVector (const Vec3 &centrePt) const
 
ContactIteratorIterator getContactIteratorIterator ()
 

Private Attributes

ContactMap m_contactMap
 

Member Typedef Documentation

◆ Contact

◆ ContactIterator

◆ ContactMap

◆ ContactVector

◆ Vec3Comparer

Constructor & Destructor Documentation

◆ ContactCollection()

esys::lsm::ContactCollection::ContactCollection ( )
inline

Member Function Documentation

◆ addContact()

void esys::lsm::ContactCollection::addContact ( const Contact contact)
inline

References esys::lsm::Contact::getCentrePos1(), and m_contactMap.

Referenced by addContactWithReverse().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addContactWithReverse()

void esys::lsm::ContactCollection::addContactWithReverse ( const Contact contact)
inline

References addContact(), esys::lsm::Contact::getForce(), esys::lsm::Contact::getForcePos(), esys::lsm::Contact::getParticle1(), and esys::lsm::Contact::getParticle2().

Referenced by addInteraction().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addInteraction()

template<typename TmplInteractionData >
void esys::lsm::ContactCollection::addInteraction ( const TmplInteractionData &  interactionData)
inline

References addContactWithReverse(), and Vec3::ZERO.

Referenced by addInteractions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addInteractions()

template<typename TmplIterator >
void esys::lsm::ContactCollection::addInteractions ( TmplIterator &  iterator)
inline

References addInteraction().

Referenced by esys::lsm::InteractionToStressConverter::addRaw2Interactions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getContactIteratorIterator()

ContactIteratorIterator esys::lsm::ContactCollection::getContactIteratorIterator ( )
inline

References m_contactMap.

Referenced by esys::lsm::InteractionToStressConverter::addRaw2Interactions().

Here is the caller graph for this function:

◆ getContactVector()

ContactVector esys::lsm::ContactCollection::getContactVector ( const Vec3 centrePt) const
inline

References m_contactMap.

Member Data Documentation

◆ m_contactMap

ContactMap esys::lsm::ContactCollection::m_contactMap
private

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