PetscViewerCGNSGetDescriptors#

Get all descriptors set at the base level of the CGNS viewer

Synopsis#

#include "petscviewer.h" 
#include "petscdmplex.h"   
PetscErrorCode PetscViewerCGNSGetDescriptors(PetscViewer viewer, PetscInt *num_descriptors, char ***names, char ***values)

Logically collective

Input Parameter#

Output Parameters#

  • num_descriptors - Number of descriptors set on the file

  • names - Pointer to store array of descriptor names

  • values - Pointer to store array of descriptor values

Note#

Memory must be freed via calling PetscViewerCGNSRestoreDescriptors()

See Also#

PETSCVIEWERCGNS, PetscViewer, PetscViewerCGNSRestoreDescriptors(), PetscViewerCGNSSetDescriptor(), PetscViewerCGNSSetSolutionIndex(), PetscViewerCGNSGetSolutionIndex(), PetscViewerCGNSGetSolutionTime()

Level#

intermediate

Location#

src/sys/classes/viewer/impls/cgns/cgnsv.c


Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages