36 #ifndef CollisionRecordList_H 37 #define CollisionRecordList_H 49 template<
class PairType,
class WallType>
52 template<
class PairType,
class WallType>
53 inline bool operator==
59 template<
class PairType,
class WallType>
60 inline bool operator!=
66 template<
class PairType,
class WallType>
69 template<
class PairType,
class WallType>
70 Ostream& operator<<(Ostream&, const CollisionRecordList<PairType, WallType>&);
77 template<
class PairType,
class WallType>
168 label origProcOfOther,
204 friend bool operator== <PairType, WallType>
207 const CollisionRecordList<PairType, WallType>&
210 friend bool operator!= <PairType, WallType>
212 const CollisionRecordList<PairType, WallType>&,
213 const CollisionRecordList<PairType, WallType>&
219 friend Istream&
operator>> <PairType, WallType>
222 CollisionRecordList<PairType, WallType>&
225 friend Ostream& operator<< <PairType, WallType>
228 const CollisionRecordList<PairType, WallType>&
~CollisionRecordList()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Field< PairType > pairData() const
Return field of pair data from each record, used for field IO.
void update()
Update the collision records, deleting any records not.
void operator=(const CollisionRecordList &)
CollisionRecordList()
Construct null.
Field< WallType > wallData() const
Return field of wall data from each record, used for field IO.
bool checkWallRecord(const vector &pRel, scalar radius)
Enquire if the specified record exists without modifying.
labelField pairOrigProcOfOther() const
Return field of pair origProcOfOther from each record,.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
Istream & operator>>(Istream &, directionInfo &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
PairCollisionRecord< PairType > & matchPairRecord(label origProcOfOther, label origIdOfOther)
Enquires if the proc and id pair of the other particle are.
Record of a collision between the particle holding the record and a wall face at the position relativ...
WallCollisionRecord< WallType > & matchWallRecord(const vector &pRel, scalar radius)
Enquires if the position of wall impact relative to the.
const DynamicList< WallCollisionRecord< WallType > > & wallRecords() const
Return the active wall collisions.
labelField pairOrigIdOfOther() const
Return field of pair origIdOfOther from each record, used.
const DynamicList< PairCollisionRecord< PairType > > & pairRecords() const
Return the active pair collisions.
Record of a collision between the particle holding the record and the particle with the stored id...
labelField wallAccessed() const
Return field of wall accessed from each record, used for field IO.
vectorField wallPRel() const
Return field of wall pRel from each record, used for field IO.
bool checkPairRecord(label origProcOfOther, label origIdOfOther)
Enquire if the specified record exists without modifying.
labelField pairAccessed() const
Return field of pair accessed from each record, used for.