PETSc version 3.17.5
Fix/Edit manual page

MatH2OpusSetSamplingMat

Set a matrix to be sampled from matrix vector product to construct a hierarchical matrix.

Synopsis

PetscErrorCode MatH2OpusSetSamplingMat(Mat A, Mat B, PetscInt bs, PetscReal tol)

Input Parameters

A - the hierarchical matrix
B - the matrix to be sampled
bs - maximum number of samples to be taken concurrently
tol - relative tolerance for construction

Notes: Need to call MatAssemblyBegin/End() to update the hierarchical matrix.

See Also

MatCreate(), MATH2OPUS, MatCreateH2OpusFromMat(), MatCreateH2OpusFromKernel(), MatH2OpusCompress(), MatH2OpusOrthogonalize()

Level

intermediate

Location

src/mat/impls/h2opus/cuda/math2opus.cu
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages