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

directMappedPolyPatch Class Reference

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

#include <meshTools/directMappedPolyPatch.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 directMappedPolyPatch.H.

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 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.
 directMappedPolyPatch (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.
 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.

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 46 of file directMappedPolyPatch.C.

Referenced by directMappedPolyPatch::clone().

directMappedPolyPatch ( 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 60 of file directMappedPolyPatch.C.

directMappedPolyPatch ( 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 85 of file directMappedPolyPatch.C.

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

Construct from dictionary.

Definition at line 110 of file directMappedPolyPatch.C.

directMappedPolyPatch ( const directMappedPolyPatch &   pp,
const polyBoundaryMesh &   bm  
)

Construct as copy, resetting the boundary mesh.

Definition at line 123 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 134 of file directMappedPolyPatch.C.

~directMappedPolyPatch (  ) [virtual]

Destructor.

Definition at line 149 of file directMappedPolyPatch.C.

References directMappedPatchBase::clearOut().


Member Function Documentation

void initGeometry (  ) [protected, virtual]

Initialise the calculation of the patch geometry.

Reimplemented from polyPatch.

Definition at line 158 of file directMappedPolyPatch.C.

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

void calcGeometry (  ) [protected, virtual]

Calculate the patch geometry.

Reimplemented from polyPatch.

Definition at line 165 of file directMappedPolyPatch.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 172 of file directMappedPolyPatch.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 179 of file directMappedPolyPatch.C.

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

void initUpdateMesh (  ) [protected, virtual]

Initialise the update of the patch topology.

Reimplemented from polyPatch.

Definition at line 186 of file directMappedPolyPatch.C.

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

void updateMesh (  ) [protected, virtual]

Update of the patch topology.

Reimplemented from polyPatch.

Definition at line 193 of file directMappedPolyPatch.C.

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

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

References directMappedPolyPatch::directMappedPolyPatch().

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

References directMappedPolyPatch::directMappedPolyPatch().

void write ( Ostream &   os  ) const [virtual]

Write the polyPatch data as a dictionary.

Reimplemented from directMappedPatchBase.

Definition at line 200 of file directMappedPolyPatch.C.

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


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