| /petsc/src/sys/classes/viewer/tests/ |
| H A D | ex6.c | 68 PetscCall(PetscViewerBinaryRead(viewer, &idata, 1, NULL, PETSC_INT)); in TestRead() 69 PetscCall(PetscViewerBinaryRead(viewer, &rdata, 1, NULL, PETSC_REAL)); in TestRead() 76 PetscCall(PetscViewerBinaryRead(subviewer, &idata, 1, NULL, PETSC_INT)); in TestRead() 77 PetscCall(PetscViewerBinaryRead(subviewer, &rdata, 1, NULL, PETSC_REAL)); in TestRead() 91 PetscCall(PetscViewerBinaryRead(subviewer, &idata, 1, NULL, PETSC_INT)); in TestRead() 92 PetscCall(PetscViewerBinaryRead(subviewer, &rdata, 1, NULL, PETSC_REAL)); in TestRead() 98 PetscCall(PetscViewerBinaryRead(viewer, &idata, 1, NULL, PETSC_INT)); in TestRead() 99 PetscCall(PetscViewerBinaryRead(viewer, &rdata, 1, NULL, PETSC_REAL)); in TestRead()
|
| /petsc/src/sys/classes/viewer/impls/binary/ftn-custom/ |
| H A D | zbinvf90.c | 46 *ierr = PetscViewerBinaryRead(v, a, *len, count, PETSC_INT); in petscviewerbinaryreadint_() 54 *ierr = PetscViewerBinaryRead(v, a, *len, count, PETSC_SCALAR); in petscviewerbinaryreadscalar_() 62 *ierr = PetscViewerBinaryRead(v, a, *len, count, PETSC_REAL); in petscviewerbinaryreadreal_()
|
| /petsc/src/sys/classes/bag/ |
| H A D | bag.c | 823 PetscCall(PetscViewerBinaryRead(view, &classid, 1, NULL, PETSC_INT)); in PetscBagLoad() 825 PetscCall(PetscViewerBinaryRead(view, &deprecatedbagsize, 1, NULL, PETSC_INT)); in PetscBagLoad() 826 PetscCall(PetscViewerBinaryRead(view, &bagcount, 1, NULL, PETSC_INT)); in PetscBagLoad() 828 PetscCall(PetscViewerBinaryRead(view, bag->bagname, PETSC_BAG_NAME_LENGTH, NULL, PETSC_CHAR)); in PetscBagLoad() 829 PetscCall(PetscViewerBinaryRead(view, bag->baghelp, PETSC_BAG_HELP_LENGTH, NULL, PETSC_CHAR)); in PetscBagLoad() 833 PetscCall(PetscViewerBinaryRead(view, &offset, 1, NULL, PETSC_INT)); in PetscBagLoad() 835 PetscCall(PetscViewerBinaryRead(view, &dtype, 1, NULL, PETSC_INT)); in PetscBagLoad() 836 PetscCall(PetscViewerBinaryRead(view, name, PETSC_BAG_NAME_LENGTH, NULL, PETSC_CHAR)); in PetscBagLoad() 837 PetscCall(PetscViewerBinaryRead(view, help, PETSC_BAG_HELP_LENGTH, NULL, PETSC_CHAR)); in PetscBagLoad() 838 PetscCall(PetscViewerBinaryRead(view, &msize, 1, NULL, PETSC_INT)); in PetscBagLoad() [all …]
|
| /petsc/src/dm/impls/da/ |
| H A D | dacreate.c | 131 PetscCall(PetscViewerBinaryRead(viewer, &dim, 1, NULL, PETSC_INT)); in DMLoad_DA() 132 PetscCall(PetscViewerBinaryRead(viewer, &m, 1, NULL, PETSC_INT)); in DMLoad_DA() 133 PetscCall(PetscViewerBinaryRead(viewer, &n, 1, NULL, PETSC_INT)); in DMLoad_DA() 134 PetscCall(PetscViewerBinaryRead(viewer, &p, 1, NULL, PETSC_INT)); in DMLoad_DA() 135 PetscCall(PetscViewerBinaryRead(viewer, &dof, 1, NULL, PETSC_INT)); in DMLoad_DA() 136 PetscCall(PetscViewerBinaryRead(viewer, &swidth, 1, NULL, PETSC_INT)); in DMLoad_DA() 137 PetscCall(PetscViewerBinaryRead(viewer, &bx, 1, NULL, PETSC_ENUM)); in DMLoad_DA() 138 PetscCall(PetscViewerBinaryRead(viewer, &by, 1, NULL, PETSC_ENUM)); in DMLoad_DA() 139 PetscCall(PetscViewerBinaryRead(viewer, &bz, 1, NULL, PETSC_ENUM)); in DMLoad_DA() 140 PetscCall(PetscViewerBinaryRead(viewer, &stencil, 1, NULL, PETSC_ENUM)); in DMLoad_DA() [all …]
|
| H A D | gr2.c | 596 PetscCall(PetscViewerBinaryRead(viewer, tr, 2, NULL, PETSC_INT)); in DMDAArrayMPIIO()
|
| /petsc/src/ts/trajectory/impls/basic/ |
| H A D | trajbasic.c | 70 PetscCall(PetscViewerBinaryRead(viewer, t, 1, NULL, PETSC_REAL)); in TSTrajectoryGet_Basic() 80 PetscCall(PetscViewerBinaryRead(viewer, &timepre, 1, NULL, PETSC_REAL)); in TSTrajectoryGet_Basic()
|
| /petsc/src/sys/ftn-mod/ |
| H A D | petscviewer.h90 | 83 interface PetscViewerBinaryRead 110 end interface PetscViewerBinaryRead
|
| /petsc/src/ts/utils/ |
| H A D | dmts.c | 75 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ifunction, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 76 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ifunctionview, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 77 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ifunctionload, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 84 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ijacobian, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 85 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ijacobianview, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 86 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ijacobianload, 1, NULL, PETSC_FUNCTION)); in DMTSLoad()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vecio.c | 80 PetscCall(PetscViewerBinaryRead(viewer, tr, 2, NULL, PETSC_INT32)); in VecLoad_Binary() 87 PetscCall(PetscViewerBinaryRead(viewer, &rows64, 1, NULL, PETSC_INT64)); in VecLoad_Binary()
|
| /petsc/src/mat/tests/ |
| H A D | ex249.c | 39 PetscCall(PetscViewerBinaryRead(rowfd, &n, 1, NULL, PETSC_INT)); in main()
|
| /petsc/src/vec/is/utils/ |
| H A D | isio.c | 75 PetscCall(PetscViewerBinaryRead(viewer, tr, 2, NULL, PETSC_INT)); in ISLoad_Binary()
|
| H A D | isltog.c | 459 PetscCall(PetscViewerBinaryRead(viewer, tr, 3, NULL, PETSC_INT)); in ISLocalToGlobalMappingLoad() 464 PetscCall(PetscViewerBinaryRead(viewer, sizes, tr[2], NULL, PETSC_INT)); in ISLocalToGlobalMappingLoad()
|
| /petsc/src/sys/classes/viewer/impls/binary/ |
| H A D | binv.c | 938 PetscErrorCode PetscViewerBinaryRead(PetscViewer viewer, void *data, PetscInt num, PetscInt *count,… in PetscViewerBinaryRead() function 1216 PetscCall(PetscViewerBinaryRead(viewer, &n, 1, NULL, PETSC_INT)); in PetscViewerBinaryReadStringArray() 1218 PetscCall(PetscViewerBinaryRead(viewer, sizes, n, NULL, PETSC_INT)); in PetscViewerBinaryReadStringArray() 1223 PetscCall(PetscViewerBinaryRead(viewer, (*data)[0], N, NULL, PETSC_CHAR)); in PetscViewerBinaryReadStringArray() 1538 v->ops->read = PetscViewerBinaryRead; in PetscViewerCreate_Binary()
|
| /petsc/src/snes/utils/ |
| H A D | dmsnes.c | 39 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->computefunction, 1, NULL, PETSC_FUNCTION)); in DMSNESLoad() 40 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->computejacobian, 1, NULL, PETSC_FUNCTION)); in DMSNESLoad()
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/ |
| H A D | ex1.c | 88 PetscCall(PetscViewerBinaryRead(v, &(*ctx)->k, 1, NULL, PETSC_SCALAR)); in IFunctionLoad()
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | itcreate.c | 56 PetscCall(PetscViewerBinaryRead(viewer, &classid, 1, NULL, PETSC_INT)); in KSPLoad() 58 PetscCall(PetscViewerBinaryRead(viewer, type, 256, NULL, PETSC_CHAR)); in KSPLoad()
|
| /petsc/src/ts/tutorials/autodiff/ |
| H A D | adr_ex1.cxx | 33 PetscCall(PetscViewerBinaryRead(v, &(*ctx)->k, 1, NULL, PETSC_SCALAR)); in IFunctionLoad()
|
| /petsc/include/ |
| H A D | petscviewer.h | 254 PETSC_EXTERN PetscErrorCode PetscViewerBinaryRead(PetscViewer, void *, PetscInt, PetscInt *, PetscD…
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 7066 PetscCall(PetscViewerBinaryRead(viewer, &magic, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() 7069 PetscCall(PetscViewerBinaryRead(viewer, dummy, 5, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() 7071 PetscCall(PetscViewerBinaryRead(viewer, &len, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() 7073 PetscCall(PetscViewerBinaryRead(viewer, &version, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() 7077 PetscCall(PetscViewerBinaryRead(viewer, &shtype, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() 7081 PetscCall(PetscViewerBinaryRead(viewer, mbr, 4, &cnt, PETSC_DOUBLE)); in DMPlexCreateShapefile() 7085 PetscCall(PetscViewerBinaryRead(viewer, zb, 2, &cnt, PETSC_DOUBLE)); in DMPlexCreateShapefile() 7089 PetscCall(PetscViewerBinaryRead(viewer, mb, 2, &cnt, PETSC_DOUBLE)); in DMPlexCreateShapefile() 7100 PetscCall(PetscViewerBinaryRead(viewer, &rnum, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() 7102 PetscCall(PetscViewerBinaryRead(viewer, &rlen, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile() [all …]
|
| /petsc/src/ts/trajectory/impls/memory/ |
| H A D | trajmemory.c | 323 PetscCall(PetscViewerBinaryRead(viewer, stepnum, 1, NULL, PETSC_INT)); in ReadFromDisk() 332 PetscCall(PetscViewerBinaryRead(viewer, time, 1, NULL, PETSC_REAL)); in ReadFromDisk() 333 PetscCall(PetscViewerBinaryRead(viewer, timeprev, 1, NULL, PETSC_REAL)); in ReadFromDisk() 395 PetscCall(PetscViewerBinaryRead(viewer, &nloaded, 1, NULL, PETSC_INT)); in StackLoadAll() 397 PetscCall(PetscViewerBinaryRead(viewer, &cptype_int, 1, NULL, PETSC_INT)); in StackLoadAll()
|
| /petsc/src/ksp/pc/interface/ |
| H A D | precon.c | 1733 PetscCall(PetscViewerBinaryRead(viewer, &classid, 1, NULL, PETSC_INT)); in PCLoad() 1735 PetscCall(PetscViewerBinaryRead(viewer, type, 256, NULL, PETSC_CHAR)); in PCLoad()
|
| /petsc/src/ts/adapt/interface/ |
| H A D | tsadapt.c | 209 PetscCall(PetscViewerBinaryRead(viewer, type, 256, NULL, PETSC_CHAR)); in TSAdaptLoad()
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baij.c | 3643 PetscCall(PetscViewerBinaryRead(viewer, header, 4, NULL, PETSC_INT)); in MatLoad_SeqBAIJ_Binary() 3672 PetscCall(PetscViewerBinaryRead(viewer, rowidxs + 1, m, NULL, PETSC_INT)); in MatLoad_SeqBAIJ_Binary() 3680 PetscCall(PetscViewerBinaryRead(viewer, colidxs, rowidxs[m], NULL, PETSC_INT)); in MatLoad_SeqBAIJ_Binary() 3681 PetscCall(PetscViewerBinaryRead(viewer, matvals, rowidxs[m], NULL, PETSC_SCALAR)); in MatLoad_SeqBAIJ_Binary()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | aij.c | 5003 PetscCall(PetscViewerBinaryRead(viewer, header, 4, NULL, PETSC_INT)); in MatLoad_SeqAIJ_Binary() 5028 PetscCall(PetscViewerBinaryRead(viewer, rowlens, M, NULL, PETSC_INT)); in MatLoad_SeqAIJ_Binary() 5045 PetscCall(PetscViewerBinaryRead(viewer, a->j, nz, NULL, PETSC_INT)); in MatLoad_SeqAIJ_Binary() 5047 PetscCall(PetscViewerBinaryRead(viewer, a->a, nz, NULL, PETSC_SCALAR)); in MatLoad_SeqAIJ_Binary()
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 1823 PetscCall(PetscViewerBinaryRead(viewer, &classid, 1, NULL, PETSC_INT)); in TSLoad() 1825 PetscCall(PetscViewerBinaryRead(viewer, type, 256, NULL, PETSC_CHAR)); in TSLoad()
|