DMFieldCreateDS#
Create a DMField of type DMFIELDDS for a PetscDS field on a DM.
Synopsis#
#include "petscdmfield.h"
#include "petscdmfield.h"
PetscErrorCode DMFieldCreateDS(DM dm, PetscInt fieldNum, Vec vec, DMField *field)
Collective
Input Parameters#
Output Parameter#
field - the newly created
DMField
Note#
Equivalent to DMFieldCreateDSWithDG() with dmDG set to NULL.
See Also#
DMField, DMFIELDDS, DMFieldCreateDSWithDG(), DMFieldCreate(), PetscDS
Level#
intermediate
Location#
Examples#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages