mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Neighbor calculation and invisible face removal
As a step on the road to range filtering of Geomech cases, the removal of internal faces is implemented, and fairly optimized. We might consider paralellization, but reading the elements is the real bottleneck. Memory usage should be looked at.
This commit is contained in:
@@ -87,6 +87,13 @@ bool RigGeoMechCaseData::openAndReadFemParts()
|
||||
m_femPartResults[pIdx] = new RigFemPartResults;
|
||||
m_femPartResults[pIdx]->initResultStages(stepNames);
|
||||
}
|
||||
|
||||
// Calculate derived Fem data
|
||||
for (int pIdx = 0; pIdx < m_femParts->partCount(); ++pIdx)
|
||||
{
|
||||
m_femParts->part(pIdx)->assertNodeToElmIndicesIsCalculated();
|
||||
m_femParts->part(pIdx)->assertElmNeighborsIsCalculated();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user