Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dune-metagrid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • extensions
  • dune-metagrid
  • Merge requests
  • !11

HostGrid can provide geomTypes in container not std::vector

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Simon Praetorius requested to merge issue/grid-geomtypes into master Nov 08, 2022
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Summary

IndexSet is allowed to provide its GeometryTypes list as something else than std::vector<GeometryType>. Therefore the IndexSet::Types alias is available. Most grids just return a std::vector, but, e.g., AlbertaGrid returns a std::array instead. Almost all grids could returns something cheaper than std::vector since there is only a single GeometryType. This MR, fixes the handling of this flexibility in the ParallelGrid wrapper by copying the GeometryTypes into the new storage.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue/grid-geomtypes