mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user