Home
last modified time | relevance | path

Searched refs:countAll (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstag2d.c387 …PetscInt count, countAll, entriesToTransferTotal, i, j, d, ghostOffsetStart[2], ghostOffsetEnd[2]; in DMSetUp_Stag_2d() local
709 countAll = 0; in DMSetUp_Stag_2d()
722 …for (d = 0; d < stag->entriesPerElement; ++d, ++countAll) idxGlobalAll[countAll] = globalOffset + … in DMSetUp_Stag_2d()
727 for (d = 0; d < stag->entriesPerElement; ++d, ++countAll) idxGlobalAll[countAll] = -1; in DMSetUp_Stag_2d()
739 …for (d = 0; d < stag->entriesPerElement; ++d, ++countAll) idxGlobalAll[countAll] = globalOffset + … in DMSetUp_Stag_2d()
751 …for (d = 0; d < stag->entriesPerElement; ++d, ++countAll) idxGlobalAll[countAll] = globalOffset + … in DMSetUp_Stag_2d()
762 …for (d = 0, dGlobal = 0; d < stag->dof[0]; ++d, ++dGlobal, ++countAll) idxGlobalAll[countAll] = gl… in DMSetUp_Stag_2d()
763 …for (; d < stag->dof[0] + stag->dof[1]; ++d, ++countAll) idxGlobalAll[countAll] = -1; /* dummy dow… in DMSetUp_Stag_2d()
764 …or (; d < stag->dof[0] + 2 * stag->dof[1]; ++d, ++dGlobal, ++countAll) idxGlobalAll[countAll] = gl… in DMSetUp_Stag_2d()
765 …for (; d < stag->entriesPerElement; ++d, ++countAll) idxGlobalAll[countAll] = -1; /* dummy element… in DMSetUp_Stag_2d()
[all …]
H A Dstag1d.c310 PetscInt count = 0, countAll = 0; in DMSetUp_Stag_1d() local
313 for (d = 0; d < stag->entriesPerElement; ++d, ++count, ++countAll) { in DMSetUp_Stag_1d()
316 idxGlobalAll[countAll] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
325 for (d = 0; d < stag->dof[0]; ++d, ++count, ++countAll) { in DMSetUp_Stag_1d()
328 idxGlobalAll[countAll] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d()
330 …for (d = stag->dof[0]; d < stag->entriesPerElement; ++d, ++countAll) { /* Additional dummy entries… in DMSetUp_Stag_1d()
331 idxGlobalAll[countAll] = -1; in DMSetUp_Stag_1d()
367 PetscInt count = 0, countAll = 0; in DMSetUp_Stag_1d() local
372 for (d = 0; d < stag->entriesPerElement; ++d, ++countAll) idxGlobalAll[countAll] = -1; in DMSetUp_Stag_1d()
385 for (d = 0; d < stag->entriesPerElement; ++d, ++count, ++countAll) { in DMSetUp_Stag_1d()
[all …]