PetscDSGetEvaluationArrays#
Get scratch arrays used to evaluate fields, time derivatives, and field gradients at quadrature points.
Synopsis#
#include "petscds.h"
PetscErrorCode PetscDSGetEvaluationArrays(PetscDS prob, PetscScalar *u[], PetscScalar *u_t[], PetscScalar *u_x[])
Not Collective
Input Parameter#
prob - the
PetscDS
Output Parameters#
u - array for the field values, or
NULLif not neededu_t - array for the field time derivatives, or
NULLif not neededu_x - array for the field gradients, or
NULLif not needed
Note#
The returned arrays are owned by the PetscDS and must not be freed by the caller.
See Also#
PetscDS, PetscDSGetWeakFormArrays(), PetscDSGetWorkspace()
Level#
developer
Location#
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages