OpenFOAM logo
Open Source CFD Toolkit

faceCoupleInfo Class Reference

Collaboration diagram for faceCoupleInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClassName ("faceCoupleInfo")
 Runtime type information.
 faceCoupleInfo (const polyMesh &mesh0, const polyMesh &mesh1, const scalar absTol, const bool perfectMatch)
 Construct from two meshes and absolute tolerance.
 faceCoupleInfo (const polyMesh &masterMesh, const labelList &masterAddressing, const polyMesh &slaveMesh, const labelList &slaveAddressing, const scalar absTol, const bool perfectMatch, const bool orderedFaces, const bool patchDivision)
 Construct from meshes and subset of mesh faces.
 ~faceCoupleInfo ()
const indirectPrimitivePatchmasterPatch () const
 Addressing engine for coupled faces on mesh0.
const indirectPrimitivePatchslavePatch () const
 Addressing engine for coupled faces on mesh1.
const primitiveFacePatchcutFaces () const
 Addressing engine for combined set of faces.
const pointFieldcutPoints () const
 Points for combined set of faces.
const labelListcutToMasterFaces () const
 Master face for every face on cut. Will always be at least.
const labelListcutToMasterPoints () const
 Master point for every point on cut. -1 means no equivalent.
const labelListcutToMasterEdges () const
 Master edge for every edge on cut. -1 means no equivalent.
const labelListcutToSlaveFaces () const
 Slave face for every face on cut. Will always be at least.
const labelListcutToSlavePoints () const
 Slave point for every point on cut. -1 means no equivalent.
const labelListcutToSlaveEdges () const
 Slave edge for every edge on cut. -1 means no equivalent.
const labelListmasterToCutPoints () const
const labelListmasterToCutEdges () const
const labelListslaveToCutPoints () const
const labelListslaveToCutEdges () const

Static Public Member Functions

labelList faceLabels (const polyPatch &)
 Utility functions Get patch face labels.
Map< labelmakeMap (const labelList &)
 Create Map from List.
Map< labelListmakeMap (const labelListList &)

Constructor & Destructor Documentation

faceCoupleInfo const polyMesh mesh0,
const polyMesh mesh1,
const scalar  absTol,
const bool  perfectMatch
 

Construct from two meshes and absolute tolerance.

Finds out matches geometrically. No checking for nonsense match. Tolerance is absolute one so use with care. perfectMatch : each point/edge/face has corresponding point on other side

faceCoupleInfo const polyMesh masterMesh,
const labelList masterAddressing,
const polyMesh slaveMesh,
const labelList slaveAddressing,
const scalar  absTol,
const bool  perfectMatch,
const bool  orderedFaces,
const bool  patchDivision
 

Construct from meshes and subset of mesh faces.

(i.e. indirectPrimitivePatch addressing) All faces in patch are considered matched (but don't have to be ordered) perfectMatch : each point/edge/face has corresponding point on other side orderedFaces : faces in patch are ordered (so masterAddressing[i] matches slaveAddressing[i]) patchDivision: faces in slave mesh that originate from the same master face have the same patch. Used by some triangulation methods.

~faceCoupleInfo  ) 
 


Member Function Documentation

ClassName "faceCoupleInfo"   ) 
 

Runtime type information.

const primitiveFacePatch& cutFaces  )  const [inline]
 

Addressing engine for combined set of faces.

Definition at line 392 of file faceCoupleInfo.H.

const pointField& cutPoints  )  const [inline]
 

Points for combined set of faces.

Definition at line 398 of file faceCoupleInfo.H.

References Foam::labelList.

const labelList& cutToMasterEdges  )  const [inline]
 

Master edge for every edge on cut. -1 means no equivalent.

master edge. All master edges will be present though in cut.

Definition at line 427 of file faceCoupleInfo.H.

References Foam::labelList.

const labelList& cutToMasterFaces  )  const [inline]
 

Master face for every face on cut. Will always be at least.

one but there might be multiple cut faces pointing to the same master

Definition at line 409 of file faceCoupleInfo.H.

const labelList& cutToMasterPoints  )  const [inline]
 

Master point for every point on cut. -1 means no equivalent.

master point. All master points will be present though in cut.

Definition at line 418 of file faceCoupleInfo.H.

References Foam::labelList.

const labelList& cutToSlaveEdges  )  const [inline]
 

Slave edge for every edge on cut. -1 means no equivalent.

slave edge. All slave edges will be present though in cut.

Definition at line 455 of file faceCoupleInfo.H.

const labelList& cutToSlaveFaces  )  const [inline]
 

Slave face for every face on cut. Will always be at least.

one but there might be multiple cut faces pointing to the same master

Definition at line 437 of file faceCoupleInfo.H.

const labelList& cutToSlavePoints  )  const [inline]
 

Slave point for every point on cut. -1 means no equivalent.

slave point. All slave points will be present though in cut.

Definition at line 446 of file faceCoupleInfo.H.

labelList faceLabels const polyPatch  )  [static]
 

Utility functions Get patch face labels.

Map<labelList> makeMap const labelListList  )  [static]
 

Map<label> makeMap const labelList  )  [static]
 

Create Map from List.

const indirectPrimitivePatch& masterPatch  )  const [inline]
 

Addressing engine for coupled faces on mesh0.

Definition at line 380 of file faceCoupleInfo.H.

const labelList& masterToCutEdges  )  const [inline]
 

Definition at line 465 of file faceCoupleInfo.H.

const labelList& masterToCutPoints  )  const [inline]
 

Definition at line 461 of file faceCoupleInfo.H.

const indirectPrimitivePatch& slavePatch  )  const [inline]
 

Addressing engine for coupled faces on mesh1.

Definition at line 386 of file faceCoupleInfo.H.

const labelList& slaveToCutEdges  )  const [inline]
 

Definition at line 473 of file faceCoupleInfo.H.

const labelList& slaveToCutPoints  )  const [inline]
 

Definition at line 469 of file faceCoupleInfo.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org