DMFieldShellSetEvaluateFE#
Register the routine that evaluates a DMFIELDSHELL at finite-element quadrature points over a set of mesh points.
Synopsis#
#include "petscdmfield.h"
PetscErrorCode DMFieldShellSetEvaluateFE(DMField field, PetscErrorCode (*evaluateFE)(DMField field, IS is, PetscQuadrature quad, PetscDataType dtype, void *B, void *D, void *H))
Logically Collective
Input Parameters#
field - the
DMFieldof typeDMFIELDSHELLevaluateFE - the FE evaluation callback
Calling sequence of evaluateFE#
field - the
DMFieldof typeDMFIELDSHELLis - the
ISof mesh cells on which to evaluate the fieldquad - the reference-cell
PetscQuadraturesupplying the evaluation pointsdtype -
PETSC_SCALARorPETSC_REALB - array of field values at each quadrature point, or
NULLD - array of field reference derivatives at each quadrature point, or
NULLH - array of field reference Hessians at each quadrature point, or
NULL
Note#
If the shell only supplies a generic DMFieldEvaluate() via DMFieldShellSetEvaluate(), pass DMFieldShellEvaluateFEDefault() here.
See Also#
DMField, DMFIELDSHELL, DMFieldCreateShell(), DMFieldEvaluateFE(), DMFieldShellEvaluateFEDefault(), DMFieldShellSetEvaluateFV()
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