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#
Output Parameters#
B - cell-averaged values, or
NULLD - cell-averaged derivatives, or
NULLH - 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