OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

faceCoupleInfo Class Reference

Collaboration diagram for faceCoupleInfo:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 160 of file faceCoupleInfo.H.


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 indirectPrimitivePatch & masterPatch () const
 Addressing engine for coupled faces on mesh0.
const indirectPrimitivePatch & slavePatch () const
 Addressing engine for coupled faces on mesh1.
const primitiveFacePatch & cutFaces () const
 Addressing engine for combined set of faces.
const pointField & cutPoints () const
 Points for combined set of faces.
const labelList & cutToMasterFaces () const
 Master face for every face on cut. Will always be at least.
const labelList & masterToCutPoints () const
const labelList & cutToSlaveFaces () const
const labelList & slaveToCutPoints () const
const edgeLookup & cutEdgeToPoints () const
 From two cut points (original edge) to list of inserted.

Static Public Member Functions

static labelList faceLabels (const polyPatch &)
 Get patch face labels.
static Map< label > makeMap (const labelList &)
 Create Map from List.
static Map< labelList > makeMap (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 if this is false then assumes slave is subdivision. Matching then will work only for non-warped faces since does nearest-to-face comparison with absTol.

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.

static labelList faceLabels ( const polyPatch &   )  [static]

Get patch face labels.

static Map<label> makeMap ( const labelList &   )  [static]

Create Map from List.

static Map<labelList> makeMap ( const labelListList &   )  [static]

const indirectPrimitivePatch& masterPatch (  )  const [inline]

Addressing engine for coupled faces on mesh0.

Definition at line 477 of file faceCoupleInfo.H.

const indirectPrimitivePatch& slavePatch (  )  const [inline]

Addressing engine for coupled faces on mesh1.

Definition at line 483 of file faceCoupleInfo.H.

const primitiveFacePatch& cutFaces (  )  const [inline]

Addressing engine for combined set of faces.

Definition at line 489 of file faceCoupleInfo.H.

const pointField& cutPoints (  )  const [inline]

Points for combined set of faces.

Definition at line 495 of file faceCoupleInfo.H.

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 508 of file faceCoupleInfo.H.

const labelList& masterToCutPoints (  )  const [inline]

Definition at line 512 of file faceCoupleInfo.H.

const labelList& cutToSlaveFaces (  )  const [inline]

Definition at line 517 of file faceCoupleInfo.H.

const labelList& slaveToCutPoints (  )  const [inline]

Definition at line 521 of file faceCoupleInfo.H.

const edgeLookup& cutEdgeToPoints (  )  const [inline]

From two cut points (original edge) to list of inserted.

points

Definition at line 530 of file faceCoupleInfo.H.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd