| H A D | daview.c | 13 PetscInt dim, m, n, p, dof, swidth; in DMView_DA_Matlab() local 22 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, 0, 0, 0, &dof, &swidth, &bx, &by, &bz, &stencil)); in DMView_DA_Matlab() 30 mxSetFieldByNumber(mx, 0, 5, mxCreateDoubleScalar((double)swidth)); in DMView_DA_Matlab() 45 PetscInt dim, m, n, p, dof, swidth, M, N, P; in DMView_DA_Binary() local 55 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, &M, &N, &P, &dof, &swidth, &bx, &by, &bz, &stencil)); in DMView_DA_Binary() 64 PetscCall(PetscViewerBinaryWrite(viewer, &swidth, 1, PETSC_INT)); in DMView_DA_Binary()
|