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