33 label queryOrigProcOfOther,
34 label queryOrigIdOfOther
48 return mag(origProcOfOther_) - 1;
55 return origIdOfOther_;
77 return pos0(origProcOfOther_);
91 origProcOfOther_ = -(origProcOfOther() + 1);
98inline bool Foam::operator==
100 const PairCollisionRecord<Type>& a,
101 const PairCollisionRecord<Type>&
b
106 a.origProcOfOther_ ==
b.origProcOfOther_
107 && a.origIdOfOther_ ==
b.origIdOfOther_
108 && a.data_ ==
b.data_
114inline bool Foam::operator!=
116 const PairCollisionRecord<Type>& a,
117 const PairCollisionRecord<Type>&
b
Record of a collision between the particle holding the record and the particle with the stored id.
bool match(label queryOrigProcOfOther, label queryOrigIdOfOther) const
label origIdOfOther() const
Return the origIdOfOther data.
void setAccessed()
Set the accessed property of the record to accessed.
const Type & collisionData() const
Return access to the collision data.
bool accessed() const
Return the accessed status of the record.
void setUnaccessed()
Set the accessed property of the record to unaccessed.
label origProcOfOther() const
Return the origProcOfOther data.
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)