Skip to content
Snippets Groups Projects
Verified Commit 22c468b1 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Store UGGeometry corner coordinates on the stack

Avoid storing coordinates on the heap by exploiting the fact that we only have
cubes and simplices up to 3D. When the number of corners is the same use an std::array, otherwise use a ReservedVector. This avoid many allocations during grid iteration.
parent 75e259d2
No related tags found
1 merge request!753Use less allocations on UGGrid intersection geometries
Pipeline #75028 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment