Searched refs:localmode (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex19.c | 10 PetscCopyMode localmode, remotemode; member 22 ctx->localmode = PETSC_OWN_POINTER; in GetOptions() 28 …PetscOptionsGetEnum(NULL, NULL, "-localmode", PetscCopyModes, (PetscEnum *)&ctx->localmode, NULL)); in GetOptions() 109 PetscCall(PetscSFSetGraph(sf, nroots, nLeaves, ilocal, ctx->localmode, iremote, ctx->remotemode)); in CreateSF0() 176 if (ctx.localmode != PETSC_OWN_POINTER) PetscCall(PetscFree(ctx.ilocal)); in main()
|
| /petsc/src/vec/is/sf/interface/ |
| H A D | sf.c | 456 …sf, PetscInt nroots, PetscInt nleaves, PetscInt ilocal[], PetscCopyMode localmode, PetscSFNode ire… in PetscSFSetGraph() argument 468 …((int)localmode >= PETSC_COPY_VALUES && localmode <= PETSC_USE_POINTER, PETSC_COMM_SELF, PETSC_ERR… in PetscSFSetGraph() 486 if (localmode == PETSC_COPY_VALUES && ilocal) { in PetscSFSetGraph() 519 if (localmode == PETSC_USE_POINTER) { in PetscSFSetGraph() 526 if (localmode == PETSC_USE_POINTER) { in PetscSFSetGraph()
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfutils.c | 30 … PetscLayout layout, PetscInt nleaves, PetscInt ilocal[], PetscCopyMode localmode, const PetscInt … in PetscSFSetGraphLayout() argument 59 PetscCall(PetscSFSetGraph(sf, nroots, nleaves, ilocal, localmode, remote, PETSC_OWN_POINTER)); in PetscSFSetGraphLayout()
|