1: #pragma once 3: #include <petscmat.h> 5: namespace htool 6: { 7: template <class> 8: class DistributedOperator; /* forward definition of a single needed Htool class */ 9: } // namespace htool 11: PETSC_EXTERN PetscErrorCode MatHtoolGetHierarchicalMat(Mat, const htool::DistributedOperator<PetscScalar> **);