PetscErrorCode PetscViewerMatlabPutArray(PetscViewer mfile,int m,int n,const PetscScalar *array,const char *name)Not collective: only processor zero saves the array
mfile | - the viewer | |
m,n | - the dimensions of the array | |
array | - the array (represented in one dimension) | |
name | - the name of the array |
Notes: Only writes array values on processor 0.