DMFieldShellSetCreateDefaultQuadrature#
Register the routine that supplies a default PetscQuadrature sufficient to integrate a DMFIELDSHELL exactly over a set of mesh points.
Synopsis#
#include "petscdmfield.h"
PetscErrorCode DMFieldShellSetCreateDefaultQuadrature(DMField field, PetscErrorCode (*create)(DMField f, IS is, PetscQuadrature *quad))
Logically Collective
Input Parameters#
field - the
DMFieldof typeDMFIELDSHELLcreate - callback that returns a newly created
PetscQuadraturefor the given pointIS
Calling sequence of create#
f - the
DMFieldof typeDMFIELDSHELLis - the
ISof mesh points over which the field will be integratedquad - the newly created
PetscQuadrature
See Also#
DMField, DMFIELDSHELL, DMFieldCreateShell(), DMFieldCreateDefaultQuadrature()
Level#
intermediate
Location#
src/dm/field/impls/shell/dmfieldshell.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages