Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplextree.c1299 PetscInt conDof, conOff, aDof, aOff, nWork; in DMPlexComputeAnchorMatrix_Tree_Direct() local
1316 PetscCall(PetscSectionGetDof(aSec, p, &aDof)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1319 for (k = 0; k < aDof; k++) { in DMPlexComputeAnchorMatrix_Tree_Direct()
1441 PetscInt aDof, aOff, j; in DMPlexReferenceTreeGetChildrenMatrices() local
1445 PetscCall(PetscSectionGetFieldDof(refSection, q, f, &aDof)); in DMPlexReferenceTreeGetChildrenMatrices()
1448 PetscCall(PetscSectionGetDof(refSection, q, &aDof)); in DMPlexReferenceTreeGetChildrenMatrices()
1452 for (j = 0; j < aDof; j++) cols[numCols++] = aOff + (perm ? perm[j] : j); in DMPlexReferenceTreeGetChildrenMatrices()
1462 PetscInt aDof, aOff, j; in DMPlexReferenceTreeGetChildrenMatrices() local
1466 PetscCall(PetscSectionGetFieldDof(refSection, q, f, &aDof)); in DMPlexReferenceTreeGetChildrenMatrices()
1469 PetscCall(PetscSectionGetDof(refSection, q, &aDof)); in DMPlexReferenceTreeGetChildrenMatrices()
[all …]
H A Dplexpreallocate.c109 PetscInt iDof, iOff, i, r, s, aOff, aOffOrig, aDof, numAdjP = PETSC_DETERMINE; in DMPlexComputeAnchorAdjacencies() local
115 PetscCall(PetscSectionGetDof(adjSec, p, &aDof)); in DMPlexComputeAnchorAdjacencies()
136 PetscCall(PetscSortRemoveDupsInt(&aDof, PetscSafePointerPlusOffset(adj, aOffOrig))); in DMPlexComputeAnchorAdjacencies()
137 PetscCall(PetscSectionSetDof(adjSec, p, aDof)); in DMPlexComputeAnchorAdjacencies()
H A Dplex.c7895 PetscInt aDof = 0; in DMPlexAnchorsGetSubMatModification() local
7897 if (a >= sStart && a < sEnd) PetscCall(PetscSectionGetDof(section, a, &aDof)); in DMPlexAnchorsGetSubMatModification()
7898 if (aDof) { in DMPlexAnchorsGetSubMatModification()
7902 newNumIndices += aDof; in DMPlexAnchorsGetSubMatModification()
7967 PetscInt a = anchors[bOff + q], aDof = 0; in DMPlexAnchorsGetSubMatModification() local
7969 if (a >= sStart && a < sEnd) PetscCall(PetscSectionGetDof(section, a, &aDof)); in DMPlexAnchorsGetSubMatModification()
7970 if (aDof) { in DMPlexAnchorsGetSubMatModification()
8022 PetscInt a = anchors[bOff + q], aDof = 0; in DMPlexAnchorsGetSubMatModification() local
8026 PetscCall(PetscSectionGetFieldDof(section, a, f, &aDof)); in DMPlexAnchorsGetSubMatModification()
8028 PetscCall(PetscSectionGetDof(section, a, &aDof)); in DMPlexAnchorsGetSubMatModification()
[all …]
H A Dplexdistribute.c265 PetscInt aDof = 0; in DMPlexGetAdjacency_Internal() local
267 if (p >= aStart && p < aEnd) PetscCall(PetscSectionGetDof(aSec, p, &aDof)); in DMPlexGetAdjacency_Internal()
268 if (aDof) { in DMPlexGetAdjacency_Internal()
276 for (s = 0; s < aDof; ++s) { in DMPlexGetAdjacency_Internal()
/petsc/src/dm/impls/plex/tests/
H A Dex3.c475 PetscInt cOff, a, aDof, aOff, j; in SetupSection() local
487 PetscCall(PetscSectionGetDof(section, a, &aDof)); in SetupSection()
490 …(cDof == aDof, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Point and anchor have different number of dofs: %… in SetupSection()