mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5429 pre-allocate some more room for triangles after moving to Tet based MC
This commit is contained in:
parent
c940472b4c
commit
c9dbad78de
@ -544,7 +544,7 @@ void HexGridIntersectionTools::clipPlanarTrianglesWithInPlaneTriangle(const std:
|
|||||||
clipTrianglePlanes[1] = createPlaneFromEdgeAndPointInNormalDirection ( tp2, tp3, tp1 );
|
clipTrianglePlanes[1] = createPlaneFromEdgeAndPointInNormalDirection ( tp2, tp3, tp1 );
|
||||||
clipTrianglePlanes[2] = createPlaneFromEdgeAndPointInNormalDirection ( tp3, tp1, tp2 );
|
clipTrianglePlanes[2] = createPlaneFromEdgeAndPointInNormalDirection ( tp3, tp1, tp2 );
|
||||||
|
|
||||||
#define reserveSize 60
|
#define reserveSize 100
|
||||||
|
|
||||||
std::vector<cvf::Vec3d> currentInputTriangleVxes;
|
std::vector<cvf::Vec3d> currentInputTriangleVxes;
|
||||||
currentInputTriangleVxes.reserve(reserveSize);
|
currentInputTriangleVxes.reserve(reserveSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user