OpenFOAM logo
Open Source CFD Toolkit

cyclicPolyPatch Class Reference

Inheritance diagram for cyclicPolyPatch:

Inheritance graph
[legend]
Collaboration diagram for cyclicPolyPatch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("cyclic")
 Runtime type information.
 cyclicPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
 Construct from components.
 cyclicPolyPatch (Istream &, const label index, const polyBoundaryMesh &)
 Construct from Istream.
 cyclicPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm)
 Construct from dictionary.
 cyclicPolyPatch (const cyclicPolyPatch &, const polyBoundaryMesh &)
 Construct as copy, resetting the boundary mesh.
 cyclicPolyPatch (const cyclicPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart)
 Construct given the original patch and resetting the.
virtual autoPtr< polyPatchclone (const polyBoundaryMesh &bm) const
 Construct and return a clone, resetting the boundary mesh.
virtual autoPtr< polyPatchclone (const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const
 Construct and return a clone, resetting the face list.
virtual ~cyclicPolyPatch ()
const edgeListcoupledPoints () const
 Return connected points (in patch local point indexing).
const edgeListcoupledEdges () const
 Return connected edges (in patch local edge indexing).
vector separation (const label facei) const
const tensortransformT (const label facei) const
template<class T>
transform (const T &t, const label facei) const
label transformLocalFace (const label facei) const
label transformGlobalFace (const label facei) const
virtual void initOrder (const primitivePatch &) const
 Initialize ordering for primitivePatch. Does not.
virtual bool order (const primitivePatch &, labelList &faceMap, labelList &rotation) const
 Return new ordering for primitivePatch.

Static Public Member Functions

scalar featureCos ()
 Return feature angle.
scalar setFeatureCos (const scalar t)
 Set the feature angle, returning the previous value.

Protected Member Functions

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

Constructor & Destructor Documentation

cyclicPolyPatch const word name,
const label  size,
const label  start,
const label  index,
const polyBoundaryMesh bm
 

Construct from components.

cyclicPolyPatch Istream ,
const label  index,
const polyBoundaryMesh
 

Construct from Istream.

cyclicPolyPatch const word name,
const dictionary dict,
const label  index,
const polyBoundaryMesh bm
 

Construct from dictionary.

cyclicPolyPatch const cyclicPolyPatch ,
const polyBoundaryMesh
 

Construct as copy, resetting the boundary mesh.

cyclicPolyPatch const cyclicPolyPatch 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

virtual ~cyclicPolyPatch  )  [virtual]
 


Member Function Documentation

void calcGeometry  )  [protected, virtual]
 

Calculate the patch geometry.

Implements coupledPolyPatch.

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 203 of file cyclicPolyPatch.H.

References Foam::edgeList, and Foam::vector.

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 193 of file cyclicPolyPatch.H.

const edgeList& coupledEdges  )  const
 

Return connected edges (in patch local edge indexing).

const edgeList& coupledPoints  )  const
 

Return connected points (in patch local point indexing).

scalar featureCos  )  [static]
 

Return feature angle.

void initGeometry  )  [protected, virtual]
 

Initialise the calculation of the patch geometry.

Implements coupledPolyPatch.

void initMovePoints const pointField  )  [protected, virtual]
 

Initialise the patches for moving points.

Implements coupledPolyPatch.

virtual void initOrder const primitivePatch  )  const [virtual]
 

Initialize ordering for primitivePatch. Does not.

refer to *this (except for name() and type() etc.)

Implements coupledPolyPatch.

virtual void initUpdateTopology  )  [protected, virtual]
 

Initialise the update of the patch topology.

Reimplemented from polyPatch.

void movePoints const pointField  )  [protected, virtual]
 

Correct patches after moving points.

Implements coupledPolyPatch.

virtual bool order const primitivePatch ,
labelList faceMap,
labelList rotation
const [virtual]
 

Return new ordering for primitivePatch.

Ordering is -faceMap: for every face index of the new face -rotation:for every new face the clockwise shift of the original face. Return false if nothing changes (faceMap is identity, rotation is 0), true otherwise.

Implements coupledPolyPatch.

vector separation const label  facei  )  const [inline]
 

Definition at line 231 of file cyclicPolyPatch.H.

scalar setFeatureCos const scalar  t  )  [static]
 

Set the feature angle, returning the previous value.

T transform const T &  t,
const label  facei
const [inline]
 

Definition at line 256 of file cyclicPolyPatch.H.

label transformGlobalFace const label  facei  )  const [inline]
 

Definition at line 280 of file cyclicPolyPatch.H.

References Foam::labelList, and Foam::primitivePatch.

label transformLocalFace const label  facei  )  const [inline]
 

Definition at line 268 of file cyclicPolyPatch.H.

const tensor& transformT const label  facei  )  const [inline]
 

Definition at line 243 of file cyclicPolyPatch.H.

TypeName "cyclic"   ) 
 

Runtime type information.

virtual void updateMesh  )  [protected, virtual]
 

Update of the patch topology.

Reimplemented from polyPatch.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org