Home
last modified time | relevance | path

Searched refs:globalOff (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplex.c8564 …maxFPoints, numFPoints, numCPoints, numFIndices, numCIndices, dof, off, globalOff, pStart, pEnd, p… in DMPlexMatSetClosureRefined() local
8669 PetscCall(PetscSectionGetOffset(globalFSection, ftotpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8670 …ds_Internal(fsection, PETSC_FALSE, ftotpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff in DMPlexMatSetClosureRefined()
8673 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8674 …ields_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff in DMPlexMatSetClosureRefined()
8689 PetscCall(PetscSectionGetOffset(globalFSection, ftotpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8690 …nt_Internal(fsection, PETSC_FALSE, ftotpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff in DMPlexMatSetClosureRefined()
8695 PetscCall(PetscSectionGetOffset(globalCSection, cpoints[2 * p], &globalOff)); in DMPlexMatSetClosureRefined()
8696 …Point_Internal(csection, PETSC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff in DMPlexMatSetClosureRefined()
8728 …maxFPoints, numFPoints, numCPoints, numFIndices, numCIndices, dof, off, globalOff, pStart, pEnd, p… in DMPlexMatGetClosureIndicesRefined() local
[all …]
H A Dplextree.c2346 PetscInt globalOff, c = points[2 * cl]; in DMPlexComputeInterpolatorTree() local
2347 PetscCall(PetscSectionGetOffset(globalCoarse, c, &globalOff)); in DMPlexComputeInterpolatorTree()
2348 …icesPointFields_Internal(localCoarse, PETSC_FALSE, c, globalOff < 0 ? -(globalOff + 1) : globalOff in DMPlexComputeInterpolatorTree()
2352 PetscInt c = points[2 * cl], globalOff; in DMPlexComputeInterpolatorTree() local
2355 PetscCall(PetscSectionGetOffset(globalCoarse, c, &globalOff)); in DMPlexComputeInterpolatorTree()
2356 …GetIndicesPoint_Internal(localCoarse, PETSC_FALSE, c, globalOff < 0 ? -(globalOff + 1) : globalOff in DMPlexComputeInterpolatorTree()
/petsc/src/vec/is/section/interface/
H A Dsection.c1480 PetscInt pStart, pEnd, p, dof, cdof, off, globalOff = 0, nroots, nlocal, maxleaf; in PetscSectionCreateGlobalSection() local
1540 … PetscCallMPI(MPI_Scan(&off, &globalOff, 1, MPIU_INT, MPI_SUM, PetscObjectComm((PetscObject)sf))); in PetscSectionCreateGlobalSection()
1541 globalOff -= off; in PetscSectionCreateGlobalSection()
1544 gs->atlasOff[p - pStart] += globalOff; in PetscSectionCreateGlobalSection()
1625 PetscInt pStart, pEnd, p, e, dof, cdof, globalOff = 0, nroots; in PetscSectionCreateGlobalSectionCensored() local
1679 PetscCallMPI(MPI_Scan(&off, &globalOff, 1, MPIU_INT, MPI_SUM, PetscObjectComm((PetscObject)s))); in PetscSectionCreateGlobalSectionCensored()
1680 globalOff -= off; in PetscSectionCreateGlobalSectionCensored()
1682 (*gsection)->atlasOff[p] += globalOff; in PetscSectionCreateGlobalSectionCensored()
/petsc/src/dm/label/
H A Ddmlabel.c2595 PetscInt pStart, pEnd, p, dof, cdof, off, globalOff = 0, nroots; in PetscSectionCreateGlobalSectionLabel() local
2642 PetscCallMPI(MPI_Scan(&off, &globalOff, 1, MPIU_INT, MPI_SUM, PetscObjectComm((PetscObject)s))); in PetscSectionCreateGlobalSectionLabel()
2643 globalOff -= off; in PetscSectionCreateGlobalSectionLabel()
2645 (*gsection)->atlasOff[p] += globalOff; in PetscSectionCreateGlobalSectionLabel()