1: #ifndef PETSCMATHTOOL_H
2: #define PETSCMATHTOOL_H
4: #include <petscmat.h>
6: namespace htool
7: {
8: template <class>
9: class VirtualHMatrix; /* forward definition of a single needed Htool class */
10: } // namespace htool
12: PETSC_EXTERN PetscErrorCode MatHtoolGetHierarchicalMat(Mat, const htool::VirtualHMatrix<PetscScalar> **);
14: #endif /* PETSCMATHTOOL_H */