Lines Matching refs:bx
190 DMBoundaryType bx, by, bz; in DMCreateColoring_DA() local
219 PetscCall(DMDAGetInfo(da, &dim, NULL, NULL, NULL, &m, &n, &p, &nc, NULL, &bx, &by, &bz, NULL)); in DMCreateColoring_DA()
224 …PetscCheck(!((m == 1 && bx == DM_BOUNDARY_PERIODIC) || (n == 1 && by == DM_BOUNDARY_PERIODIC) || (… in DMCreateColoring_DA()
264 DMBoundaryType bx, by; in DMCreateColoring_DA_2d_MPIAIJ() local
275 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, &M, &N, NULL, &nc, &s, &bx, &by, NULL, &st)); in DMCreateColoring_DA_2d_MPIAIJ()
328 DMBoundaryType bx, by, bz; in DMCreateColoring_DA_3d_MPIAIJ() local
338 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, &M, &N, &P, &nc, &s, &bx, &by, &bz, &st)); in DMCreateColoring_DA_3d_MPIAIJ()
340 …PetscCheck(bx != DM_BOUNDARY_PERIODIC || (m % col) == 0, PetscObjectComm((PetscObject)da), PETSC_E… in DMCreateColoring_DA_3d_MPIAIJ()
393 DMBoundaryType bx; in DMCreateColoring_DA_1d_MPIAIJ() local
402 PetscCall(DMDAGetInfo(da, &dim, &m, NULL, NULL, &M, NULL, NULL, &nc, &s, &bx, NULL, NULL, NULL)); in DMCreateColoring_DA_1d_MPIAIJ()
404 …PetscCheck(bx != DM_BOUNDARY_PERIODIC || !(m % col), PetscObjectComm((PetscObject)da), PETSC_ERR_S… in DMCreateColoring_DA_1d_MPIAIJ()
462 DMBoundaryType bx, by; in DMCreateColoring_DA_2d_5pt_MPIAIJ() local
471 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, NULL, NULL, NULL, &nc, &s, &bx, &by, NULL, NULL)); in DMCreateColoring_DA_2d_5pt_MPIAIJ()
695 DMBoundaryType bx; in DMCreateMatrix_DA() local
697 …PetscCall(DMDAGetInfo(da, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &bx, NULL, NULL, N… in DMCreateMatrix_DA()
699 if (size == 1 && bx == DM_BOUNDARY_NONE) { in DMCreateMatrix_DA()
828 DMBoundaryType bx, by; in DMCreateMatrix_DA_2d_MPISELL() local
837 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, NULL, NULL, NULL, &nc, &s, &bx, &by, NULL, &st)); in DMCreateMatrix_DA_2d_MPISELL()
850 pstart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPISELL()
851 pend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPISELL()
888 pstart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPISELL()
889 pend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPISELL()
930 DMBoundaryType bx, by, bz; in DMCreateMatrix_DA_3d_MPISELL() local
939 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, &M, &N, &P, &nc, &s, &bx, &by, &bz, &st)); in DMCreateMatrix_DA_3d_MPISELL()
952 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPISELL()
953 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPISELL()
994 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPISELL()
995 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPISELL()
1039 DMBoundaryType bx, by; in DMCreateMatrix_DA_2d_MPIAIJ() local
1049 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, &M, &N, NULL, &nc, &s, &bx, &by, NULL, &st)); in DMCreateMatrix_DA_2d_MPIAIJ()
1050 …if (bx == DM_BOUNDARY_NONE && by == DM_BOUNDARY_NONE) PetscCall(MatSetOption(J, MAT_SORTED_FULL, P… in DMCreateMatrix_DA_2d_MPIAIJ()
1069 pstart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPIAIJ()
1070 pend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPIAIJ()
1107 pstart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPIAIJ()
1108 pend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPIAIJ()
1139 …if (bx == DM_BOUNDARY_NONE && by == DM_BOUNDARY_NONE) PetscCall(MatSetOption(J, MAT_SORTED_FULL, P… in DMCreateMatrix_DA_2d_MPIAIJ()
1153 DMBoundaryType bx, by; in DMCreateMatrix_DA_2d_MPIAIJ_Fill() local
1163 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, &M, &N, NULL, &nc, &s, &bx, &by, NULL, &st)); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1182 pstart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1183 pend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1227 pstart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1228 pend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1275 DMBoundaryType bx, by, bz; in DMCreateMatrix_DA_3d_MPIAIJ() local
1285 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, &M, &N, &P, &nc, &s, &bx, &by, &bz, &st)); in DMCreateMatrix_DA_3d_MPIAIJ()
1286 …if (bx == DM_BOUNDARY_NONE && by == DM_BOUNDARY_NONE && bz == DM_BOUNDARY_NONE) PetscCall(MatSetOp… in DMCreateMatrix_DA_3d_MPIAIJ()
1308 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPIAIJ()
1309 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPIAIJ()
1351 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPIAIJ()
1352 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPIAIJ()
1386 …if (bx == DM_BOUNDARY_NONE && by == DM_BOUNDARY_NONE && bz == DM_BOUNDARY_NONE) PetscCall(MatSetOp… in DMCreateMatrix_DA_3d_MPIAIJ()
1400 DMBoundaryType bx; in DMCreateMatrix_DA_1d_MPIAIJ_Fill() local
1411 …PetscCall(DMDAGetInfo(da, &dim, &m, NULL, NULL, NULL, NULL, NULL, &nc, &s, &bx, NULL, NULL, NULL)); in DMCreateMatrix_DA_1d_MPIAIJ_Fill()
1429 if (rank == 0 && (dd->bx == DM_BOUNDARY_PERIODIC)) { in DMCreateMatrix_DA_1d_MPIAIJ_Fill()
1449 if ((rank == size - 1) && (dd->bx == DM_BOUNDARY_PERIODIC)) { in DMCreateMatrix_DA_1d_MPIAIJ_Fill()
1482 if (rank == 0 && (dd->bx == DM_BOUNDARY_PERIODIC)) { in DMCreateMatrix_DA_1d_MPIAIJ_Fill()
1534 if ((rank == size - 1) && (dd->bx == DM_BOUNDARY_PERIODIC)) { in DMCreateMatrix_DA_1d_MPIAIJ_Fill()
1559 DMBoundaryType bx; in DMCreateMatrix_DA_1d_MPIAIJ() local
1567 …PetscCall(DMDAGetInfo(da, &dim, &m, NULL, NULL, NULL, NULL, NULL, &nc, &s, &bx, NULL, NULL, NULL)); in DMCreateMatrix_DA_1d_MPIAIJ()
1568 if (bx == DM_BOUNDARY_NONE) PetscCall(MatSetOption(J, MAT_SORTED_FULL, PETSC_TRUE)); in DMCreateMatrix_DA_1d_MPIAIJ()
1610 if (bx == DM_BOUNDARY_NONE) PetscCall(MatSetOption(J, MAT_SORTED_FULL, PETSC_FALSE)); in DMCreateMatrix_DA_1d_MPIAIJ()
1623 DMBoundaryType bx; in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation() local
1631 …PetscCall(DMDAGetInfo(da, &dim, &m, NULL, NULL, NULL, NULL, NULL, &nc, &s, &bx, NULL, NULL, NULL)); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1672 if (bx == DM_BOUNDARY_NONE) PetscCall(MatSetOption(J, MAT_SORTED_FULL, PETSC_FALSE)); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1688 DMBoundaryType bx, by; in DMCreateMatrix_DA_2d_MPIBAIJ() local
1697 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, NULL, NULL, NULL, &nc, &s, &bx, &by, NULL, &st)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1711 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1712 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1744 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1745 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1780 DMBoundaryType bx, by, bz; in DMCreateMatrix_DA_3d_MPIBAIJ() local
1789 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, NULL, NULL, NULL, &nc, &s, &bx, &by, &bz, &st)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1803 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1804 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1843 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1844 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1905 DMBoundaryType bx, by; in DMCreateMatrix_DA_2d_MPISBAIJ() local
1914 PetscCall(DMDAGetInfo(da, &dim, &m, &n, NULL, NULL, NULL, NULL, &nc, &s, &bx, &by, NULL, &st)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1928 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1929 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1960 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1961 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1997 DMBoundaryType bx, by, bz; in DMCreateMatrix_DA_3d_MPISBAIJ() local
2006 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, NULL, NULL, NULL, &nc, &s, &bx, &by, &bz, &st)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2021 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2022 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2060 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2061 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2105 DMBoundaryType bx, by, bz; in DMCreateMatrix_DA_3d_MPIAIJ_Fill() local
2115 PetscCall(DMDAGetInfo(da, &dim, &m, &n, &p, &M, &N, &P, &nc, &s, &bx, &by, &bz, &st)); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2138 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2139 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2189 istart = (bx == DM_BOUNDARY_PERIODIC) ? -s : (PetscMax(-s, -i)); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2190 iend = (bx == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, m - i - 1)); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()