DMSwarmDestroyLocalVectorFromFields#
Destroys the Vec
object which share the array associated with a given field set
Synopsis#
#include "petscdmswarm.h"
PetscErrorCode DMSwarmDestroyLocalVectorFromFields(DM dm, PetscInt Nf, const char *fieldnames[], Vec *vec)
Collective
Input Parameters#
dm - a
DMSWARM
Nf - the number of fields
fieldnames - the textual names given to the registered fields
Output Parameter#
vec - the vector
See Also#
DM
, DMSWARM
, DMSwarmRegisterPetscDatatypeField()
, DMSwarmCreateLocalVectorFromFields()
Level#
beginner
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages