39 #ifndef CollisionRecordList_H 40 #define CollisionRecordList_H 52 template<
class PairType,
class WallType>
55 template<
class PairType,
class WallType>
56 inline bool operator==
62 template<
class PairType,
class WallType>
63 inline bool operator!=
69 template<
class PairType,
class WallType>
72 template<
class PairType,
class WallType>
73 Ostream& operator<<(Ostream&, const CollisionRecordList<PairType, WallType>&);
80 template<
class PairType,
class WallType>
171 label origProcOfOther,
202 friend bool operator== <PairType, WallType>
208 friend bool operator!= <PairType, WallType>
217 friend Istream&
operator>> <PairType, WallType>
223 friend Ostream& operator<< <PairType, WallType>
Field< WallType > wallData() const
Return field of wall data from each record, used for field IO.
labelField wallAccessed() const
Return field of wall accessed from each record, used for field IO.
const DynamicList< PairCollisionRecord< PairType > > & pairRecords() const
Return the active pair collisions.
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.
labelField pairAccessed() const
Return field of pair accessed from each record, used for.
void update()
Update the collision records, deleting any records not.
bool checkWallRecord(const vector &pRel, scalar radius)
Enquire if the specified record exists without modifying.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
Istream & operator>>(Istream &, directionInfo &)
labelField pairOrigProcOfOther() const
Return field of pair origProcOfOther from each record,.
labelField pairOrigIdOfOther() const
Return field of pair origIdOfOther from each record, used.
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.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
CollisionRecordList()=default
Default construct.
Record of a collision between the particle holding the record and a wall face at the position relativ...
const DynamicList< WallCollisionRecord< WallType > > & wallRecords() const
Return the active wall collisions.
WallCollisionRecord< WallType > & matchWallRecord(const vector &pRel, scalar radius)
Enquires if the position of wall impact relative to the.
Record of a collision between the particle holding the record and the particle with the stored id...
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.