mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Performance: Temp estimate of vx count
to fit generation of all faces for all elments
This commit is contained in:
parent
8813d8da6d
commit
8c12c8bcf7
@ -156,6 +156,7 @@ void RivFemPartGeometryGenerator::computeArrays()
|
||||
m_quadVerticesToNodeIdx.clear();
|
||||
m_quadVerticesToGlobalElmNodeIdx.clear();
|
||||
|
||||
size_t estimatedQuadVxCount = m_part->elementCount()*6*4;
|
||||
|
||||
vertices.reserve(estimatedQuadVxCount);
|
||||
m_quadVerticesToNodeIdx.reserve(estimatedQuadVxCount);
|
||||
|
Loading…
Reference in New Issue
Block a user