OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

directMappedPolyPatch Class Reference

Determines a mapping between patch face centres and mesh cell or face centres and processors they're on. More...

Inheritance diagram for directMappedPolyPatch:
Collaboration diagram for directMappedPolyPatch:

List of all members.


Public Member Functions

 TypeName ("directMappedPatch")
 Runtime type information.
 directMappedPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
 Construct from components.
 directMappedPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm)
 Construct from dictionary.
 directMappedPolyPatch (const directMappedPolyPatch &, const polyBoundaryMesh &)
 Construct as copy, resetting the boundary mesh.
 directMappedPolyPatch (const directMappedPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart)
 Construct given the original patch and resetting the.
virtual autoPtr< polyPatch > clone (const polyBoundaryMesh &bm) const
 Construct and return a clone, resetting the boundary mesh.
virtual autoPtr< polyPatch > clone (const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const
 Construct and return a clone, resetting the face list.
virtual ~directMappedPolyPatch ()
 Destructor.
virtual void write (Ostream &) const
 Write the polyPatch data as a dictionary.

Protected Member Functions

virtual void initGeometry ()
 Initialise the calculation of the patch geometry.
virtual void calcGeometry ()
 Calculate the patch geometry.
virtual void initMovePoints (const pointField &)
 Initialise the patches for moving points.
virtual void movePoints (const pointField &)
 Correct patches after moving points.
virtual void initUpdateMesh ()
 Initialise the update of the patch topology.
virtual void updateMesh ()
 Update of the patch topology.

Detailed Description

Determines a mapping between patch face centres and mesh cell or face centres and processors they're on.

Note:
Storage is not optimal. It stores all face centres and cells on all processors to keep the addressing calculation simple.
Source files

Definition at line 53 of file directMappedPolyPatch.H.


Constructor & Destructor Documentation

directMappedPolyPatch ( const word &  name,
const label  size,
const label  start,
const label  index,
const polyBoundaryMesh &  bm 
)

Construct from components.

Definition at line 38 of file directMappedPolyPatch.C.

Referenced by directMappedPolyPatch::clone().

Here is the caller graph for this function:

directMappedPolyPatch ( const word &  name,
const dictionary &  dict,
const label  index,
const polyBoundaryMesh &  bm 
)

Construct from dictionary.

Definition at line 52 of file directMappedPolyPatch.C.

Construct as copy, resetting the boundary mesh.

Definition at line 65 of file directMappedPolyPatch.C.

directMappedPolyPatch ( const directMappedPolyPatch &  pp,
const polyBoundaryMesh &  bm,
const label  index,
const label  newSize,
const label  newStart 
)

Construct given the original patch and resetting the.

face list and boundary mesh information

Definition at line 76 of file directMappedPolyPatch.C.

~directMappedPolyPatch (  )  [virtual]

Destructor.

Definition at line 91 of file directMappedPolyPatch.C.


Member Function Documentation

void initGeometry (  )  [protected, virtual]

Initialise the calculation of the patch geometry.

Reimplemented from polyPatch.

Definition at line 100 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut().

Referenced by directMappedPolyPatch::calcGeometry().

Here is the call graph for this function:

Here is the caller graph for this function:

void calcGeometry (  )  [protected, virtual]

Calculate the patch geometry.

Reimplemented from polyPatch.

Definition at line 107 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut(), and directMappedPolyPatch::initGeometry().

Referenced by directMappedPolyPatch::initMovePoints().

Here is the call graph for this function:

Here is the caller graph for this function:

void initMovePoints ( const pointField &  p  )  [protected, virtual]

Initialise the patches for moving points.

Reimplemented from polyPatch.

Definition at line 114 of file directMappedPolyPatch.C.

References directMappedPolyPatch::calcGeometry(), and directMappedPatchBase::clearOut().

Referenced by directMappedPolyPatch::movePoints().

Here is the call graph for this function:

Here is the caller graph for this function:

void movePoints ( const pointField &  p  )  [protected, virtual]

Correct patches after moving points.

Reimplemented from polyPatch.

Definition at line 121 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut(), and directMappedPolyPatch::initMovePoints().

Referenced by directMappedPolyPatch::initUpdateMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

void initUpdateMesh (  )  [protected, virtual]

Initialise the update of the patch topology.

Reimplemented from polyPatch.

Definition at line 128 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut(), and directMappedPolyPatch::movePoints().

Referenced by directMappedPolyPatch::updateMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

void updateMesh (  )  [protected, virtual]

Update of the patch topology.

Reimplemented from polyPatch.

Definition at line 135 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut(), and directMappedPolyPatch::initUpdateMesh().

Referenced by directMappedPolyPatch::write().

Here is the call graph for this function:

Here is the caller graph for this function:

TypeName ( "directMappedPatch"   ) 

Runtime type information.

virtual autoPtr<polyPatch> clone ( const polyBoundaryMesh &  bm  )  const [inline, virtual]

Construct and return a clone, resetting the boundary mesh.

Reimplemented from polyPatch.

Definition at line 128 of file directMappedPolyPatch.H.

virtual autoPtr<polyPatch> clone ( const polyBoundaryMesh &  bm,
const label  index,
const label  newSize,
const label  newStart 
) const [inline, virtual]

Construct and return a clone, resetting the face list.

and boundary mesh

Reimplemented from polyPatch.

Definition at line 138 of file directMappedPolyPatch.H.

References directMappedPolyPatch::directMappedPolyPatch().

Here is the call graph for this function:

void write ( Ostream &  os  )  const [virtual]

Write the polyPatch data as a dictionary.

Reimplemented from directMappedPatchBase.

Definition at line 142 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut(), and directMappedPolyPatch::updateMesh().

Here is the call graph for this function:


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