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

Feature/copy matrix

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kilian Weishaupt requested to merge feature/copyMatrix into next Sep 04, 2017
  • Overview 2
  • Commits 10
  • Pipelines 0
  • Changes 3

Converts a Dune:MultitypeBlockMatrix to a plain BCRS matrix with block size 1x1.

Increases convenience. Nested MultitypeBlockMatrices can be handled as well by passing a std::tuple of std::tuples containing references to the individual sub-matrices (similar to how it is done with Dune:MultitypeBlockVector to construct the MultitypeBlockMatrix).

This even seems to increase performance a bit:

test_donea old test_donea new
0.372829 0.318897
0.358279 0.295304
0.434373 0.289843
0.3567 0.312524
0.38054525 0.304142

TODO

  • create something similar for Dune:MultitypeBlockVector
  • use in dumux/mixeddimension
Edited Sep 04, 2017 by Kilian Weishaupt
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/copyMatrix