Public Member Functions | Protected Attributes | List of all members
patchInjectionBase Class Reference
Inheritance diagram for patchInjectionBase:
Inheritance graph
[legend]
Collaboration diagram for patchInjectionBase:
Collaboration graph
[legend]

Public Member Functions

 patchInjectionBase (const polyMesh &mesh, const word &patchName)
 Construct from mesh and patch name. More...
 
 patchInjectionBase (const patchInjectionBase &pib)
 Copy constructor. More...
 
virtual ~patchInjectionBase ()
 Destructor. More...
 
virtual void updateMesh (const polyMesh &mesh)
 Update patch geometry and derived info for injection locations. More...
 
virtual void setPositionAndCell (const polyMesh &mesh, cachedRandom &rnd, vector &position, label &cellOwner, label &tetFacei, label &tetPtI)
 Set the injection position and owner cell, tetFace and tetPt. More...
 

Protected Attributes

const word patchName_
 Patch name. More...
 
const label patchId_
 Patch ID. More...
 
scalar patchArea_
 Patch area - total across all processors. More...
 
vectorList patchNormal_
 Patch face normal directions. More...
 
labelList cellOwners_
 List of cell labels corresponding to injector positions. More...
 
faceList triFace_
 Decomposed patch faces as a list of triangles. More...
 
labelList triToFace_
 Addressing from per triangle to patch face. More...
 
scalarList triCumulativeMagSf_
 Cumulative triangle area per triangle face. More...
 
scalarList sumTriMagSf_
 Cumulative area fractions per processor. More...
 

Detailed Description

Definition at line 61 of file patchInjectionBase.H.

Constructor & Destructor Documentation

patchInjectionBase ( const polyMesh mesh,
const word patchName 
)

Construct from mesh and patch name.

Definition at line 35 of file patchInjectionBase.C.

References polyMesh::boundaryMesh(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, polyBoundaryMesh::names(), and Foam::nl.

Here is the call graph for this function:

Copy constructor.

Definition at line 62 of file patchInjectionBase.C.

~patchInjectionBase ( )
virtual

Destructor.

Definition at line 78 of file patchInjectionBase.C.

Member Function Documentation

void updateMesh ( const polyMesh mesh)
virtual
void setPositionAndCell ( const polyMesh mesh,
cachedRandom rnd,
vector position,
label cellOwner,
label tetFacei,
label tetPtI 
)
virtual

Member Data Documentation

const word patchName_
protected

Patch name.

Definition at line 68 of file patchInjectionBase.H.

const label patchId_
protected

Patch ID.

Definition at line 71 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

scalar patchArea_
protected

Patch area - total across all processors.

Definition at line 74 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

vectorList patchNormal_
protected

Patch face normal directions.

Definition at line 77 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

labelList cellOwners_
protected

List of cell labels corresponding to injector positions.

Definition at line 80 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

faceList triFace_
protected

Decomposed patch faces as a list of triangles.

Definition at line 83 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

labelList triToFace_
protected

Addressing from per triangle to patch face.

Definition at line 86 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

scalarList triCumulativeMagSf_
protected

Cumulative triangle area per triangle face.

Definition at line 89 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().

scalarList sumTriMagSf_
protected

Cumulative area fractions per processor.

Definition at line 92 of file patchInjectionBase.H.

Referenced by patchInjectionBase::setPositionAndCell(), and patchInjectionBase::updateMesh().


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