Home
last modified time | relevance | path

Searched refs:entriesGhost (Results 1 – 8 of 8) sorted by relevance

/petsc/src/dm/impls/stag/tests/
H A Dex2.c67 PetscInt entriesGhost, nerr; in Test_3d_4x4x4_3x3x3() local
74 PetscCall(VecGetSize(vecLocal, &entriesGhost)); /* entriesGhost happens to always be 216 here */ in Test_3d_4x4x4_3x3x3()
75 PetscCall(PetscMalloc1(entriesGhost, &arrLocalExpected)); in Test_3d_4x4x4_3x3x3()
86 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
95 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
104 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
113 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
122 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
131 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
140 for (i = 0; i < entriesGhost; ++i) arrLocalExpected[i] = arrLocalExpectedHere[i]; in Test_3d_4x4x4_3x3x3()
[all …]
/petsc/src/dm/impls/stag/
H A Dstag1d.c240 stag->entriesGhost = stag->nGhost[0] * stag->entriesPerElement; in DMSetUp_Stag_1d()
300 entriesToTransferTotal = stag->entriesGhost; /* No dummy points */ in DMSetUp_Stag_1d()
308 PetscCall(PetscMalloc1(stag->entriesGhost, &idxGlobalAll)); in DMSetUp_Stag_1d()
423 …ithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entriesGhost, NULL, &local)); in DMSetUp_Stag_1d()
437 …PetscCall(ISLocalToGlobalMappingCreate(comm, 1, stag->entriesGhost, idxGlobalAll, PETSC_OWN_POINTE… in DMSetUp_Stag_1d()
492 …ithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entriesGhost, NULL, &local)); in DMStagPopulateLocalToGlobalInjective_1d()
H A Dstagutils.c563 if (entries) *entries = stag->entriesGhost; in DMStagGetEntriesLocal()
1617entriesGhost, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Vector local size %" PetscInt_FMT " is not c… in DMStagVecGetArray()
1666entriesGhost, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Vector local size %" PetscInt_FMT " is not c… in DMStagVecGetArrayRead()
1710entriesGhost, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Vector local size %" PetscInt_FMT " is not c… in DMStagVecRestoreArray()
1754entriesGhost, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Vector local size %" PetscInt_FMT " is not c… in DMStagVecRestoreArrayRead()
H A Dstagstencil.c459entriesGhost, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Vector should be a local vector. Local s… in DMStagVecGetValuesStencil()
H A Dstag2d.c349 stag->entriesGhost = stag->nGhost[0] * stag->nGhost[1] * stag->entriesPerElement; in DMSetUp_Stag_2d()
695 …ithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entriesGhost, NULL, &local)); in DMSetUp_Stag_2d()
707 PetscCall(PetscMalloc1(stag->entriesGhost, &idxGlobalAll)); in DMSetUp_Stag_2d()
970 …PetscCall(ISLocalToGlobalMappingCreate(comm, 1, stag->entriesGhost, idxGlobalAll, PETSC_OWN_POINTE… in DMSetUp_Stag_2d()
1233 …ithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entriesGhost, NULL, &local)); in DMStagPopulateLocalToGlobalInjective_2d()
H A Dstag.c373 PetscCall(VecSetSizes(*vec, stag->entriesGhost, PETSC_DETERMINE)); in DMCreateLocalVector_Stag()
870 …ronizedPrintf(viewer, "[%d] Local entries total : %" PetscInt_FMT "\n", rank, stag->entriesGhost)); in DMView_Stag()
H A Dstag3d.c438 …stag->entriesGhost = stag->nGhost[0] * stag->nGhost[1] * stag->nGhost[2] * stag->entriesPerElement; in DMSetUp_Stag_3d()
1636 …ithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entriesGhost, NULL, &local)); in DMStagSetUpBuildScatter_3d()
1801 PetscCall(PetscMalloc1(stag->entriesGhost, &idxGlobalAll)); in DMStagSetUpBuildL2G_3d()
3187 …PetscCall(ISLocalToGlobalMappingCreate(PetscObjectComm((PetscObject)dm), 1, stag->entriesGhost, id… in DMStagSetUpBuildL2G_3d()
3276 …ithArray(PETSC_COMM_SELF, PetscMax(stag->entriesPerElement, 1), stag->entriesGhost, NULL, &local)); in DMStagPopulateLocalToGlobalInjective_3d()
/petsc/include/petsc/private/
H A Ddmstagimpl.h44 PetscInt entriesGhost; /* Local numbers of entries w/ ghosts */ member