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 DMField of type DMFIELDSHELL

  • create - callback that returns a newly created PetscQuadrature for the given point IS

Calling sequence of create#

  • f - the DMField of type DMFIELDSHELL

  • is - the IS of mesh points over which the field will be integrated

  • quad - 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