ESyS-Particle
4.0.1
|
Class to represent the common part of a pair interaction, i.e. the IDs of the particles and the interaction tag. More...
#include <BasicInteraction.h>
Public Types | |
typedef int | Id |
typedef int | Tag |
Public Member Functions | |
BasicInteraction (Id id1, Id id2, Tag tag=0) | |
Id | first () const |
Id | second () const |
Id | getP1Id () const |
Id | getP2Id () const |
Tag | getTag () const |
template<typename TmplVisitor > | |
void | visit (TmplVisitor &visitor) const |
Friends | |
class | BILess |
std::ostream & | operator<< (std::ostream &, const BasicInteraction &) |
Class to represent the common part of a pair interaction, i.e. the IDs of the particles and the interaction tag.