Searched refs:cvalue (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMLabel.pyx | 108 cdef PetscInt cvalue = asInt(value) 109 CHKERR(DMLabelInsertIS(self.dmlabel, iset.iset, cvalue)) 134 cdef PetscInt cvalue = asInt(value) 135 CHKERR(DMLabelSetValue(self.dmlabel, cpoint, cvalue)) 157 cdef PetscInt cvalue = 0 158 CHKERR(DMLabelGetValue(self.dmlabel, cpoint, &cvalue)) 159 return toInt(cvalue) 174 cdef PetscInt cvalue = 0 175 CHKERR(DMLabelGetDefaultValue(self.dmlabel, &cvalue)) 176 return toInt(cvalue) [all …]
|
| H A D | DM.pyx | 531 cdef PetscInt cvalue = asInt(value) 538 CHKERR(DMSetAuxiliaryVec(self.dm, clbl, cvalue, cpart, aux.vec)) 559 cdef PetscInt cvalue = asInt(value) 567 CHKERR(DMGetAuxiliaryVec(self.dm, clbl, cvalue, cpart, &aux.vec)) 2110 cdef PetscInt cpoint = asInt(point), cvalue = asInt(value) 2113 CHKERR(DMSetLabelValue(self.dm, cname, cpoint, cvalue)) 2134 cdef PetscInt cpoint = asInt(point), cvalue = asInt(value) 2137 CHKERR(DMClearLabelValue(self.dm, cname, cpoint, cvalue)) 2199 cdef PetscInt cvalue = asInt(value) 2202 CHKERR(DMGetStratumSize(self.dm, cname, cvalue, &size)) [all …]
|
| H A D | DMPlex.pyx | 419 cdef PetscInt cvalue = asInt(value) 421 CHKERR(DMPlexCreateCohesiveSubmesh(self.dm, flag, NULL, cvalue, &subdm.dm)) 453 cdef PetscInt cvalue = -1 460 cvalue = asInt(value) 463 … CHKERR(DMPlexFilter(self.dm, clbl, cvalue, cignoreHalo, csanitize, ccomm, &sf.sf, &subdm.dm))
|
| /petsc/src/sys/tests/ |
| H A D | ex15.cxx | 47 PetscComplex cvalue; in main() local 99 cvalue = 0.0; in main() 179 (void)cvalue; in main()
|
| /petsc/src/dm/impls/network/ |
| H A D | network.c | 10 …NetworkHeaderComponentValue(DM dm, DMNetworkComponentHeader header, DMNetworkComponentValue cvalue) in SetUpNetworkHeaderComponentValue() argument 15 PetscCall(PetscCalloc1(header->maxcomps, &cvalue->data)); in SetUpNetworkHeaderComponentValue() 38 PetscCall(SetUpNetworkHeaderComponentValue(dm, &network->header[p], &network->cvalue[p])); in DMNetworkInitializeHeaderComponentData() 707 PetscCall(PetscCalloc2(np, &network->header, np, &network->cvalue)); in DMNetworkLayoutSetUp() 1364 DMNetworkComponentValue cvalue; in DMNetworkAddComponent() local 1377 cvalue = &network->cvalue[p]; in DMNetworkAddComponent() 1404 PetscCall(PetscMemcpy(compdata, cvalue->data, header->ndata * sizeof(void *))); in DMNetworkAddComponent() 1408 PetscCall(PetscFree(cvalue->data)); in DMNetworkAddComponent() 1417 cvalue->data = compdata; in DMNetworkAddComponent() 1425 cvalue = &network->cvalue[p]; in DMNetworkAddComponent() [all …]
|
| H A D | networkcreate.c | 274 network->cvalue = NULL; in DMNetworkInitializeToDefault_NonShared() 357 PetscCall(PetscCalloc2(np, &newnetwork->header, np, &newnetwork->cvalue)); in DMNetworkCopyHeaderTopological()
|
| /petsc/include/petsc/private/ |
| H A D | dmnetworkimpl.h | 146 DMNetworkComponentValue cvalue; member
|