Added free method to get the sum of the the faces that are attached to every cell.
This commit is contained in:
@@ -17,6 +17,11 @@ int dimensions(const UnstructuredGrid& grid)
|
||||
{
|
||||
return grid.dimensions;
|
||||
}
|
||||
int numCellFaces(const UnstructuredGrid& grid)
|
||||
{
|
||||
return grid.cell_facepos[grid.number_of_cells];
|
||||
}
|
||||
|
||||
const int* globalCell(const UnstructuredGrid& grid)
|
||||
{
|
||||
return grid.global_cell;
|
||||
|
||||
Reference in New Issue
Block a user