Add comment to make it clear that using mainGrid::cellCornerVertices with reservoir cell index is valid.

This commit is contained in:
Jacob Støren 2017-06-27 13:20:12 +02:00
parent fc05dd665f
commit 2ed872e8fc

View File

@ -148,7 +148,9 @@ void RigGridBase::initSubCellsMainGridCellIndex()
//--------------------------------------------------------------------------------------------------
///
/// For main grid, this will work with reservoirCellIndices retreiving the correct lgr cells as well.
/// the cell() call retreives correct cell, because main grid has offset of 0, and we access the global
/// cell array in main grid.
//--------------------------------------------------------------------------------------------------
void RigGridBase::cellCornerVertices(size_t cellIndex, cvf::Vec3d vertices[8]) const
{