| 82ea9b62 | 29-Mar-2015 |
Barry Smith <bsmith@mcs.anl.gov> |
PETSc Vecs with a bs of 1, coming from a generic VecCreate() or DMCreateGlobalVector() with a DMDA will NOT have an extra dimension attached to them in HDF5 files created with VecView() with HDF5 vie
PETSc Vecs with a bs of 1, coming from a generic VecCreate() or DMCreateGlobalVector() with a DMDA will NOT have an extra dimension attached to them in HDF5 files created with VecView() with HDF5 viewers, to have that extra dimension even if the bs is on use either PetscViewerHDF5SetBaseDimension2() or -viewer_hdf5_base_dimension2. Similarly to handle VecLoad() you need to set this value in the viewer if the file has the extra dimension
show more ...
|