| /petsc/src/mat/utils/ |
| H A D | gcreate.c | 429 PetscInt refct; in MatHeaderMerge() local 447 refct = ((PetscObject)A)->refct; in MatHeaderMerge() 483 ((PetscObject)A)->refct = refct; in MatHeaderMerge() 533 PetscInt refct; in MatHeaderReplace() local 543 …refct == 1, PetscObjectComm((PetscObject)C), PETSC_ERR_ARG_WRONGSTATE, "Object C has refct %" Pets… in MatHeaderReplace() 546 refct = ((PetscObject)A)->refct; in MatHeaderReplace() 552 ((PetscObject)A)->refct = refct; in MatHeaderReplace() 556 ((PetscObject)*C)->refct = 1; in MatHeaderReplace()
|
| /petsc/include/petsc/private/ |
| H A D | dmpatchimpl.h | 8 PetscInt refct; member
|
| H A D | dmforestimpl.h | 9 PetscInt refct; member
|
| H A D | dmmbimpl.h | 52 PetscInt refct; member
|
| H A D | dmswarmimpl.h | 54 PetscInt refct; member
|
| H A D | isimpl.h | 92 PetscInt refct; member
|
| H A D | dmnetworkimpl.h | 113 PetscInt refct; /* reference count for the shared data */ member
|
| /petsc/src/sys/objects/ |
| H A D | inherit.c | 45 h->refct = 1; in PetscHeaderCreate_Private() 126 …refct <= 0, obj->comm, PETSC_ERR_PLIB, "Destroying a PetscObject (%s) with reference count %" Pets… in PetscHeaderDestroy_Private() 136 obj->refct = 1; in PetscHeaderDestroy_Private() 621 obj->refct++; in PetscObjectReference() 646 *cnt = obj->refct; in PetscObjectGetReference() 676 …else PetscCheck(--obj->refct, PETSC_COMM_SELF, PETSC_ERR_SUP, "This PETSc object does not have a g… in PetscObjectDereference() 957 if (--((PetscObject)*obj)->refct > 0) { in PetscContainerDestroy()
|
| H A D | garbage.c | 65 count = --(*obj)->refct; in PetscObjectDelayedDestroy() 69 --(*obj)->refct; in PetscObjectDelayedDestroy() 73 (*obj)->refct = 1; in PetscObjectDelayedDestroy()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Object.pyx | 383 cdef PetscInt refct = 0 386 CHKERR(PetscObjectGetReference(obj, &refct)) 387 return toInt(refct) 400 cdef PetscInt refct = 0 402 CHKERR(PetscObjectGetReference(obj, &refct)) 404 if refct == 1: self.obj[0] = NULL 405 refct -= 1 406 return toInt(refct)
|
| /petsc/include/ |
| H A D | petsclogtypes.h | 190 int refct; member
|
| /petsc/src/dm/dt/space/interface/ |
| H A D | space.c | 257 if (--((PetscObject)*sp)->refct > 0) { in PetscSpaceDestroy() 261 ((PetscObject)*sp)->refct = 0; in PetscSpaceDestroy()
|
| /petsc/src/dm/partitioner/interface/ |
| H A D | partitioner.c | 256 if (--((PetscObject)*part)->refct > 0) { in PetscPartitionerDestroy() 260 ((PetscObject)*part)->refct = 0; in PetscPartitionerDestroy()
|
| /petsc/src/sys/logging/handler/interface/ |
| H A D | loghandler.c | 63 if (--((PetscObject)h)->refct > 0) PetscFunctionReturn(PETSC_SUCCESS); in PetscLogHandlerDestroy() 94 state->refct++; in PetscLogHandlerSetState()
|
| /petsc/src/dm/impls/patch/ |
| H A D | patchcreate.c | 60 mesh->refct = 1; in DMCreate_Patch()
|
| /petsc/src/sys/logging/state/ |
| H A D | logstate.c | 37 s->refct = 1; in PetscLogStateCreate() 64 if (s == NULL || --s->refct > 0) PetscFunctionReturn(PETSC_SUCCESS); in PetscLogStateDestroy()
|
| /petsc/src/sys/classes/random/interface/ |
| H A D | randomc.c | 37 if (--((PetscObject)*r)->refct > 0) { in PetscRandomDestroy()
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 8 PetscInt refct; member 38 f->refct = 1; in Petsc1DNodeFamilyCreate() 46 if (nf) nf->refct++; in Petsc1DNodeFamilyReference() 56 if (--(*nf)->refct > 0) { in Petsc1DNodeFamilyDestroy() 309 PetscInt refct; member 334 if (ni) ni->refct++; in PetscLagNodeIndicesReference() 342 (*niNew)->refct = 1; in PetscLagNodeIndicesDuplicate() 358 if (--(*ni)->refct > 0) { in PetscLagNodeIndicesDestroy() 484 ni->refct = 1; in PetscLagNodeIndicesCreateSimplexVertices() 510 ni->refct = 1; in PetscLagNodeIndicesCreateTensorVertices() [all …]
|
| /petsc/src/vec/is/is/utils/ |
| H A D | iscoloring.c | 10 coloring->refct++; in ISColoringReference() 80 if (--(*iscoloring)->refct > 0) { in ISColoringDestroy() 368 (*iscoloring)->refct = 1; in ISColoringCreate()
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | iguess.c | 137 if (--((PetscObject)*guess)->refct > 0) { in KSPGuessDestroy()
|
| H A D | dmksp.c | 10 if (--((PetscObject)*kdm)->refct > 0) { in DMKSPDestroy()
|
| /petsc/src/sys/classes/bm/interfaces/ |
| H A D | bm.c | 107 if (--((PetscObject)*bm)->refct > 0) { in PetscBenchDestroy()
|
| /petsc/src/vec/is/ao/interface/ |
| H A D | ao.c | 88 if (--((PetscObject)*ao)->refct > 0) { in AODestroy()
|
| /petsc/src/dm/impls/network/ |
| H A D | networkcreate.c | 289 cloneshared->refct = 1; in DMNetworkInitializeToDefault() 381 network->cloneshared->refct++; in DMClone_Network()
|
| /petsc/src/mat/graphops/color/interface/ |
| H A D | matcoloring.c | 106 if (--((PetscObject)*mc)->refct > 0) { in MatColoringDestroy()
|