31 label queryOrigProcOfOther,
32 label queryOrigIdOfOther
37 queryOrigProcOfOther == origProcOfOther()
38 && queryOrigIdOfOther == origIdOfOther()
46 return mag(origProcOfOther_) - 1;
53 return origIdOfOther_;
75 return pos0(origProcOfOther_);
82 origProcOfOther_ = origProcOfOther() + 1;
89 origProcOfOther_ = -(origProcOfOther() + 1);
96 inline bool Foam::operator==
104 a.origProcOfOther_ ==
b.origProcOfOther_
105 && a.origIdOfOther_ ==
b.origIdOfOther_
106 && a.data_ ==
b.data_
112 inline bool Foam::operator!=
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)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensioned< scalar > mag(const dimensioned< Type > &)