Go to the documentation of this file.
33 label queryOrigProcOfOther,
34 label queryOrigIdOfOther
39 queryOrigProcOfOther == origProcOfOther()
40 && queryOrigIdOfOther == origIdOfOther()
48 return mag(origProcOfOther_) - 1;
55 return origIdOfOther_;
77 return pos0(origProcOfOther_);
84 origProcOfOther_ = origProcOfOther() + 1;
91 origProcOfOther_ = -(origProcOfOther() + 1);
98 inline bool Foam::operator==
106 a.origProcOfOther_ ==
b.origProcOfOther_
107 && a.origIdOfOther_ ==
b.origIdOfOther_
108 && a.data_ ==
b.data_
114 inline bool Foam::operator!=
bool accessed() const
Return the accessed status of the record.
dimensionedScalar pos0(const dimensionedScalar &ds)
const Type & collisionData() const
Return access to the collision data.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
bool match(label queryOrigProcOfOther, label queryOrigIdOfOther) const
Record of a collision between the particle holding the record and the particle with the stored id.
label origProcOfOther() const
Return the origProcOfOther data.
void setUnaccessed()
Set the accessed property of the record to unaccessed.
label origIdOfOther() const
Return the origIdOfOther data.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void setAccessed()
Set the accessed property of the record to accessed.