petsc-3.14.6 2021-03-30
DMRestoreWorkArray
Restores a work array guaranteed to be at least the input size, restore with DMRestoreWorkArray()
Synopsis
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMRestoreWorkArray(DM dm,PetscInt count,MPI_Datatype dtype,void *mem)
Not Collective
Input Parameters
Output Parameter
Developer Notes
count and dtype are ignored, they are only needed for DMGetWorkArray()
See Also
DMDestroy(), DMCreate()
Level
developer
Location
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages