Go to the documentation of this file.
38 #ifndef CollisionRecordList_H
39 #define CollisionRecordList_H
51 template<
class PairType,
class WallType>
54 template<
class PairType,
class WallType>
55 inline bool operator==
61 template<
class PairType,
class WallType>
62 inline bool operator!=
68 template<
class PairType,
class WallType>
71 template<
class PairType,
class WallType>
79 template<
class PairType,
class WallType>
170 label origProcOfOther,
206 friend bool operator== <PairType, WallType>
212 friend bool operator!= <PairType, WallType>
221 friend Istream&
operator>> <PairType, WallType>
227 friend Ostream& operator<< <PairType, WallType>
const DynamicList< PairCollisionRecord< PairType > > & pairRecords() const
Return the active pair collisions.
vectorField wallPRel() const
Return field of wall pRel from each record, used for field IO.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
labelField wallAccessed() const
Return field of wall accessed from each record, used for field IO.
Istream & operator>>(Istream &, directionInfo &)
labelField pairOrigIdOfOther() const
Return field of pair origIdOfOther from each record, used.
void operator=(const CollisionRecordList &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool checkWallRecord(const vector &pRel, scalar radius)
Enquire if the specified record exists without modifying.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool checkPairRecord(label origProcOfOther, label origIdOfOther)
Enquire if the specified record exists without modifying.
~CollisionRecordList()
Destructor.
Field< PairType > pairData() const
Return field of pair data from each record, used for field IO.
Record of a collision between the particle holding the record and a wall face at the position relativ...
Record of a collision between the particle holding the record and the particle with the stored id.
labelField pairOrigProcOfOther() const
Return field of pair origProcOfOther from each record,.
Field< WallType > wallData() const
Return field of wall data from each record, used for field IO.
void update()
Update the collision records, deleting any records not.
PairCollisionRecord< PairType > & matchPairRecord(label origProcOfOther, label origIdOfOther)
Enquires if the proc and id pair of the other particle are.
const DynamicList< WallCollisionRecord< WallType > > & wallRecords() const
Return the active wall collisions.
CollisionRecordList()
Construct null.
labelField pairAccessed() const
Return field of pair accessed from each record, used for.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & operator<<(Ostream &, const boundaryPatch &)
WallCollisionRecord< WallType > & matchWallRecord(const vector &pRel, scalar radius)
Enquires if the position of wall impact relative to the.