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

directMappedWallPolyPatch Class Reference

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

Inheritance diagram for directMappedWallPolyPatch:
Collaboration diagram for directMappedWallPolyPatch:

List of all members.


Public Member Functions

 TypeName ("directMappedWall")
 Runtime type information.
 directMappedWallPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
 Construct from components.
 directMappedWallPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm)
 Construct from dictionary.
 directMappedWallPolyPatch (const directMappedWallPolyPatch &, const polyBoundaryMesh &)
 Construct as copy, resetting the boundary mesh.
 directMappedWallPolyPatch (const directMappedWallPolyPatch &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 ~directMappedWallPolyPatch ()
 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 directMappedWallPolyPatch.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 43 of file directMappedWallPolyPatch.C.

Referenced by directMappedWallPolyPatch::clone().

Here is the caller graph for this function:

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

Construct from dictionary.

Definition at line 57 of file directMappedWallPolyPatch.C.

Construct as copy, resetting the boundary mesh.

Definition at line 70 of file directMappedWallPolyPatch.C.

directMappedWallPolyPatch ( const directMappedWallPolyPatch &  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 81 of file directMappedWallPolyPatch.C.

~directMappedWallPolyPatch (  )  [virtual]

Destructor.

Definition at line 96 of file directMappedWallPolyPatch.C.


Member Function Documentation

void initGeometry (  )  [protected, virtual]

Initialise the calculation of the patch geometry.

Reimplemented from polyPatch.

Definition at line 105 of file directMappedWallPolyPatch.C.

References directMappedPatchBase::clearOut().

Referenced by directMappedWallPolyPatch::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 112 of file directMappedWallPolyPatch.C.

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

Referenced by directMappedWallPolyPatch::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 119 of file directMappedWallPolyPatch.C.

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

Referenced by directMappedWallPolyPatch::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 126 of file directMappedWallPolyPatch.C.

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

Referenced by directMappedWallPolyPatch::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 133 of file directMappedWallPolyPatch.C.

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

Referenced by directMappedWallPolyPatch::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 140 of file directMappedWallPolyPatch.C.

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

Referenced by directMappedWallPolyPatch::write().

Here is the call graph for this function:

Here is the caller graph for this function:

TypeName ( "directMappedWall"   ) 

Runtime type information.

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

Construct and return a clone, resetting the boundary mesh.

Reimplemented from wallPolyPatch.

Definition at line 128 of file directMappedWallPolyPatch.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 wallPolyPatch.

Definition at line 138 of file directMappedWallPolyPatch.H.

References directMappedWallPolyPatch::directMappedWallPolyPatch().

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 147 of file directMappedWallPolyPatch.C.

References directMappedPatchBase::clearOut(), and directMappedWallPolyPatch::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