DMFieldSetType#
set the DMField implementation
Synopsis#
#include "petscdmfield.h"
#include "petscdmfield.h"
PetscErrorCode DMFieldSetType(DMField field, DMFieldType type)
Collective
Input Parameters#
field - the
DMFieldcontexttype - a known method
Notes#
See “include/petscvec.h” for available methods (for instance)
DMFIELDDA- a field defined only by its values at the corners of aDMDADMFIELDDS- a field defined by a discretization over a mesh set withDMSetField()DMFIELDSHELL- a field defined by arbitrary callbacks
See Also#
Level#
advanced
Location#
src/dm/field/interface/dmfield.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages