1. 18 Oct, 2021 1 commit
  2. 06 Oct, 2021 1 commit
  3. 05 Oct, 2021 5 commits
  4. 04 Oct, 2021 5 commits
  5. 01 Oct, 2021 7 commits
  6. 30 Sep, 2021 2 commits
  7. 29 Sep, 2021 9 commits
  8. 28 Sep, 2021 8 commits
    • Nils Kohl's avatar
      [WIP] Started refactoring of sparse matrix creation API throughout the entire framework. · 0768f4a0
      Nils Kohl authored
      Implementing toMatrix() methods for many operators. Also got rid of some free functions
      but this needs some more work. Almost all cases in PetscMatrixAssemblyTest are compiling
      but many still abort. Also refactored PETScSparseMatrix a little so that only one template
      argument is necessary now (only the operator).
      
      Added support for non-square sparse matrices.
      
      Some things that are still open:
      - get PetscMatrixAssemblyTest green, enabling all test cases
      - remove all former createMatrix() free function calls and definitions
      - replace matIdx_t with the new index type before/when merging
      - check that no PetscInts remain
      - remove all the Petsc ifdefs that are not required anymore
      - remove the petsc namespace where they technically only wrap sparse matrix stuff
      - discuss what to do with the P1*Operator_new versions
      0768f4a0
    • Marcus Mohr's avatar
      881e81b2
    • Dominik Thoennes's avatar
      32be99c0
    • Marcus Mohr's avatar
      Reworks numberOfLocal/GlobalDoFs for Block/GenericFunction · 1e596bf3
      Marcus Mohr authored
      We now treat the special case of having a BlockFunction or GenericFunction
      in the templated function numberOfLocal/GlobalDoFs directly using a
      constexpr-if. Makes it much easier for the compiler, which otherwise
      sometimes had problems finding the correct variant.
      
      For this to work BlockFunction::ValueType was renamed to
      BlockFunction::valueType like in the other functions and a similar
      typedef was added to GenericFunction.
      1e596bf3
    • Dominik Thoennes's avatar
      fix petsc tests · e3c45624
      Dominik Thoennes authored
      e3c45624
    • Marcus Mohr's avatar
      New constructor version for PETScSparseMatrix · ea620af6
      Marcus Mohr authored
      The new variant allows to pass a function object in place of a
      PrimitiveStorage object to be used for determination of DoF counts.
      
      Testing new approach in PetscMatrixAssemblyTest.
      ea620af6
    • Marcus Mohr's avatar
      Add numberOfGlobalDoFs() for Generic- and BlockFunctions · 7ac9c3e5
      Marcus Mohr authored
      For similar reasons as explained in [11449739] we introduce a variant of
      numberOfGlobalDoFs() that requires a function object.
      7ac9c3e5
    • Nils Kohl's avatar
      Missing include · 9add4f33
      Nils Kohl authored
      9add4f33
  9. 27 Sep, 2021 2 commits