Actual source code: petscmathtool.h

      1: #pragma once

      3: #include <petscmat.h>

      5: /* MANSEC = Mat */

      7: namespace htool
      8: {
      9: template <class>
     10: class DistributedOperator; /* forward definition of a single needed Htool class */
     11: } // namespace htool

     13: PETSC_EXTERN PetscErrorCode MatHtoolGetHierarchicalMat(Mat, const htool::DistributedOperator<PetscScalar> **);