Home
last modified time | relevance | path

Searched refs:rEnd (Results 1 – 17 of 17) sorted by relevance

/petsc/src/mat/tests/
H A Dex170.c63 PetscInt rStart, rEnd, row; in CreateGraph() local
69 PetscCall(MatGetOwnershipRange(G, &rStart, &rEnd)); in CreateGraph()
73 …if ((row >= rStart) && (row < rEnd)) PetscCall(MatSetValues(G, 1, &row, 2, cols, vals, INSERT_VALU… in CreateGraph()
77 …if ((row >= rStart) && (row < rEnd)) PetscCall(MatSetValues(G, 1, &row, 2, cols, vals, INSERT_VALU… in CreateGraph()
81 …if ((row >= rStart) && (row < rEnd)) PetscCall(MatSetValues(G, 1, &row, 2, cols, vals, INSERT_VALU… in CreateGraph()
85 …if ((row >= rStart) && (row < rEnd)) PetscCall(MatSetValues(G, 1, &row, 2, cols, vals, INSERT_VALU… in CreateGraph()
89 …if ((row >= rStart) && (row < rEnd)) PetscCall(MatSetValues(G, 1, &row, 2, cols, vals, INSERT_VALU… in CreateGraph()
96 PetscInt rStart, rEnd, row; in CreateGraph() local
102 PetscCall(MatGetOwnershipRange(G, &rStart, &rEnd)); in CreateGraph()
106 …if ((row >= rStart) && (row < rEnd)) PetscCall(MatSetValues(G, 1, &row, 2, cols, vals, INSERT_VALU… in CreateGraph()
[all …]
/petsc/src/mat/impls/preallocator/
H A Dmatpreallocator.c48 PetscInt rStart, rEnd, r, cStart, cEnd, c, bs; in MatSetValues_Preallocator() local
52 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in MatSetValues_Preallocator()
60 if ((key.i < rStart) || (key.i >= rEnd)) { in MatSetValues_Preallocator()
156 PetscInt n, maxrow = 1, *cols, rStart, rEnd, *rowstarts; in MatPreallocatorPreallocate_Preallocator() local
158 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in MatPreallocatorPreallocate_Preallocator()
161 rEnd /= bs; in MatPreallocatorPreallocate_Preallocator()
163 PetscCall(PetscMalloc2(n, &cols, rEnd - rStart + 1, &rowstarts)); in MatPreallocatorPreallocate_Preallocator()
165 for (PetscInt i = 0; i < rEnd - rStart; i++) { in MatPreallocatorPreallocate_Preallocator()
169 …ts[rEnd - rStart] == n, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Hash claims %" PetscInt_FMT " entries, b… in MatPreallocatorPreallocate_Preallocator()
182 for (PetscInt i = 0; i < rEnd - rStart; i++) { in MatPreallocatorPreallocate_Preallocator()
/petsc/src/mat/utils/
H A Dbandwidth.c22 PetscInt rStart, rEnd, r; in MatComputeBandwidth() local
29 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in MatComputeBandwidth()
30 for (r = rStart; r < rEnd; ++r) { in MatComputeBandwidth()
H A Daxpy.c498 PetscInt *newCols, rStart, rEnd, maxRows, r, colMax = 0, nnz0 = 0, nnz1 = 0; in MatFilter() local
506 PetscCall(MatGetSize(a, &rStart, &rEnd)); in MatFilter()
508 for (; colMax < rEnd; ++colMax) { in MatFilter()
520 rEnd = ranges[rank + 1]; in MatFilter()
522 for (r = rStart; r < rEnd; ++r) { in MatFilter()
537 if (r < rEnd) { in MatFilter()
/petsc/src/mat/graphops/order/
H A Dspectral.c23 PetscInt rStart, rEnd, r, colMax = 0; in MatCreateLaplacian() local
33 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in MatCreateLaplacian()
35 for (r = rStart; r < rEnd; ++r) { in MatCreateLaplacian()
49 if ((cols[c] >= rStart) && (cols[c] < rEnd)) ++dnnz[r - rStart]; in MatCreateLaplacian()
65 for (r = rStart; r < rEnd; ++r) { in MatCreateLaplacian()
/petsc/src/snes/tests/
H A Dex68.c36 PetscInt rStart, rEnd, row; in ConstructProblem1() local
40 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in ConstructProblem1()
41 for (row = rStart; row < rEnd; ++row) { in ConstructProblem1()
/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c704 PetscInt rStart, rEnd, r, pStart, pEnd, p; in DMPlexUpdateAllocation_Static() local
708 PetscCall(PetscLayoutGetRange(rLayout, &rStart, &rEnd)); in DMPlexUpdateAllocation_Static()
709rEnd % bs) == 0, PetscObjectComm((PetscObject)rLayout), PETSC_ERR_ARG_WRONG, "Invalid layout [%" P… in DMPlexUpdateAllocation_Static()
723 if ((cols[c] >= rStart) && (cols[c] < rEnd)) { in DMPlexUpdateAllocation_Static()
735 for (r = rStart / bs; r < rEnd / bs; ++r) { in DMPlexUpdateAllocation_Static()
742 if ((cols[c] >= rStart) && (cols[c] < rEnd)) { in DMPlexUpdateAllocation_Static()
751 for (r = 0; r < (rEnd - rStart) / bs; ++r) { in DMPlexUpdateAllocation_Static()
765 PetscInt rStart, rEnd, r, pStart, pEnd, p, len, maxRowLen = 0; in DMPlexFillMatrix_Static() local
768 PetscCall(PetscLayoutGetRange(rLayout, &rStart, &rEnd)); in DMPlexFillMatrix_Static()
769 for (r = rStart; r < rEnd; ++r) { in DMPlexFillMatrix_Static()
[all …]
H A Dplexfem.c3352 PetscInt locRows, rStart, rEnd; in DMPlexComputeMassMatrixGeneral() local
3378 PetscCall(PetscLayoutGetRange(rLayout, &rStart, &rEnd)); in DMPlexComputeMassMatrixGeneral()
3439 if ((key.j >= rStart) && (key.j < rEnd)) ++dnz[key.i - rStart]; in DMPlexComputeMassMatrixGeneral()
/petsc/src/dm/impls/swarm/tests/output/
H A Dex2_proj_tri_2_faces_quad_order_3.out35 DMSwarmComputeMassMatrix_Private: rStart = 0 rEnd = 25 colStart = 0 colEnd = 8
H A Dex2_proj_0.out35 DMSwarmComputeMassMatrix_Private: rStart = 0 rEnd = 4 colStart = 0 colEnd = 2
H A Dex2_proj_quad_2_faces_quad_order_3.out35 DMSwarmComputeMassMatrix_Private: rStart = 0 rEnd = 25 colStart = 0 colEnd = 4
H A Dex2_proj_tri_quad_order_3.out35 DMSwarmComputeMassMatrix_Private: rStart = 0 rEnd = 9 colStart = 0 colEnd = 2
H A Dex2_proj_quad_2_faces_quad_order_2.out35 DMSwarmComputeMassMatrix_Private: rStart = 0 rEnd = 25 colStart = 0 colEnd = 4
/petsc/src/mat/impls/aij/mpi/
H A Dmpihashmat.h13 const PetscInt rEnd = A->rmap->rend; in MatSetValues_MPI_Hash() local
25 if (rows[r] < rStart || rows[r] >= rEnd) { in MatSetValues_MPI_Hash()
/petsc/src/mat/impls/adj/mpi/
H A Dmpiadj.c455 PetscInt rStart, rEnd, cStart, cEnd; in MatSetValues_MPIAdj() local
459 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in MatSetValues_MPIAdj()
472 if ((key.i < rStart) || (key.i >= rEnd)) { in MatSetValues_MPIAdj()
/petsc/src/ksp/ksp/utils/dm/
H A Ddmproject.c231 PetscInt debug = 0, rStart, rEnd, r, maxcols = 0, k, Nc, ldac, ldaf; in DMAdaptInterpolator() local
239 PetscCall(MatGetOwnershipRange(In, &rStart, &rEnd)); in DMAdaptInterpolator()
243 for (r = rStart; r < rEnd; ++r) { in DMAdaptInterpolator()
310 for (r = rStart; r < rEnd; ++r) { in DMAdaptInterpolator()
/petsc/src/mat/interface/
H A Dmatrix.c7979 PetscInt n, rStart, rEnd, Nb = 0; in MatSelectVariableBlockSizes() local
7987 PetscCall(MatGetOwnershipRange(A, &rStart, &rEnd)); in MatSelectVariableBlockSizes()
7991 if (rows[i] < rStart || rows[i] >= rEnd) flg = PETSC_FALSE; in MatSelectVariableBlockSizes()
10734 PetscInt rStart, rEnd, r, nrow = 0; in MatFindZeroDiagonals() local
10738 PetscCall(MatGetOwnershipRange(mat, &rStart, &rEnd)); in MatFindZeroDiagonals()
10740 for (r = 0; r < rEnd - rStart; ++r) in MatFindZeroDiagonals()
10744 for (r = 0; r < rEnd - rStart; ++r) in MatFindZeroDiagonals()