[cig-commits] r13515 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Tue Dec 9 18:13:04 PST 2008
Author: luis
Date: 2008-12-09 18:13:03 -0800 (Tue, 09 Dec 2008)
New Revision: 13515
Modified:
cs/cigma/trunk/src/MeshPart.h
Log:
Accessor function for cell_type member of MeshPart
Modified: cs/cigma/trunk/src/MeshPart.h
===================================================================
--- cs/cigma/trunk/src/MeshPart.h 2008-12-10 02:13:02 UTC (rev 13514)
+++ cs/cigma/trunk/src/MeshPart.h 2008-12-10 02:13:03 UTC (rev 13515)
@@ -32,6 +32,7 @@
void getCell(int e, Cell &cell) const; // XXX
void getBoundingBox(double *minpt, double *maxpt) const;
void getCellCoords(int cellIndex, double *globalCoords, int dim) const;
+ Cell::type getCellType() const;
bool findCell(double globalPoint[3], int *cellIndex);
bool findCell2(double globalPoint[3], double uvw[3], int *cellIndex);
@@ -45,5 +46,6 @@
inline int cigma::MeshPart::n_cells() const { return connect->n_cells(); }
inline int cigma::MeshPart::n_dim() const { return coords->n_dim(); }
+inline cigma::Cell::type cigma::MeshPart::getCellType() const { return cell_type; }
#endif
More information about the CIG-COMMITS
mailing list