PetscWeakFormGetKeys#
Return an array of PetscFormKey of a certain PetscWeakFormKind
Synopsis#
#include "petscds.h"
PetscErrorCode PetscWeakFormGetKeys(PetscWeakForm wf, PetscWeakFormKind k, PetscInt *Nk, PetscFormKey *keys[])
Not Collective
Input Parameters#
wf - the
PetscWeakFormobjectk - the
PetscWeakFormKindto get keys for
Output Parameters#
Nk - the number of keys returned
keys - the array of
PetscFormKeyobjects
Note#
The caller must PetscFree() the keys array when it is no longer needed.
See Also#
PetscWeakForm, PetscWeakFormDestroy(), PetscWeakFormCreate()
Level#
developer
Location#
src/dm/dt/interface/dtweakform.c
Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages