1 #pragma once 2 3 #include <petscmat.h> 4 5 namespace htool 6 { 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