Skip to content
Snippets Groups Projects

Fix/default constructor initializer list

Merged Timo Koch requested to merge fix/default-constructor-initializer-list into master

A default constructed FoamGrid should be a valid (but empty) grid. The list of entites was previously uninitialized but this data member is accessed in several interface functions.

The entity list is now properly initialized. Level 0 always exists, but is empty (empty entity lists) when the grid is default constructed. An empty level index set is also created for level 0.

Improves test by adding an empty grid test.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading