DMFieldShellEvaluateFEDefault — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# DMFieldShellEvaluateFEDefault

Default finite-element evaluation for a `DMFIELDSHELL` that maps the quadrature points to real space using the coordinate `DMField` and then calls `DMFieldEvaluate()`.

## Synopsis

    #include "petscdmfield.h"
    PetscErrorCode DMFieldShellEvaluateFEDefault(DMField field, IS pointIS, PetscQuadrature quad, PetscDataType type, void *B, void *D, void *H)

Not Collective

## Input Parameters

- field - the `DMField` of type `DMFIELDSHELL`

- pointIS - the `IS` of mesh points at which to evaluate

- quad - the reference-element quadrature

- type - `PETSC_SCALAR` or `PETSC_REAL`

## Output Parameters

- B - values at quadrature points, or `NULL`

- D - derivatives at quadrature points, or `NULL`

- H - Hessians at quadrature points, or `NULL`

## Note

Intended to be registered as the FE evaluation callback via `DMFieldShellSetEvaluateFE()` when the shell only supplies a bulk `DMFieldEvaluate()` implementation.

## See Also

`DMField`, `DMFIELDSHELL`, `DMFieldShellSetEvaluateFE()`, `DMFieldShellEvaluateFVDefault()`, `DMFieldEvaluate()`

## Level

developer

## 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