petsc-3.3-p7 2013-05-11

DMGetWorkArray

Gets a work array guaranteed to be at least the input size

Synopsis

#include "petscdm.h"     
PetscErrorCode DMGetWorkArray(DM dm,PetscInt size,PetscScalar **array)
Not Collective

Input Parameters

dm - the DM object
size - The minium size

Output Parameter

array -the work array

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