NNC: Added face to result info text

This commit is contained in:
Jacob Støren 2013-12-19 10:46:17 +01:00
parent cf7de9d588
commit b52c0fcdd3
2 changed files with 4 additions and 1 deletions

View File

@ -1834,8 +1834,10 @@ void RimReservoirView::appendNNCResultInfo(size_t gridIndex, size_t nncIndex, QS
const RigConnection& conn = nncData->connections()[nncIndex];
cvf::StructGridInterface::FaceEnum face(conn.m_c1Face);
resultInfo->append(QString("NNC Transmissibility : %1\n").arg(conn.m_transmissibility));
resultInfo->append(QString("NNC Cell 1 : %1\n").arg(conn.m_c1GlobIdx));
resultInfo->append(QString("NNC Cell 1 : %1, Face: %2\n").arg(conn.m_c1GlobIdx).arg(face.text()));
resultInfo->append(QString("NNC Cell 2 : %1\n").arg(conn.m_c2GlobIdx));
}
}

View File

@ -50,6 +50,7 @@ namespace caf
addItem(cvf::StructGridInterface::NEG_J, "Y-", "");
addItem(cvf::StructGridInterface::POS_K, "Z", "");
addItem(cvf::StructGridInterface::NEG_K, "Z-", "");
addItem(cvf::StructGridInterface::NO_FACE, "UnDef", "");
}
}