MatHtoolSetKernel#

Sets the kernel and context used for the assembly of a MATHTOOL.

Synopsis#

#include "petscmat.h" 
PETSC_EXTERN PetscErrorCode MatHtoolSetKernel(Mat A,MatHtoolKernel kernel,void *kernelctx)

Input Parameters#

A

hierarchical matrix

kernel

computational kernel (or NULL)

kernelctx

kernel context (if kernel is NULL, the pointer must be of type htool::VirtualGenerator*)

See Also#

MATHTOOL, MatCreateHtoolFromKernel()

Level#

advanced

Location#

src/mat/impls/htool/htool.cxx

Implementations#

MatHtoolSetKernel_Htool in src/mat/impls/htool/htool.cxx


Edit on GitLab

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