• Marcus Mohr's avatar
    Adds export utility for general operators and demo app · 86c9b059
    Marcus Mohr authored
    - PETScExportOperatorMatrix.hpp contains a templated function that
      allows exporting an arbitrary operator to a file as matrix via PETSc.
    - PETScSparseMatrix.hpp now contains a variant of the method
      applyDirichletBCSymmetrically() which does only modify the matrix
      itself, but not the RHS. So we need not pass any vectors.
    - exportOperatorMatrix.cpp is a demo app that allows exporting some of
      our constant operators
    86c9b059