| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DM.pyx | 883 cdef const char *cname = NULL 884 str2bytes(name, &cname) 885 if cname != NULL: 886 CHKERR(DMGetNamedGlobalVector(self.dm, cname, &vg.vec)) 909 cdef const char *cname = NULL 910 str2bytes(name, &cname) 912 if cname != NULL: 913 CHKERR(DMRestoreNamedGlobalVector(self.dm, cname, &vg.vec)) 937 cdef const char *cname = NULL 938 str2bytes(name, &cname) [all …]
|
| H A D | Viewer.pyx | 226 cdef const char *cname = NULL 227 name = str2bytes(name, &cname) 235 CHKERR(PetscViewerFileSetName(self.vwr, cname)) 263 cdef const char *cname = NULL 264 name = str2bytes(name, &cname) 267 CHKERR(PetscViewerBinaryOpen(ccomm, cname, cmode, &newvwr)) 296 cdef const char *cname = NULL 297 name = str2bytes(name, &cname) 305 CHKERR(PetscViewerFileSetName(self.vwr, cname)) 333 cdef const char *cname = NULL [all …]
|
| H A D | Log.pyx | 34 cdef const char *cname = NULL 35 name = str2bytes(name, &cname) 39 CHKERR(PetscLogStageFindId(cname, &stageid)) 41 CHKERR(PetscLogStageRegister(cname, &stageid)) 68 cdef const char *cname = NULL 69 name = str2bytes(name, &cname) 73 CHKERR(PetscLogClassFindId(cname, &classid)) 75 CHKERR(PetscLogClassRegister(cname, &classid)) 104 cdef const char *cname = NULL 105 name = str2bytes(name, &cname) [all …]
|
| H A D | petscdmshell.pxi | 335 cdef const char *cname = NULL 356 names[i] = str2bytes(names[i], &cname) 357 CHKERR(PetscStrallocpy(cname, &namelist[0][i])) 381 cdef const char *cname = NULL 404 names[i] = str2bytes(names[i], &cname) 405 CHKERR(PetscStrallocpy(cname, &namelist[0][i]))
|
| H A D | DMLabel.pyx | 59 cdef const char *cname = NULL 60 name = str2bytes(name, &cname) 61 CHKERR(DMLabelCreate(ccomm, cname, &newdmlabel))
|
| H A D | TS.pyx | 1269 cdef const char *cname = NULL 1270 splitname = str2bytes(splitname, &cname) 1271 CHKERR(TSRHSSplitSetIS(self.ts, cname, iss.iset)) 1302 cdef const char *cname = NULL 1304 splitname = str2bytes(splitname, <const char**>&cname) 1313 CHKERR(TSRHSSplitSetRHSFunction(self.ts, cname, rvec, TS_RHSFunction, <void*>context)) 1315 CHKERR(TSRHSSplitSetRHSFunction(self.ts, cname, rvec, NULL, NULL)) 1346 cdef const char *cname = NULL 1348 splitname = str2bytes(splitname, &cname) 1357 CHKERR(TSRHSSplitSetIFunction(self.ts, cname, rvec, TS_IFunction, <void*>context)) [all …]
|
| H A D | DMSwarm.pyx | 988 cdef const char *cname = NULL 989 str2bytes(name, &cname) 990 CHKERR(DMSwarmSetCellDMActive(self.dm, cname)) 1020 cdef const char *cname = NULL 1021 str2bytes(name, &cname) 1022 CHKERR(DMSwarmGetCellDMByName(self.dm, cname, &newcdm))
|
| H A D | Section.pyx | 194 cdef const char *cname = NULL 195 fieldName = str2bytes(fieldName, &cname) 196 CHKERR(PetscSectionSetFieldName(self.sec, cfield, cname))
|
| H A D | PC.pyx | 1530 cdef const char *cname = NULL 1532 name = str2bytes(name, &cname) 1533 CHKERR(PCFieldSplitSetIS(self.pc, cname, field.iset)) 1557 cdef const char *cname = NULL 1560 name = str2bytes(name, &cname) 1562 CHKERR(PCFieldSplitSetFields(self.pc, cname, 1616 cdef const char *cname = NULL 1617 splitname = str2bytes(splitname, &cname) 1618 CHKERR(PCFieldSplitGetIS(self.pc, cname, &field))
|
| H A D | DMPlex.pyx | 1371 cdef const char *cname = NULL 1372 if name: name = str2bytes(name, &cname) 1374 CHKERR(DMPlexGenerate(boundary.dm, cname, interp, &newdm)) 1769 cdef const char *cname = NULL 1771 name = str2bytes(name, &cname) 1772 CHKERR(DMPlexDistributionSetName(self.dm, cname)) 1790 cdef const char *cname = NULL 1791 CHKERR(DMPlexDistributionGetName(self.dm, &cname)) 1792 return bytes2str(cname) 2336 cdef const char *cname = NULL [all …]
|
| /petsc/src/vec/is/section/interface/hdf5/ |
| H A D | sectionhdf5.c | 110 char cname[PETSC_MAX_PATH_LEN]; in PetscSectionView_HDF5_Internal() local 113 PetscCall(PetscSNPrintf(cname, sizeof(cname), "component%" PetscInt_FMT, c)); in PetscSectionView_HDF5_Internal() 114 PetscCall(PetscViewerHDF5PushGroup(viewer, cname)); in PetscSectionView_HDF5_Internal() 306 char cname[PETSC_MAX_PATH_LEN]; in PetscSectionLoad_HDF5_Internal() local 309 PetscCall(PetscSNPrintf(cname, sizeof(cname), "component%" PetscInt_FMT, c)); in PetscSectionLoad_HDF5_Internal() 310 PetscCall(PetscViewerHDF5PushGroup(viewer, cname)); in PetscSectionLoad_HDF5_Internal()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex49.c | 137 const char *cname; in CheckOffsets() local 144 cname = "Coordinates"; in CheckOffsets() 148 cname = "DG Coordinates"; in CheckOffsets() 159 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "%s by element in %s order\n", cname, user->closure_tensor… in CheckOffsets()
|
| /petsc/doc/manual/ |
| H A D | tao.md | 3395 const char *cname, 3400 is the path to the library containing the solver, `cname` is the name
|