DMSwarmVectorGetField#
Gets the fields from which to define a Vec
object when DMCreateLocalVector()
, or DMCreateGlobalVector()
is called
Synopsis#
#include "petscdmswarm.h"
PetscErrorCode DMSwarmVectorGetField(DM dm, PetscInt *Nf, const char **fieldnames[])
Not collective
Input Parameter#
dm - a
DMSWARM
Output Parameters#
Nf - the number of fields
fieldnames - the textual name given to each registered field, or NULL if it has not been set
See Also#
DM
, DMSWARM
, DMSwarmVectorDefineField()
, DMSwarmRegisterPetscDatatypeField()
, DMCreateGlobalVector()
, DMCreateLocalVector()
Level#
beginner
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages