MatH2OpusKernelFn#
Function type for the user-supplied kernel callback used by MATH2OPUS (see MatCreateH2OpusFromKernel()) to evaluate the dense matrix entries on demand
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscScalar MatH2OpusKernelFn(PetscInt spacedim, PetscReal target[], PetscReal source[], PetscCtx ctx);
Synopsis#
#include <petscmat.h>
PetscScalar MatH2OpusKernelFn(PetscInt spacedim, PetscReal target[], PetscReal source[], PetscCtx ctx)
Calling Sequence#
spacedim - spatial dimension, either 1, 2, or 3
target - spatial coordinate of the target point, its length is
spacedimsource - spatial coordinate of the source point, its length is
spacedimctx - the optional application context passed with
MatCreateH2OpusFromKernel()
Note#
Returns the matrix entry coupling the target and source points
See Also#
Level#
intermediate
Location#
Examples#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages