Home
last modified time | relevance | path

Searched refs:entriesToTransferTotal (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag1d.c281 … PetscInt i, iLocal, d, entriesToTransferTotal, ghostOffsetStart, ghostOffsetEnd, nNonDummyGhost; in DMSetUp_Stag_1d() local
297entriesToTransferTotal = nNonDummyGhost * stag->entriesPerElement + (stag->lastRank[0] ? stag->dof… in DMSetUp_Stag_1d()
300 entriesToTransferTotal = stag->entriesGhost; /* No dummy points */ in DMSetUp_Stag_1d()
306 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxLocal)); in DMSetUp_Stag_1d()
307 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxGlobal)); in DMSetUp_Stag_1d()
414 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETS… in DMSetUp_Stag_1d()
417 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxGlobal, PET… in DMSetUp_Stag_1d()
H A Dstag2d.c387 …PetscInt count, countAll, entriesToTransferTotal, i, j, d, ghostOffsetStart[2], ghostOffsetEnd[2]; in DMSetUp_Stag_2d() local
420entriesToTransferTotal = (nNonDummyGhost[0] * stag->n[1] + stag->n[0] * nNonDummyGhost[1] - stag->… in DMSetUp_Stag_2d()
422entriesToTransferTotal = nNonDummyGhost[0] * nNonDummyGhost[1] * stag->entriesPerElement + (dummyE… in DMSetUp_Stag_2d()
427 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxLocal)); in DMSetUp_Stag_2d()
428 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxGlobal)); in DMSetUp_Stag_2d()
685entriesToTransferTotal, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Number of entries computed in gtol (%" P… in DMSetUp_Stag_2d()
688 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETS… in DMSetUp_Stag_2d()
689 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxGlobal, PET… in DMSetUp_Stag_2d()
H A Dstag3d.c964 …tOffsetEnd[3], entriesPerCorner, entriesPerEdge, entriesPerFace, entriesToTransferTotal, count, ep… in DMStagSetUpBuildScatter_3d() local
1026entriesToTransferTotal = (nNonDummyGhost[0] * stag->n[1] * stag->n[2] + stag->n[0] * nNonDummyGhos… in DMStagSetUpBuildScatter_3d()
1031entriesToTransferTotal = nNonDummyGhost[0] * nNonDummyGhost[1] * nNonDummyGhost[2] * stag->entries… in DMStagSetUpBuildScatter_3d()
1036 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxLocal)); in DMStagSetUpBuildScatter_3d()
1037 PetscCall(PetscMalloc1(entriesToTransferTotal, &idxGlobal)); in DMStagSetUpBuildScatter_3d()
1627entriesToTransferTotal, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Number of entries computed in gtol (%" P… in DMStagSetUpBuildScatter_3d()
1633 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxLocal, PETS… in DMStagSetUpBuildScatter_3d()
1634 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), entriesToTransferTotal, idxGlobal, PET… in DMStagSetUpBuildScatter_3d()