FaceInfoCash Class Reference

#include <faceinfocash.h>

List of all members.

Public Member Functions

 FaceInfoCash ()
bool at_boundary () const
void getAdjCellIndices (unsigned &index1, unsigned &index2) const
double normal_multiply (double *v) const
OrthoMesh::NORMAL_AXIS getNormalOrientation () const
unsigned getNormalNonZeroComponent () const
bool hasPosCell () const
bool hasNegCell () const

Public Attributes

unsigned c1
unsigned c2
char normal

Detailed Description

Definition at line 6 of file faceinfocash.h.


Constructor & Destructor Documentation

FaceInfoCash::FaceInfoCash (  )  [inline]

Definition at line 13 of file faceinfocash.h.


Member Function Documentation

bool FaceInfoCash::at_boundary (  )  const [inline]

Definition at line 14 of file faceinfocash.h.

void FaceInfoCash::getAdjCellIndices ( unsigned &  index1,
unsigned &  index2 
) const [inline]

Definition at line 15 of file faceinfocash.h.

00015 {index1=c1;index2=c2;} 

unsigned FaceInfoCash::getNormalNonZeroComponent (  )  const [inline]

Definition at line 18 of file faceinfocash.h.

00018 {return normal;}

OrthoMesh::NORMAL_AXIS FaceInfoCash::getNormalOrientation (  )  const [inline]

Definition at line 17 of file faceinfocash.h.

00017 {return static_cast<OrthoMesh::NORMAL_AXIS>(normal);}

bool FaceInfoCash::hasNegCell (  )  const [inline]

Definition at line 20 of file faceinfocash.h.

00020 {return c1!=OrthoMesh::INVALID_INDEX;}

bool FaceInfoCash::hasPosCell (  )  const [inline]

Definition at line 19 of file faceinfocash.h.

00019 {return c2!=OrthoMesh::INVALID_INDEX;}

double FaceInfoCash::normal_multiply ( double *  v  )  const [inline]

Definition at line 16 of file faceinfocash.h.

00016 {return v[static_cast<int>(normal)];}


Member Data Documentation

unsigned FaceInfoCash::c1

Definition at line 10 of file faceinfocash.h.

unsigned FaceInfoCash::c2

Definition at line 10 of file faceinfocash.h.

Definition at line 11 of file faceinfocash.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:05 2012 for CO2INJECTION by  doxygen 1.6.3