Rename vertexNeighbours() -> cellNeighboursAcrossVertices().

This commit is contained in:
Atgeirr Flø Rasmussen committed 2014-12-01 11:37:49 +01:00
1 parent e7bdb72ce3
commit 3eb3000248
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ namespace Opm
/// For each cell, find indices of all other cells sharing a vertex with it.
/// \param[in] grid A grid object.
/// \return A table of neighbour cell-indices by cell.
SparseTable<int> vertexNeighbours(const UnstructuredGrid& grid)
SparseTable<int> cellNeighboursAcrossVertices(const UnstructuredGrid& grid)
{
// 1. Create vertex->cell mapping. We do this by iterating
// over all faces, and adding both its cell neighbours