#include "petscviewerhdf5.h" PetscErrorCode PetscViewerHDF5SetBaseDimension2(PetscViewer viewer,PetscBool flg)Logically Collective on PetscViewer
viewer | - the PetscViewer; if it is not hdf5 then this command is ignored | |
flg | - if PETSC_TRUE the vector will always have at least a dimension of 2 even if that first dimension is of size 1 |
-viewer_hdf5_base_dimension2 | - turns on (true) or off (false) using a dimension of 2 in the HDF5 file even if the bs/dof of the vector is 1 |