OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

sumData Class Reference

Sums data while walking across cells. Used in collapsing fields. More...

Collaboration diagram for sumData:

List of all members.


Public Member Functions

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

Friends

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

Detailed Description

Sums data while walking across cells. Used in collapsing fields.

Source files

Definition at line 49 of file sumData.H.


Constructor & Destructor Documentation

sumData (  )  [inline]

Construct null.

Definition at line 26 of file sumDataI.H.

sumData ( const label  oldFace,
const scalar  sum,
const label  count 
) [inline]

Construct from count.

Definition at line 36 of file sumDataI.H.


Member Function Documentation

label oldFace (  )  const [inline]

Definition at line 82 of file sumData.H.

Referenced by sumData::operator!=().

Here is the caller graph for this function:

scalar sum (  )  const [inline]

Definition at line 87 of file sumData.H.

Referenced by sumData::operator!=().

Here is the caller graph for this function:

label count (  )  const [inline]

Definition at line 92 of file sumData.H.

Referenced by sumData::operator!=().

Here is the caller graph for this function:

bool valid (  )  const [inline]

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 50 of file sumDataI.H.

bool sameGeometry ( const polyMesh &  ,
const sumData &  ,
const   scalar 
) const [inline]

Check for identical geometrical data. Used for cyclics checking.

Definition at line 58 of file sumDataI.H.

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

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

centre

Definition at line 70 of file sumDataI.H.

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

Reverse of leaveDomain.

Definition at line 90 of file sumDataI.H.

void transform ( const polyMesh &  ,
const tensor &  rotTensor 
) [inline]

Apply rotation matrix to any coordinates.

Definition at line 81 of file sumDataI.H.

bool updateCell ( const polyMesh &  ,
const label  thisCellI,
const label  neighbourFaceI,
const sumData &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of neighbouring face.

Definition at line 103 of file sumDataI.H.

bool updateFace ( const polyMesh &  mesh,
const label  thisFaceI,
const label  neighbourCellI,
const sumData &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of neighbouring cell.

Definition at line 135 of file sumDataI.H.

bool updateFace ( const polyMesh &  ,
const label  thisFaceI,
const sumData &  neighbourInfo,
const scalar  tol 
) [inline]

Influence of different value on same face.

Definition at line 177 of file sumDataI.H.

bool operator== ( const sumData &  rhs  )  const [inline]

Definition at line 201 of file sumDataI.H.

bool operator!= ( const sumData &  rhs  )  const [inline]

Definition at line 211 of file sumDataI.H.

References sumData::count(), sumData::oldFace(), and sumData::sum().

Here is the call graph for this function:


Friends And Related Function Documentation

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

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


The documentation for this class was generated from the following files:
  • applications/utilities/postProcessing/miscellaneous/postChannel/sumData.H
  • applications/utilities/postProcessing/miscellaneous/postChannel/sumDataI.H
Copyright © 2000-2009 OpenCFD Ltd