OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

cyclicPolyPatch Class Reference

Inheritance diagram for cyclicPolyPatch:

Inheritance graph
[legend]
Collaboration diagram for cyclicPolyPatch:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 76 of file cyclicPolyPatch.H.


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< 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 ~cyclicPolyPatch ()
const edgeList & coupledPoints () const
 Return connected points (in patch local point indexing).
const edgeList & coupledEdges () const
 Return connected edges (in patch local edge indexing).
vector separation (const label facei) const
const tensor & transformT (const label facei) const
template<class T>
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

static scalar featureCos ()
 Return feature angle.
static 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 initUpdateMesh ()
 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 initGeometry (  )  [protected, virtual]

Initialise the calculation of the patch geometry.

Implements coupledPolyPatch.

void calcGeometry (  )  [protected, virtual]

Calculate the patch geometry.

Implements coupledPolyPatch.

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

Initialise the patches for moving points.

Implements coupledPolyPatch.

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

Correct patches after moving points.

Implements coupledPolyPatch.

virtual void initUpdateMesh (  )  [protected, virtual]

Initialise the update of the patch topology.

Reimplemented from polyPatch.

virtual void updateMesh (  )  [protected, virtual]

Update of the patch topology.

Reimplemented from polyPatch.

TypeName ( "cyclic"   ) 

Runtime type information.

static scalar featureCos (  )  [static]

Return feature angle.

static scalar setFeatureCos ( const scalar  t  )  [static]

Set the feature angle, returning the previous value.

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.

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.

const edgeList& coupledPoints (  )  const

Return connected points (in patch local point indexing).

const edgeList& coupledEdges (  )  const

Return connected edges (in patch local edge indexing).

vector separation ( const label  facei  )  const [inline]

Definition at line 231 of file cyclicPolyPatch.H.

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

Definition at line 243 of file cyclicPolyPatch.H.

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

Definition at line 256 of file cyclicPolyPatch.H.

label transformLocalFace ( const label  facei  )  const [inline]

Definition at line 268 of file cyclicPolyPatch.H.

label transformGlobalFace ( const label  facei  )  const [inline]

Definition at line 280 of file cyclicPolyPatch.H.

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


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