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

Use std::optional to store multilinear geometries & move coordinates

There is no inherent need to store geometries in the heap. This changes the data layout to store them in the stack. Incidentally, this also moves coordinates into the geometries to avoid an extra allocation on the vector of coordinates.
parent 287f7fe7
Branches
No related tags found
1 merge request!753Use less allocations on UGGrid intersection geometries
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment