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...
#include <WallCollisionRecord.H>

Public Member Functions | |
| WallCollisionRecord () | |
| Construct null. | |
| WallCollisionRecord (bool accessed, const vector &pRel, const Type &data=Type(Zero)) | |
| Construct from components. | |
| WallCollisionRecord (Istream &) | |
| Construct from Istream. | |
| WallCollisionRecord (const WallCollisionRecord &) | |
| Construct as copy. | |
| ~WallCollisionRecord () | |
| Destructor. | |
| const vector & | pRel () const |
| Return the pRel data. | |
| const Type & | collisionData () const |
| Return access to the collision data. | |
| Type & | collisionData () |
| Return access to the collision data. | |
| bool | match (const vector &pRel, scalar radius) |
| bool | accessed () const |
| Return the accessed status of the record. | |
| void | setAccessed () |
| Set the accessed property of the record to accessed. | |
| void | setUnaccessed () |
| Set the accessed property of the record to unaccessed. | |
| void | operator= (const WallCollisionRecord &) |
Static Public Attributes | |
| static const scalar | errorCosAngle |
| Tolerance for detecting seriously erroneous wall matches. | |
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 75 of file WallCollisionRecord.H.
| WallCollisionRecord | ( | ) |
Construct null.
Definition at line 33 of file WallCollisionRecord.C.
References Foam::Zero.
Referenced by operator!=, operator<<, operator=(), operator==, operator>>, and WallCollisionRecord().

| WallCollisionRecord | ( | bool | accessed, |
| const vector & | pRel, | ||
| const Type & | data = Type(Zero) ) |
Construct from components.
Definition at line 42 of file WallCollisionRecord.C.
References accessed(), and pRel().

| WallCollisionRecord | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 27 of file WallCollisionRecordIO.C.
References IOstream::check(), and FUNCTION_NAME.

| WallCollisionRecord | ( | const WallCollisionRecord< Type > & | ) |
Construct as copy.
References pRel(), and WallCollisionRecord().

| ~WallCollisionRecord | ( | ) |
Destructor.
Definition at line 70 of file WallCollisionRecord.C.
|
inline |
Return the pRel data.
Definition at line 68 of file WallCollisionRecordI.H.
Referenced by match(), WallCollisionRecord(), and WallCollisionRecord().

|
inline |
Return access to the collision data.
Definition at line 76 of file WallCollisionRecordI.H.
|
inline |
Return access to the collision data.
Definition at line 83 of file WallCollisionRecordI.H.
|
inline |
Definition at line 24 of file WallCollisionRecordI.H.
References Foam::abort(), Foam::endl(), errorCosAngle, Foam::FatalError, FatalErrorInFunction, Foam::Info, Foam::mag(), Foam::nl, and pRel().
Referenced by CollisionRecordList< PairType, WallType >::checkWallRecord(), and CollisionRecordList< PairType, WallType >::matchWallRecord().


|
inline |
Return the accessed status of the record.
Definition at line 90 of file WallCollisionRecordI.H.
Referenced by WallCollisionRecord().

|
inline |
Set the accessed property of the record to accessed.
Definition at line 97 of file WallCollisionRecordI.H.
Referenced by CollisionRecordList< PairType, WallType >::matchWallRecord().

|
inline |
Set the accessed property of the record to unaccessed.
Definition at line 104 of file WallCollisionRecordI.H.
| void operator= | ( | const WallCollisionRecord< Type > & | ) |
Definition at line 77 of file WallCollisionRecord.C.
References Foam::rhs(), and WallCollisionRecord().

|
friend |
References WallCollisionRecord().
|
friend |
References WallCollisionRecord().
|
friend |
References WallCollisionRecord().
|
friend |
References WallCollisionRecord().
|
static |
Tolerance for detecting seriously erroneous wall matches.
Definition at line 102 of file WallCollisionRecord.H.
Referenced by match().