Lines Matching refs:dd

587   DM_DA             *dd = (DM_DA *)da->data;  in DMDAArrayMPIIO()  local
608 PetscCall(PetscMPIIntCast(dd->w, &dof)); in DMDAArrayMPIIO()
610 PetscCall(PetscMPIIntCast(dd->M, gsizes + 1)); in DMDAArrayMPIIO()
611 PetscCall(PetscMPIIntCast(dd->N, gsizes + 2)); in DMDAArrayMPIIO()
612 PetscCall(PetscMPIIntCast(dd->P, gsizes + 3)); in DMDAArrayMPIIO()
614 PetscCall(PetscMPIIntCast((dd->xe - dd->xs) / dof, lsizes + 1)); in DMDAArrayMPIIO()
615 PetscCall(PetscMPIIntCast(dd->ye - dd->ys, lsizes + 2)); in DMDAArrayMPIIO()
616 PetscCall(PetscMPIIntCast(dd->ze - dd->zs, lsizes + 3)); in DMDAArrayMPIIO()
618 PetscCall(PetscMPIIntCast(dd->xs / dof, lstarts + 1)); in DMDAArrayMPIIO()
619 PetscCall(PetscMPIIntCast(dd->ys, lstarts + 2)); in DMDAArrayMPIIO()
620 PetscCall(PetscMPIIntCast(dd->zs, lstarts + 3)); in DMDAArrayMPIIO()
778 DM_DA *dd; in VecLoad_HDF5_DA() local
797 dd = (DM_DA *)da->data; in VecLoad_HDF5_DA()
812 if (dd->w > 1) ++dim; in VecLoad_HDF5_DA()
821 if (dd->w == 1 && dims[dofInd] == 1) dim2 = PETSC_TRUE; in VecLoad_HDF5_DA()
824dd->w == (PetscInt)dims[dofInd], PETSC_COMM_SELF, PETSC_ERR_FILE_UNEXPECTED, "Number of dofs in fi… in VecLoad_HDF5_DA()
827 …Dimension of array in file is %d, not %d as expected with dof = %" PetscInt_FMT, rdim, dim, dd->w); in VecLoad_HDF5_DA()
837 PetscCall(PetscHDF5IntCast(dd->zs, offset + dim)); in VecLoad_HDF5_DA()
838 PetscCall(PetscHDF5IntCast(dd->ze - dd->zs, count + dim)); in VecLoad_HDF5_DA()
842 PetscCall(PetscHDF5IntCast(dd->ys, offset + dim)); in VecLoad_HDF5_DA()
843 PetscCall(PetscHDF5IntCast(dd->ye - dd->ys, count + dim)); in VecLoad_HDF5_DA()
846 PetscCall(PetscHDF5IntCast(dd->xs / dd->w, offset + dim)); in VecLoad_HDF5_DA()
847 PetscCall(PetscHDF5IntCast((dd->xe - dd->xs) / dd->w, count + dim)); in VecLoad_HDF5_DA()
849 if (dd->w > 1 || dim2) { in VecLoad_HDF5_DA()
851 PetscCall(PetscHDF5IntCast(dd->w, count + dim)); in VecLoad_HDF5_DA()
884 DM_DA *dd; in VecLoad_Binary_DA() local
891 dd = (DM_DA *)da->data; in VecLoad_Binary_DA()
910 …(flag && bs != dd->w) PetscCall(PetscInfo(xin, "Block size in file %" PetscInt_FMT " not equal to … in VecLoad_Binary_DA()