Geomech case info (#291)

Displaying result info and the number of cells in the 3D view's info box
for geomech cases.
This commit is contained in:
Stein Dale
2015-06-01 16:37:22 +02:00
parent 0bdc8916d7
commit f88343a122
3 changed files with 69 additions and 2 deletions

View File

@@ -69,5 +69,17 @@ int RigFemPartCollection::partCount() const
return static_cast<int>(m_femParts.size());
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
size_t RigFemPartCollection::totalElementCount() const
{
size_t elementCount = 0;
for (size_t i = 0; i < partCount(); i++)
{
elementCount += part(i)->elementCount();
}
return elementCount;
}