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

directMappedWallPolyPatch Class Reference

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

#include <meshTools/directMappedWallPolyPatch.H>


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 58 of file directMappedWallPolyPatch.H.

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 label size, const label start, const label index, const word &sampleRegion, const directMappedPatchBase::sampleMode mode, const word &samplePatch, const vectorField &offset, const polyBoundaryMesh &bm)
 Construct from components.
 directMappedWallPolyPatch (const word &name, const label size, const label start, const label index, const word &sampleRegion, const directMappedPatchBase::sampleMode mode, const word &samplePatch, const vector &offset, const polyBoundaryMesh &bm)
 Construct from components. Uniform offset.
 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.

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

Referenced by directMappedWallPolyPatch::clone().

directMappedWallPolyPatch ( const word &   name,
const label   size,
const label   start,
const label   index,
const word &   sampleRegion,
const directMappedPatchBase::sampleMode   mode,
const word &   samplePatch,
const vectorField &   offset,
const polyBoundaryMesh &   bm  
)

Construct from components.

Definition at line 65 of file directMappedWallPolyPatch.C.

directMappedWallPolyPatch ( const word &   name,
const label   size,
const label   start,
const label   index,
const word &   sampleRegion,
const directMappedPatchBase::sampleMode   mode,
const word &   samplePatch,
const vector &   offset,
const polyBoundaryMesh &   bm  
)

Construct from components. Uniform offset.

Definition at line 90 of file directMappedWallPolyPatch.C.

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

Construct from dictionary.

Definition at line 115 of file directMappedWallPolyPatch.C.

Construct as copy, resetting the boundary mesh.

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

~directMappedWallPolyPatch (  ) [virtual]

Destructor.

Definition at line 154 of file directMappedWallPolyPatch.C.

References directMappedPatchBase::clearOut().


Member Function Documentation

void initGeometry (  ) [protected, virtual]

Initialise the calculation of the patch geometry.

Reimplemented from polyPatch.

Definition at line 163 of file directMappedWallPolyPatch.C.

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

void calcGeometry (  ) [protected, virtual]

Calculate the patch geometry.

Reimplemented from polyPatch.

Definition at line 170 of file directMappedWallPolyPatch.C.

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

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

Initialise the patches for moving points.

Reimplemented from polyPatch.

Definition at line 177 of file directMappedWallPolyPatch.C.

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

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

Correct patches after moving points.

Reimplemented from polyPatch.

Definition at line 184 of file directMappedWallPolyPatch.C.

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

void initUpdateMesh (  ) [protected, virtual]

Initialise the update of the patch topology.

Reimplemented from polyPatch.

Definition at line 191 of file directMappedWallPolyPatch.C.

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

void updateMesh (  ) [protected, virtual]

Update of the patch topology.

Reimplemented from polyPatch.

Definition at line 198 of file directMappedWallPolyPatch.C.

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

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 159 of file directMappedWallPolyPatch.H.

References directMappedWallPolyPatch::directMappedWallPolyPatch().

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 167 of file directMappedWallPolyPatch.H.

References directMappedWallPolyPatch::directMappedWallPolyPatch().

void write ( Ostream &   os  ) const [virtual]

Write the polyPatch data as a dictionary.

Reimplemented from directMappedPatchBase.

Definition at line 205 of file directMappedWallPolyPatch.C.

References directMappedPatchBase::write(), and polyPatch::write().


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