Home
last modified time | relevance | path

Searched refs:isLocal (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag1d.c282 IS isLocal, isGlobal; in DMSetUp_Stag_1d() local
414 …(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETSC_OWN_POINTER, &isLocal)); in DMSetUp_Stag_1d()
424 PetscCall(VecScatterCreate(global, isGlobal, local, isLocal, &stag->gtol)); in DMSetUp_Stag_1d()
433 PetscCall(ISDestroy(&isLocal)); in DMSetUp_Stag_1d()
466 IS isLocal, isGlobal; in DMStagPopulateLocalToGlobalInjective_1d() local
487 …teGeneral(PetscObjectComm((PetscObject)dm), stag->entries, idxLocal, PETSC_OWN_POINTER, &isLocal)); in DMStagPopulateLocalToGlobalInjective_1d()
493 PetscCall(VecScatterCreate(local, isLocal, global, isGlobal, &stag->ltog_injective)); in DMStagPopulateLocalToGlobalInjective_1d()
497 PetscCall(ISDestroy(&isLocal)); in DMStagPopulateLocalToGlobalInjective_1d()
H A Dstag2d.c388 IS isLocal, isGlobal; in DMSetUp_Stag_2d() local
688 …(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETSC_OWN_POINTER, &isLocal)); in DMSetUp_Stag_2d()
696 PetscCall(VecScatterCreate(global, isGlobal, local, isLocal, &stag->gtol)); in DMSetUp_Stag_2d()
702 PetscCall(ISDestroy(&isLocal)); in DMSetUp_Stag_2d()
1168 IS isLocal, isGlobal; in DMStagPopulateLocalToGlobalInjective_2d() local
1228 …teGeneral(PetscObjectComm((PetscObject)dm), stag->entries, idxLocal, PETSC_OWN_POINTER, &isLocal)); in DMStagPopulateLocalToGlobalInjective_2d()
1234 PetscCall(VecScatterCreate(local, isLocal, global, isGlobal, &stag->ltog_injective)); in DMStagPopulateLocalToGlobalInjective_2d()
1238 PetscCall(ISDestroy(&isLocal)); in DMStagPopulateLocalToGlobalInjective_2d()
H A Dstag3d.c1632 IS isLocal, isGlobal; in DMStagSetUpBuildScatter_3d() local
1633 …(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETSC_OWN_POINTER, &isLocal)); in DMStagSetUpBuildScatter_3d()
1637 PetscCall(VecScatterCreate(global, isGlobal, local, isLocal, &stag->gtol)); in DMStagSetUpBuildScatter_3d()
1640 PetscCall(ISDestroy(&isLocal)); /* frees idxLocal */ in DMStagSetUpBuildScatter_3d()
3236 IS isLocal, isGlobal; in DMStagPopulateLocalToGlobalInjective_3d() local
3271 …teGeneral(PetscObjectComm((PetscObject)dm), stag->entries, idxLocal, PETSC_OWN_POINTER, &isLocal)); in DMStagPopulateLocalToGlobalInjective_3d()
3277 PetscCall(VecScatterCreate(local, isLocal, global, isGlobal, &stag->ltog_injective)); in DMStagPopulateLocalToGlobalInjective_3d()
3281 PetscCall(ISDestroy(&isLocal)); in DMStagPopulateLocalToGlobalInjective_3d()
/petsc/doc/faq/
H A Dindex.md644 IS isLocal, isGlobal;
655 PetscCall(ISCreateStride(PETSC_COMM_SELF, n, 0, 1, &isLocal));
668 PetscCall(VecScatterCreate(vecGlobal, isGlobal, vecLocal, isLocal, &ctx));
680 PetscCall(ISDestroy(&isLocal));
/petsc/src/dm/impls/plex/
H A Dplex.c8168 PetscBool isLocal = (section == idxSection) ? PETSC_TRUE : PETSC_FALSE; in DMPlexGetClosureIndices_Internal() local
8298 …PetscCall(DMPlexGetIndicesPointFields_Internal(section, isLocal, pnt, idxOff < 0 ? -(idxOff + 1) :… in DMPlexGetClosureIndices_Internal()
8312 …PetscCall(DMPlexGetIndicesPoint_Internal(section, isLocal, pnt, idxOff < 0 ? -(idxOff + 1) : idxOf… in DMPlexGetClosureIndices_Internal()