Record of a collision between the particle holding the record and a wall face at the position relative to the centre of the particle. More...
Public Member Functions | |
WallCollisionRecord () | |
Construct null. More... | |
WallCollisionRecord (bool accessed, const vector &pRel, const Type &data=pTraits< Type >::zero) | |
Construct from components. More... | |
WallCollisionRecord (Istream &) | |
Construct from Istream. More... | |
WallCollisionRecord (const WallCollisionRecord &) | |
Copy constructor. More... | |
~WallCollisionRecord () | |
Destructor. More... | |
const vector & | pRel () const |
Return the pRel data. More... | |
const Type & | collisionData () const |
Return access to the collision data. More... | |
Type & | collisionData () |
Return access to the collision data. More... | |
bool | match (const vector &pRel, scalar radius) |
bool | accessed () const |
Return the accessed status of the record. More... | |
void | setAccessed () |
Set the accessed property of the record to accessed. More... | |
void | setUnaccessed () |
Set the accessed property of the record to unaccessed. More... | |
void | operator= (const WallCollisionRecord &) |
Static Public Attributes | |
static const scalar | errorCosAngle |
Tolerance for detecting seriously erroneous wall matches. More... | |
Friends | |
bool | operator== (const WallCollisionRecord< Type > &, const WallCollisionRecord< Type > &) |
bool | operator!= (const WallCollisionRecord< Type > &, const WallCollisionRecord< Type > &) |
Istream & | operator>> (Istream &, WallCollisionRecord< Type > &) |
Ostream & | operator (Ostream &, const WallCollisionRecord< Type > &) |
Record of a collision between the particle holding the record and a wall face at the position relative to the centre of the particle.
Definition at line 49 of file WallCollisionRecord.H.
Construct null.
Definition at line 37 of file WallCollisionRecord.C.
Referenced by WallCollisionRecord< Type >::WallCollisionRecord().
WallCollisionRecord | ( | bool | accessed, |
const vector & | pRel, | ||
const Type & | data = pTraits<Type>::zero |
||
) |
Construct from components.
Definition at line 47 of file WallCollisionRecord.C.
References WallCollisionRecord< Type >::WallCollisionRecord().
WallCollisionRecord | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 32 of file WallCollisionRecordIO.C.
References IOstream::check(), Foam::operator>>(), and token::SPACE.
WallCollisionRecord | ( | const WallCollisionRecord< Type > & | ) |
Copy constructor.
~WallCollisionRecord | ( | ) |
Destructor.
Definition at line 74 of file WallCollisionRecord.C.
|
inline |
Return the pRel data.
Definition at line 73 of file WallCollisionRecordI.H.
|
inline |
Return access to the collision data.
Definition at line 81 of file WallCollisionRecordI.H.
|
inline |
Return access to the collision data.
Definition at line 88 of file WallCollisionRecordI.H.
|
inline |
Definition at line 30 of file WallCollisionRecordI.H.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::Info, Foam::mag(), and Foam::nl.
Referenced by CollisionRecordList< vector, vector >::checkWallRecord(), and CollisionRecordList< vector, vector >::matchWallRecord().
|
inline |
Return the accessed status of the record.
Definition at line 95 of file WallCollisionRecordI.H.
|
inline |
Set the accessed property of the record to accessed.
Definition at line 102 of file WallCollisionRecordI.H.
Referenced by CollisionRecordList< vector, vector >::matchWallRecord().
|
inline |
Set the accessed property of the record to unaccessed.
Definition at line 109 of file WallCollisionRecordI.H.
void operator= | ( | const WallCollisionRecord< Type > & | ) |
Definition at line 82 of file WallCollisionRecord.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Tolerance for detecting seriously erroneous wall matches.
Definition at line 97 of file WallCollisionRecord.H.