Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexdistribute.c372 PetscInt ndof, noff, n; in DMPlexCreateTwoSidedProcessSF() local
375 PetscCall(PetscSectionGetOffset(rootRankSection, p, &noff)); in DMPlexCreateTwoSidedProcessSF()
376 for (n = 0; n < ndof; ++n) PetscCall(PetscBTSet(neighbors, nranks[noff + n])); in DMPlexCreateTwoSidedProcessSF()
383 PetscInt ndof, noff, n; in DMPlexCreateTwoSidedProcessSF() local
386 PetscCall(PetscSectionGetOffset(leafRankSection, p, &noff)); in DMPlexCreateTwoSidedProcessSF()
387 for (n = 0; n < ndof; ++n) PetscCall(PetscBTSet(neighbors, nranks[noff + n])); in DMPlexCreateTwoSidedProcessSF()
536 PetscInt adjSize = PETSC_DETERMINE, neighbors = 0, noff, n, a; in DMPlexCreateOverlapLabel() local
542 PetscCall(PetscSectionGetOffset(leafSection, p, &noff)); in DMPlexCreateOverlapLabel()
545 const PetscInt remoteRank = nrank[noff + n]; in DMPlexCreateOverlapLabel()
555 PetscCall(PetscSectionGetOffset(rootSection, p, &noff)); in DMPlexCreateOverlapLabel()
[all …]
H A Dplexpreallocate.c602 PetscInt ndof, ncdof, noff, count; in DMPlexCreateAdjacencySection_Static() local
607 PetscCall(PetscSectionGetOffset(section, padj, &noff)); in DMPlexCreateAdjacencySection_Static()
H A Dplexsubmesh.c680 PetscInt cNew = DMPlexShiftPoint_Internal(c, depth, depthShift), dof, off, noff, d; in DMPlexShiftCoordinates_Internal() local
684 PetscCall(PetscSectionGetOffset(newCoordSection, cNew, &noff)); in DMPlexShiftCoordinates_Internal()
685 for (d = 0; d < dof; ++d) newCoords[noff + d] = coords[off + d]; in DMPlexShiftCoordinates_Internal()
689 PetscInt dof, off, noff, d; in DMPlexShiftCoordinates_Internal() local
693 …ll(PetscSectionGetOffset(newCoordSection, DMPlexShiftPoint_Internal(v, depth, depthShift), &noff)); in DMPlexShiftCoordinates_Internal()
694 for (d = 0; d < dof; ++d) newCoords[noff + d] = coords[off + d]; in DMPlexShiftCoordinates_Internal()
/petsc/src/ksp/pc/impls/gamg/
H A Dclassical.c190 PetscInt fn, cn, fs, fe, cs, ce, i, j, ncols, col, row_f, row_c, cmax = 0, idx, noff; in PCGAMGProlongator_Classical_Direct() local
215 PetscCall(VecGetSize(lvec, &noff)); in PCGAMGProlongator_Classical_Direct()
219 PetscCall(PetscSFSetGraphLayout(sf, clayout, noff, NULL, PETSC_COPY_VALUES, colmap)); in PCGAMGProlongator_Classical_Direct()
220 PetscCall(PetscMalloc1(noff, &gcid)); in PCGAMGProlongator_Classical_Direct()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c7049 PetscInt noff; in MatProductNumeric_MPIAIJBACKEND() local
7051 PetscCall(PetscIntCast(mmdata->off[i + 1] - mmdata->off[i], &noff)); in MatProductNumeric_MPIAIJBACKEND()
7053 if (noff) { in MatProductNumeric_MPIAIJBACKEND()
7057 PetscCall(MatSeqAIJCopySubArray(mmdata->mp[i], noff, mmdata->off[i], mmdata->coo_w + n_o)); in MatProductNumeric_MPIAIJBACKEND()
7059 n_o += noff; in MatProductNumeric_MPIAIJBACKEND()