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