DMFieldType#

String with the name of a DMField implementation

Synopsis#

typedef const char *DMFieldType;
#define DMFIELDDA    "da"
#define DMFIELDDS    "ds"
#define DMFIELDSHELL "shell"

Values#

  • DMFIELDDA - a field defined only by its values at the corners of a DMDA

  • DMFIELDDS - a field defined by a discretization over a mesh set with DMSetField()

  • DMFIELDSHELL - a field defined by arbitrary callbacks

See Also#

DM Basics, DMField, DMFieldSetType(), DMFieldGetType(), DMFieldRegister()

Level#

intermediate

Location#

include/petscdmfield.h


Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages