Searched refs:cmode (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Viewer.pyx | 228 cdef PetscFileMode cmode = PETSC_FILE_MODE_WRITE 229 if mode is not None: cmode = filemode(mode) 234 CHKERR(PetscViewerFileSetMode(self.vwr, cmode)) 265 cdef PetscFileMode cmode = filemode(mode) 267 CHKERR(PetscViewerBinaryOpen(ccomm, cname, cmode, &newvwr)) 298 cdef PetscFileMode cmode = filemode(mode) 304 CHKERR(PetscViewerFileSetMode(self.vwr, cmode)) 335 cdef PetscFileMode cmode = filemode(mode) 340 CHKERR(PetscViewerFileSetMode(self.vwr, cmode)) 371 cdef PetscFileMode cmode = filemode(mode) [all …]
|
| H A D | Sys.pyx | 418 cdef const char *cmode = NULL 423 mode = str2bytes(mode, &cmode) 424 CHKERR(PetscInfoSetFile(cfilename, cmode))
|
| H A D | IS.pyx | 1596 cdef PetscGLMapMode cmode = PETSC_IS_GTOLM_MASK 1597 if mode is not None: cmode = mode 1601 if cmode != PETSC_IS_GTOLM_MASK: 1603 self.lgm, cmode, n, idx, &nout, NULL)) 1606 self.lgm, cmode, n, idx, &nout, idxout)) 1635 cdef PetscGLMapMode cmode = PETSC_IS_GTOLM_MASK 1636 if mode is not None: cmode = mode 1640 if cmode != PETSC_IS_GTOLM_MASK: 1642 self.lgm, cmode, n, idx, &nout, NULL)) 1645 self.lgm, cmode, n, idx, &nout, idxout))
|
| H A D | DMSwarm.pyx | 675 cdef PetscInsertMode cmode = insertmode(mode) 676 CHKERR(DMSwarmSetPointsUniformCoordinates(self.dm, cmin, cmax, cnpoints, cmode)) 711 cdef PetscInsertMode cmode = insertmode(mode) 713 CHKERR(DMSwarmSetPointCoordinates(self.dm, cnpoints, coords, credundant, cmode)) 947 cdef PetscScatterMode cmode = scattermode(mode) 953 CHKERR(DMSwarmProjectFields(self.dm, dm.dm, cnfields, cfieldnames, cfieldvecs, cmode))
|
| /petsc/src/vec/is/sf/impls/basic/ |
| H A D | sfpack.c | 438 …_Datatype unit, const void *rootdata, const void *leafdata, PetscCopyMode cmode, PetscSFLink *myli… in PetscSFLinkGetInUse() argument 449 switch (cmode) { in PetscSFLinkGetInUse()
|