Skip to content
Snippets Groups Projects
Commit e6a7d607 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[mpfa][elemvolvars] reserve memory only once

Until now, the private vector of volume variables was resized and
afterwards additional memory was reserved for the boundary vol vars.
This can cause reallocation to happen. In order to avoid this we now
reserve memory once and push back the vol vars that are created.
parent ec83354d
No related branches found
No related tags found
Loading
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