Record of a collision between the particle holding the record and the particle with the stored id. More...
Public Member Functions | |
PairCollisionRecord () | |
PairCollisionRecord (bool accessed, label origProcOfOther, label origIdOfOther, const Type &data=Type(Zero)) | |
PairCollisionRecord (Istream &) | |
PairCollisionRecord (const PairCollisionRecord &) | |
~PairCollisionRecord () | |
label | origProcOfOther () const |
label | origIdOfOther () const |
const Type & | collisionData () const |
Type & | collisionData () |
bool | match (label queryOrigProcOfOther, label queryOrigIdOfOther) const |
bool | accessed () const |
void | setAccessed () |
void | setUnaccessed () |
void | operator= (const PairCollisionRecord &) |
Friends | |
bool | operator== (const PairCollisionRecord< Type > &, const PairCollisionRecord< Type > &) |
bool | operator!= (const PairCollisionRecord< Type > &, const PairCollisionRecord< Type > &) |
Istream & | operator>> (Istream &, PairCollisionRecord< Type > &) |
Ostream & | operator (Ostream &, const PairCollisionRecord< Type > &) |
Record of a collision between the particle holding the record and the particle with the stored id.
The access status of the record is to be coded in the origProcOfOther data member. The actual processor is offset by +1. A negative value means that the record has not been accessed, positive means that it has.
Definition at line 54 of file PairCollisionRecord.H.
Definition at line 27 of file PairCollisionRecord.C.
PairCollisionRecord | ( | bool | accessed, |
label | origProcOfOther, | ||
label | origIdOfOther, | ||
const Type & | data = Type(Zero) |
||
) |
PairCollisionRecord | ( | Istream & | ) |
PairCollisionRecord | ( | const PairCollisionRecord & | ) |
~PairCollisionRecord | ( | ) |
Definition at line 72 of file PairCollisionRecord.C.
|
inline |
Definition at line 39 of file PairCollisionRecordI.H.
References Foam::mag().
|
inline |
Definition at line 46 of file PairCollisionRecordI.H.
|
inline |
Definition at line 54 of file PairCollisionRecordI.H.
|
inline |
Definition at line 61 of file PairCollisionRecordI.H.
|
inline |
Definition at line 25 of file PairCollisionRecordI.H.
Referenced by CollisionRecordList< vector, vector >::checkPairRecord(), and CollisionRecordList< vector, vector >::matchPairRecord().
|
inline |
Definition at line 68 of file PairCollisionRecordI.H.
References Foam::pos0().
|
inline |
Definition at line 75 of file PairCollisionRecordI.H.
Referenced by CollisionRecordList< vector, vector >::matchPairRecord().
|
inline |
Definition at line 82 of file PairCollisionRecordI.H.
void operator= | ( | const PairCollisionRecord & | ) |
Definition at line 80 of file PairCollisionRecord.C.
|
friend |
|
friend |
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.