DMFieldShellEvaluateFVDefault#

Default finite-volume evaluation for a DMFIELDSHELL that samples at cell centroids using the coordinate DMField’s default quadrature and calls DMFieldEvaluate().

Synopsis#

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

Not Collective

Input Parameters#

  • field - the DMField of type DMFIELDSHELL

  • pointIS - the IS of mesh cells at which to evaluate

  • type - PETSC_SCALAR or PETSC_REAL

Output Parameters#

  • B - cell-averaged values, or NULL

  • D - cell-averaged derivatives, or NULL

  • H - cell-averaged Hessians, or NULL

Note#

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

See Also#

DMField, DMFIELDSHELL, DMFieldShellSetEvaluateFV(), DMFieldShellEvaluateFEDefault(), 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