ESyS-Particle  4.0.1
Public Types | Public Member Functions | Friends | List of all members
BasicInteraction Class Reference

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 &)

Detailed Description

Class to represent the common part of a pair interaction, i.e. the IDs of the particles and the interaction tag.

Author
Steffen Abe

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