Skip to content
Snippets Groups Projects

Make FastAMG work with non-blocked matrices

Merged Carsten Gräser requested to merge feature/fastamg-nonblocked-support into master
All threads resolved!

The internal operations of FastAMG assumed that the entries of the matrix are vectors are matrices and vectors themselves by making use of the dune matrix and vector interfaces. As a consequence FastAMG cannot be used with BCRSMatrix<double> in contrast to BCRSMatrix<FieldMatrix<double,1,1>>.

This patch introduces IsNumber-based switches in the respective places that use plain arithmetic operators if the matrix/vector is not blocked thus adds the missing support for e.g. BCRSMatrix<double>.

Merge request reports

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Timo Koch
  • added 1 commit

    Compare with previous version

  • Carsten Gräser resolved all threads

    resolved all threads

  • Carsten Gräser added 2 commits

    added 2 commits

    • 3327e6e2 - [test] Test FastAMG with non-blocked BCRSMatrix
    • 80961aae - [test] Make FastAMG-test deterministic

    Compare with previous version

  • For completeness test/fastamg now also checks the non-blocked version.

  • Markus Blatt approved this merge request

    approved this merge request

  • merged

  • Markus Blatt mentioned in commit e4079597

    mentioned in commit e4079597

  • thanks a lot for this.

  • Please register or sign in to reply
    Loading