PetscViewerExodusIISetNodalVariable#
Sets the number of nodal variables in an exodusII file
Synopsis#
#include "petscdmplex.h"
PetscErrorCode PetscViewerExodusIISetNodalVariable(PetscViewer viewer, PetscExodusIIInt num)
Collective;
Input Parameters#
viewer - a
PetscViewer
of typePETSCVIEWEREXODUSII
num - the number of nodal variables in the exodusII file
Notes#
The exodusII API does not allow changing the number of variables in a file so this function will return an error if called twice, called on a read-only file, or called on file for which the number of variables has already been specified
See Also#
PETSCVIEWEREXODUSII
, PetscViewer
, PetscViewerCreate()
, PetscViewerDestroy()
, PetscViewerExodusIIOpen()
, PetscViewerSetType()
, PetscViewerType
, PetscViewerExodusIIGetNodalVariable()
Level#
intermediate
Location#
src/dm/impls/plex/exodusii/plexexodusii2.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages