PetscDSGetWorkspace#
Get scratch storage used during discretization computations.
Synopsis#
#include "petscds.h"
PetscErrorCode PetscDSGetWorkspace(PetscDS prob, PetscReal **x, PetscScalar **basisReal, PetscScalar **basisDerReal, PetscScalar **testReal, PetscScalar **testDerReal)
Not Collective
Input Parameter#
prob - the
PetscDS
Output Parameters#
x - array for real-valued quadrature point coordinates, or
NULLif not neededbasisReal - array for the real-valued basis function values, or
NULLif not neededbasisDerReal - array for the real-valued basis function derivatives, or
NULLif not neededtestReal - array for the real-valued test function values, or
NULLif not neededtestDerReal - array for the real-valued test function derivatives, or
NULLif not needed
Note#
The returned arrays are owned by the PetscDS and must not be freed by the caller.
See Also#
PetscDS, PetscDSGetEvaluationArrays(), PetscDSGetWeakFormArrays()
Level#
developer
Location#
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages