Lines Matching refs:q

23     PetscInt        p, q, a, aSize, *offsets, aStart, aEnd, *inverse, iSize, *adj, adjSize;  in DMPlexComputeAnchorAdjacencies()  local
49 for (q = 0; q < dof; q++) { in DMPlexComputeAnchorAdjacencies()
52 a = anchors[off + q]; in DMPlexComputeAnchorAdjacencies()
87 q = inverse[iOff + i]; in DMPlexComputeAnchorAdjacencies()
88 …PetscCall(DMPlexGetAdjacency_Internal(dm, q, useCone, useClosure, PETSC_TRUE, &numAdjQ, &tmpAdjQ)); in DMPlexComputeAnchorAdjacencies()
121 q = inverse[iOff + i]; in DMPlexComputeAnchorAdjacencies()
122 …PetscCall(DMPlexGetAdjacency_Internal(dm, q, useCone, useClosure, PETSC_TRUE, &numAdjQ, &tmpAdjQ)); in DMPlexComputeAnchorAdjacencies()
213 for (PetscInt q = 0; q < numAdj; q++) { in AdjancencyContainsLeafRootPair() local
214 const PetscInt padj = tmpAdj[q]; in AdjancencyContainsLeafRootPair()
224 for (PetscInt q = 0; q < numAdj; q++) { in AdjancencyContainsLeafRootPair() local
225 if (tmpAdj[q] == leaf_) { in AdjancencyContainsLeafRootPair()
355 PetscInt dof, off, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local
362 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static()
363 const PetscInt padj = tmpAdj[q]; in DMPlexCreateAdjacencySection_Static()
393 PetscInt numAdj = PETSC_DETERMINE, adof, dof, off, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local
401 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static()
402 const PetscInt padj = tmpAdj[q]; in DMPlexCreateAdjacencySection_Static()
433 PetscInt dof, off, d, q, anDof, anOff; in DMPlexCreateAdjacencySection_Static() local
446 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static()
447 const PetscInt padj = tmpAdj[q]; in DMPlexCreateAdjacencySection_Static()
459 for (q = 0; q < anDof; q++) { in DMPlexCreateAdjacencySection_Static()
460 adj[aoff + i] = anchorAdj[anOff + q]; in DMPlexCreateAdjacencySection_Static()
501 PetscInt numAdj = PETSC_DETERMINE, adof, dof, off, d, q, anDof, anOff; in DMPlexCreateAdjacencySection_Static() local
517 for (q = 0; q < anDof; q++) { in DMPlexCreateAdjacencySection_Static()
518 rootAdj[aoff + i] = anchorAdj[anOff + q]; in DMPlexCreateAdjacencySection_Static()
521 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static()
522 const PetscInt padj = tmpAdj[q]; in DMPlexCreateAdjacencySection_Static()
575 PetscInt numAdj = PETSC_DETERMINE, dof, cdof, off, goff, d, q, anDof; in DMPlexCreateAdjacencySection_Static() local
600 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static()
601 const PetscInt padj = tmpAdj[q]; in DMPlexCreateAdjacencySection_Static()
627 PetscInt numAdj = PETSC_DETERMINE, dof, cdof, off, goff, d, q, anDof, anOff; in DMPlexCreateAdjacencySection_Static() local
661 for (q = 0; q < numAdj; ++q) { in DMPlexCreateAdjacencySection_Static()
662 const PetscInt padj = tmpAdj[q], *ncind; in DMPlexCreateAdjacencySection_Static()
676 for (q = 0; q < anDof; q++, i++) cols[aoff + i] = anchorAdj[anOff + q]; in DMPlexCreateAdjacencySection_Static()