xref: /petsc/include/petscmathtool.h (revision 5cb5107f0ce9eeb7c2b80664b9ef21a4fb1177ff)
1 #pragma once
2 
3 #include <petscmat.h>
4 
5 /* MANSEC = Mat */
6 
7 namespace htool
8 {
9 template <class>
10 class DistributedOperator; /* forward definition of a single needed Htool class */
11 } // namespace htool
12 
13 PETSC_EXTERN PetscErrorCode MatHtoolGetHierarchicalMat(Mat, const htool::DistributedOperator<PetscScalar> **);
14