xref: /petsc/include/petscmathtool.h (revision 562efe2ef922487c6beae96ba39e19afd4eefbe6)
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