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

cellFaceIdentifier Class Reference

Identify cell faces in terms of cell Id and face Id. More...

Collaboration diagram for cellFaceIdentifier:

List of all members.


Public Member Functions

 cellFaceIdentifier ()
 Construct null.
 cellFaceIdentifier (label c, label f)
 Construct from cell/face components.
bool used () const
 Used if cell or face are non-negative.
bool unused () const
 Unused if cell or face are negative.
bool operator!= (const cellFaceIdentifier &cf) const
bool operator== (const cellFaceIdentifier &cf) const

Public Attributes

label cell
 Cell Id.
label face
 Face Id.

Friends

Ostream & operator<< (Ostream &os, const cellFaceIdentifier &cf)

Detailed Description

Identify cell faces in terms of cell Id and face Id.

Definition at line 74 of file meshReader.H.


Constructor & Destructor Documentation

cellFaceIdentifier (  )  [inline]

Construct null.

Definition at line 89 of file meshReader.H.

cellFaceIdentifier ( label  c,
label  f 
) [inline]

Construct from cell/face components.

Definition at line 92 of file meshReader.H.


Member Function Documentation

bool used (  )  const [inline]

Used if cell or face are non-negative.

Definition at line 98 of file meshReader.H.

bool unused (  )  const [inline]

Unused if cell or face are negative.

Definition at line 104 of file meshReader.H.

bool operator!= ( const cellFaceIdentifier &  cf  )  const [inline]

Definition at line 112 of file meshReader.H.

bool operator== ( const cellFaceIdentifier &  cf  )  const [inline]

Definition at line 117 of file meshReader.H.

References cellFaceIdentifier::cell, and cellFaceIdentifier::face.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  os,
const cellFaceIdentifier &  cf 
) [friend]

Definition at line 125 of file meshReader.H.


Member Data Documentation

Cell Id.

Definition at line 80 of file meshReader.H.

Referenced by cellFaceIdentifier::operator==().

Face Id.

Definition at line 83 of file meshReader.H.

Referenced by cellFaceIdentifier::operator==().


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