add cartesianCoordianteLevel in ALUCartIdxMapp, used in RelperDiag

This commit is contained in:
Antonella Ritorto
2023-11-27 15:12:40 +01:00
parent 5fe1eafb34
commit 8017ff9a02
2 changed files with 10 additions and 1 deletions

View File

@@ -850,7 +850,7 @@ namespace Opm {
std::string cellIdx;
{
std::array<int, 3> ijk;
cartesianIndexMapper.cartesianCoordinate(c, ijk);
cartesianIndexMapper.cartesianCoordinateLevel(c, ijk, 0);
cellIdx = "(" + std::to_string(ijk[0]) + ", " +
std::to_string(ijk[1]) + ", " +
std::to_string(ijk[2]) + ")";