PetscErrorCode MatCreateH2OpusFromMat(Mat B, PetscInt spacedim, const PetscReal coords[], PetscBool cdist, PetscReal eta, PetscInt leafsize, PetscInt maxrank, PetscInt bs, PetscReal rtol, Mat *nA)
| B | - the matrix to be sampled | |
| spacedim | - dimension of the space coordinates | |
| coords | - coordinates of the points | |
| cdist | - whether or not coordinates are distributed | |
| eta | - admissibility condition tolerance | |
| leafsize | - leaf size in cluster tree | |
| maxrank | - maximum rank allowed | |
| bs | - maximum number of samples to be taken concurrently | |
| rtol | - relative tolerance for construction |
| nA | - matrix |
| -mat_h2opus_leafsize <PetscInt> | ||
| -mat_h2opus_eta <PetscReal> | ||
| -mat_h2opus_maxrank <PetscInt> | ||
| -mat_h2opus_samples <PetscInt> | ||
| -mat_h2opus_rtol <PetscReal> | ||
| -mat_h2opus_check <PetscBool> | - Check error when constructing from sampling during MatAssemblyEnd() | |
| -mat_h2opus_hara_verbose <PetscBool> | - Verbose output from hara construction | |
| -mat_h2opus_normsamples <PetscInt> | - Maximum bumber of samples to be when estimating norms |
Notes: not available in parallel