#include <molecule/interactionLists.H>
Definition at line 57 of file interactionLists.H.
Public Member Functions | |
interactionLists (const polyMesh &mesh, scalar rCutMaxSqr, bool pointPointListBuild=false) | |
Construct and create all information from the mesh.
| |
interactionLists (const polyMesh &mesh) | |
Construct from file.
| |
~interactionLists () | |
bool | testPointPointDistance (const label ptI, const label ptJ) const |
bool | testPointFaceDistance (const label p, const label faceNo) const |
bool | testPointFaceDistance (const label p, const referredCell &refCell) const |
bool | testPointFaceDistance (const vectorList &pointsToTest, const label faceNo) const |
bool | testPointFaceDistance (const vector &p, const label faceNo) const |
bool | testPointFaceDistance (const vector &p, const labelList &faceToTest, const vectorList &points, const vector &faceC, const vector &faceA) const |
bool | testEdgeEdgeDistance (const edge &eI, const edge &eJ) const |
bool | testEdgeEdgeDistance (const edge &eI, const vector &eJs, const vector &eJe) const |
const labelList | realCellsInRangeOfSegment (const labelList &segmentFaces, const labelList &segmentEdges, const labelList &segmentPoints) const |
const labelList | referredCellsInRangeOfSegment (const List< referredCell > &referredInteractionList, const labelList &segmentFaces, const labelList &segmentEdges, const labelList &segmentPoints) const |
const polyMesh & | mesh () const |
const directInteractionList & | dil () const |
const referredCellList & | ril () const |
referredCellList & | ril () |
const List< sendingReferralList > & | cellSendingReferralLists () const |
const List < receivingReferralList > & | cellReceivingReferralLists () const |
label | nInteractingProcs () const |
Static Public Attributes | |
static scalar | transTol = 1e-12 |
Tolerance for checking that faces on a patch segment.
|
interactionLists | ( | const polyMesh & | mesh, |
scalar | rCutMaxSqr, | ||
bool | pointPointListBuild = false
|
||
) |
Construct and create all information from the mesh.
Definition at line 201 of file interactionLists.C.
interactionLists | ( | const polyMesh & | mesh ) |
Construct from file.
Definition at line 218 of file interactionLists.C.
~interactionLists | ( | ) |
Definition at line 228 of file interactionLists.C.
bool testPointPointDistance | ( | const label | ptI, |
const label | ptJ | ||
) | const |
Definition at line 235 of file interactionLists.C.
References Foam::magSqr().
bool testPointFaceDistance | ( | const label | p, |
const label | faceNo | ||
) | const |
Definition at line 258 of file interactionLists.C.
References p.
bool testPointFaceDistance | ( | const label | p, |
const referredCell & | refCell | ||
) | const |
Definition at line 270 of file interactionLists.C.
References referredCell::faceAreas(), referredCell::faceCentres(), referredCell::faces(), forAll, p, and referredCell::vertexPositions().
bool testPointFaceDistance | ( | const vectorList & | pointsToTest, |
const label | faceNo | ||
) | const |
Definition at line 300 of file interactionLists.C.
bool testPointFaceDistance | ( | const vector & | p, |
const label | faceNo | ||
) | const |
Definition at line 324 of file interactionLists.C.
References points.
bool testPointFaceDistance | ( | const vector & | p, |
const labelList & | faceToTest, | ||
const vectorList & | points, | ||
const vector & | faceC, | ||
const vector & | faceA | ||
) | const |
Definition at line 349 of file interactionLists.C.
References Foam::abort(), e, Foam::FatalError, FatalErrorIn, forAll, Foam::mag(), Foam::magSqr(), Foam::nl, List< T >::size(), Vector2D< Cmpt >::x(), and Vector2D< Cmpt >::y().
Definition at line 245 of file interactionLists.C.
References edge::end(), and edge::start().
Definition at line 466 of file interactionLists.C.
References b, Foam::magSqr(), edge::start(), and edge::vec().
const Foam::labelList realCellsInRangeOfSegment | ( | const labelList & | segmentFaces, |
const labelList & | segmentEdges, | ||
const labelList & | segmentPoints | ||
) | const |
Definition at line 509 of file interactionLists.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), f(), Foam::findIndex(), forAll, p, and DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink().
const Foam::labelList referredCellsInRangeOfSegment | ( | const List< referredCell > & | referredInteractionList, |
const labelList & | segmentFaces, | ||
const labelList & | segmentEdges, | ||
const labelList & | segmentPoints | ||
) | const |
Definition at line 600 of file interactionLists.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), edge::end(), f(), Foam::findIndex(), forAll, DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), and edge::start().
const Foam::polyMesh & mesh | ( | ) | const [inline]
|
Definition at line 30 of file interactionListsI.H.
const Foam::directInteractionList & dil | ( | ) | const [inline]
|
Definition at line 36 of file interactionListsI.H.
const Foam::referredCellList & ril | ( | ) | const [inline]
|
Definition at line 42 of file interactionListsI.H.
Foam::referredCellList & ril | ( | ) | [inline]
|
Definition at line 48 of file interactionListsI.H.
const Foam::List< Foam::sendingReferralList > & cellSendingReferralLists | ( | ) | const [inline]
|
Definition at line 55 of file interactionListsI.H.
const Foam::List< Foam::receivingReferralList > & cellReceivingReferralLists | ( | ) | const [inline]
|
Definition at line 62 of file interactionListsI.H.
Foam::label nInteractingProcs | ( | ) | const [inline]
|
Definition at line 68 of file interactionListsI.H.
Foam::scalar transTol = 1e-12 [static]
|
Tolerance for checking that faces on a patch segment.
Definition at line 92 of file interactionLists.H.
Referenced by referredCell::duplicate().