FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

interactionLists Class Reference

#include <molecule/interactionLists.H>


Detailed Description

Source files

Definition at line 57 of file interactionLists.H.

Collaboration diagram for interactionLists:

List of all members.

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.

Constructor & Destructor Documentation

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.

Definition at line 228 of file interactionLists.C.


Member Function Documentation

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
bool testPointFaceDistance ( const vectorList &   pointsToTest,
const label   faceNo  
) const

Definition at line 300 of file interactionLists.C.

References forAll, and p.

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
bool testEdgeEdgeDistance ( const edge &   eI,
const edge &   eJ  
) const

Definition at line 245 of file interactionLists.C.

References edge::end(), and edge::start().

bool testEdgeEdgeDistance ( const edge &   eI,
const vector &   eJs,
const vector &   eJe  
) const

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
const Foam::labelList referredCellsInRangeOfSegment ( const List< referredCell > &   referredInteractionList,
const labelList &   segmentFaces,
const labelList &   segmentEdges,
const labelList &   segmentPoints  
) const
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.


Member Data Documentation

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().


The documentation for this class was generated from the following files: