Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • 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
  • dumux-repositoriesdumux-repositories
  • dumuxdumux
  • Merge requests
  • !2872

[couplingmanager] Use raw pointer to sub-problems

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Timo Koch requested to merge feature/coupling-manager-raw-pointer into master Oct 17, 2021
  • Overview 7
  • Commits 1
  • Pipelines 1
  • Changes 1

The pointer were previously managed by weak_ptr. As it turns out, the interface obtaining the sub-problems is called very often in typical applications, and can impact runtime. We therefore make it more efficient by using raw pointers and refrain from using exception handling. In the case that the sub-problem pointers are not set, an assert will be triggered in debug mode.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/coupling-manager-raw-pointer