MatHtoolGetHierarchicalMat — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# MatHtoolGetHierarchicalMat

Retrieves the opaque pointer to a Htool virtual matrix stored in a `MATHTOOL`.

## Synopsis

    #include "petscmat.h"
    PETSC_EXTERN PetscErrorCode MatHtoolGetHierarchicalMat(Mat A, const htool::VirtualHMatrix<PetscScalar> **hmatrix)

## Input Parameter

- A - hierarchical matrix

## Output Parameter

- hmatrix - opaque pointer to a Htool virtual matrix

## See Also

Matrices, `Mat`, `MATHTOOL`

## Level

advanced

## Location

src/mat/impls/htool/htool.cxx

## Implementations

MatHtoolGetHierarchicalMat_Htool() in src/mat/impls/htool/htool.cxx

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages