Searched refs:idata (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/sys/classes/viewer/tests/ |
| H A D | ex6.c | 28 PetscInt idata = 42; in TestWrite() local 34 PetscCall(PetscViewerBinaryWrite(viewer, &idata, 1, PETSC_INT)); in TestWrite() 39 PetscCall(PetscViewerBinaryWrite(subviewer, &idata, 1, PETSC_INT)); in TestWrite() 44 PetscCall(PetscViewerBinaryWriteAll(viewer, &idata, 1, s, t, PETSC_INT)); in TestWrite() 49 PetscCall(PetscViewerBinaryWrite(subviewer, &idata, 1, PETSC_INT)); in TestWrite() 54 PetscCall(PetscViewerBinaryWrite(viewer, &idata, 1, PETSC_INT)); in TestWrite() 61 PetscInt idata = 0; in TestRead() local 68 PetscCall(PetscViewerBinaryRead(viewer, &idata, 1, NULL, PETSC_INT)); in TestRead() 70 …PetscCheck(idata == 42, comm, PETSC_ERR_FILE_UNEXPECTED, "Unexpected idata=%" PetscInt_FMT, idata); in TestRead() 76 PetscCall(PetscViewerBinaryRead(subviewer, &idata, 1, NULL, PETSC_INT)); in TestRead() [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | SNES.pyx | 1410 cdef PetscInt *idata = NULL 1419 cdef object ihist = oarray_i(empty_i(size), NULL, &idata) 1421 CHKERR(SNESSetConvergenceHistory(self.snes, rdata, idata, size, flag)) 1434 cdef PetscInt *idata = NULL 1436 CHKERR(SNESGetConvergenceHistory(self.snes, &rdata, &idata, &size)) 1438 cdef object ihist = array_i(size, idata)
|
| H A D | KSP.pyx | 2112 cdef PetscReal *idata = NULL 2115 cdef ndarray i = oarray_r(empty_r(its), NULL, &idata) 2116 CHKERR(KSPComputeEigenvalues(self.ksp, its, rdata, idata, &neig))
|