OpenFOAM logo
Open Source CFD Toolkit

directionInfo Class Reference

Collaboration diagram for directionInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 directionInfo ()
 Construct null.
 directionInfo (const label, const vector &n)
 Construct from components.
 directionInfo (const directionInfo &)
 Construct as copy.
label index () const
const vector & n () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const directionInfo &, const scalar) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Convert any absolute coordinates into relative to (patch)face.
void enterDomain (const polyPatch &patch, const label patchFaceI, const point &faceCentre)
 Reverse of leaveDomain.
void transform (const tensor &rotTensor)
 Apply rotation matrix to any coordinates.
bool updateCell (const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const directionInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring face.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const directionInfo &neighbourInfo, const scalar tol)
 Influence of neighbouring cell.
bool updateFace (const polyMesh &mesh, const label thisFaceI, const directionInfo &neighbourInfo, const scalar tol)
 Influence of different value on same face.
bool operator== (const directionInfo &) const
bool operator!= (const directionInfo &) const

Static Public Member Functions

label edgeToFaceIndex (const primitiveMesh &mesh, const label cellI, const label faceI, const label edgeI)
 Given edge on hex cell find corresponding edge on face. Is either.

Friends

Ostream & operator<< (Ostream &, const directionInfo &)
Istream & operator>> (Istream &, directionInfo &)

Constructor & Destructor Documentation

directionInfo (   )  [inline]
 

Construct null.

Definition at line 45 of file directionInfoI.H.

References directionInfo::directionInfo(), Foam::label, and Foam::vector.

Referenced by directionInfo::directionInfo().

Here is the call graph for this function:

directionInfo (  const   label,
const vector &  n
)  [inline]
 

Construct from components.

Definition at line 54 of file directionInfoI.H.

directionInfo (  const directionInfo &   )  [inline]
 

Construct as copy.

Definition at line 65 of file directionInfoI.H.


Member Function Documentation

label edgeToFaceIndex (  const primitiveMesh &  mesh,
const label  cellI,
const label  faceI,
const label  edgeI
)  [static]
 

Given edge on hex cell find corresponding edge on face. Is either.

index in face or -1 (cut tangential to face). Public since is needed to fill in seed faces in meshWave.

void enterDomain (  const polyPatch &  patch,
const label  patchFaceI,
const point &  faceCentre
)  [inline]
 

Reverse of leaveDomain.

Definition at line 107 of file directionInfoI.H.

Referenced by directionInfo::leaveDomain().

label index (   )  const [inline]
 

Definition at line 155 of file directionInfo.H.

Referenced by directionInfo::transform().

void leaveDomain (  const polyPatch &  patch,
const label  patchFaceI,
const point &  faceCentre
)  [inline]
 

Convert any absolute coordinates into relative to (patch)face.

centre

Definition at line 94 of file directionInfoI.H.

References directionInfo::enterDomain(), Foam::label, and Foam::point.

Referenced by directionInfo::sameGeometry().

Here is the call graph for this function:

const vector& n (   )  const [inline]
 

Definition at line 160 of file directionInfo.H.

References Foam::label, Foam::point, and Foam::tensor.

Referenced by directionInfo::transform().

bool operator!= (  const directionInfo &   )  const [inline]
 

Definition at line 136 of file directionInfoI.H.

bool operator== (  const directionInfo &   )  const [inline]
 

Definition at line 129 of file directionInfoI.H.

bool sameGeometry (  const directionInfo &  ,
const   scalar
)  const [inline]
 

Check for identical geometrical data. Used for cyclics checking.

Definition at line 82 of file directionInfoI.H.

References Foam::label, directionInfo::leaveDomain(), and Foam::point.

Here is the call graph for this function:

void transform (  const tensor &  rotTensor  )  [inline]
 

Apply rotation matrix to any coordinates.

Definition at line 123 of file directionInfoI.H.

References directionInfo::index(), and directionInfo::n().

Here is the call graph for this function:

bool updateCell (  const polyMesh &  mesh,
const label  thisCellI,
const label  neighbourFaceI,
const directionInfo &  neighbourInfo,
const scalar  tol
) 
 

Influence of neighbouring face.

bool updateFace (  const polyMesh &  mesh,
const label  thisFaceI,
const directionInfo &  neighbourInfo,
const scalar  tol
) 
 

Influence of different value on same face.

bool updateFace (  const polyMesh &  mesh,
const label  thisFaceI,
const label  neighbourCellI,
const directionInfo &  neighbourInfo,
const scalar  tol
) 
 

Influence of neighbouring cell.

bool valid (   )  const [inline]
 

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 74 of file directionInfoI.H.


Friends And Related Function Documentation

Ostream& operator<< (  Ostream &  ,
const directionInfo & 
)  [friend]
 

Istream& operator>> (  Istream &  ,
directionInfo & 
)  [friend]
 


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