Searched refs:remotemode (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex19.c | 10 PetscCopyMode localmode, remotemode; member 23 ctx->remotemode = PETSC_OWN_POINTER; in GetOptions() 29 …tscOptionsGetEnum(NULL, NULL, "-remotemode", PetscCopyModes, (PetscEnum *)&ctx->remotemode, NULL)); in GetOptions() 109 PetscCall(PetscSFSetGraph(sf, nroots, nLeaves, ilocal, ctx->localmode, iremote, ctx->remotemode)); in CreateSF0() 177 if (ctx.remotemode != PETSC_OWN_POINTER) PetscCall(PetscFree(ctx.iremote)); in main()
|
| /petsc/src/vec/is/sf/interface/ |
| H A D | sf.c | 456 …eaves, PetscInt ilocal[], PetscCopyMode localmode, PetscSFNode iremote[], PetscCopyMode remotemode) in PetscSFSetGraph() argument 469 …int)remotemode >= PETSC_COPY_VALUES && remotemode <= PETSC_USE_POINTER, PETSC_COMM_SELF, PETSC_ERR… in PetscSFSetGraph() 493 if (remotemode == PETSC_COPY_VALUES) { in PetscSFSetGraph() 538 if (remotemode == PETSC_USE_POINTER) { in PetscSFSetGraph()
|