Home
last modified time | relevance | path

Searched refs:max_no (Results 1 – 4 of 4) sorted by relevance

/petsc/src/mat/impls/dense/mpi/
H A Dmmdense.c27 PetscInt nmax, nstages, i, pos, max_no; in MatCreateSubMatrices_MPIDense() local
41 if (pos + nmax <= ismax) max_no = nmax; in MatCreateSubMatrices_MPIDense()
42 else if (pos == ismax) max_no = 0; in MatCreateSubMatrices_MPIDense()
43 else max_no = ismax - pos; in MatCreateSubMatrices_MPIDense()
44 …PetscCall(MatCreateSubMatrices_MPIDense_Local(C, max_no, isrow + pos, iscol + pos, scall, *submat … in MatCreateSubMatrices_MPIDense()
45 pos += max_no; in MatCreateSubMatrices_MPIDense()
/petsc/src/mat/impls/sbaij/mpi/
H A Dsbaijov.c19 PetscInt *ai, brow, nz, nis, l, nmax, nstages, max_no, pos; in MatIncreaseOverlap_MPISBAIJ() local
71 if (pos + nmax <= is_max) max_no = nmax; in MatIncreaseOverlap_MPISBAIJ()
72 else if (pos == is_max) max_no = 0; in MatIncreaseOverlap_MPISBAIJ()
73 else max_no = is_max - pos; in MatIncreaseOverlap_MPISBAIJ()
76 …PetscCall(MatCreateSubMatrices_MPIBAIJ_local(C, max_no, is_row + pos, is_new + pos, MAT_INITIAL_MA… in MatIncreaseOverlap_MPISBAIJ()
77 pos += max_no; in MatIncreaseOverlap_MPISBAIJ()
/petsc/src/mat/impls/baij/mpi/
H A Dbaijov.c528 PetscInt nmax, nstages, i, pos, max_no, N = C->cmap->N, bs = C->rmap->bs; in MatCreateSubMatrices_MPIBAIJ() local
583 if (pos + nmax <= ismax) max_no = nmax; in MatCreateSubMatrices_MPIBAIJ()
584 else if (pos >= ismax) max_no = 0; in MatCreateSubMatrices_MPIBAIJ()
585 else max_no = ismax - pos; in MatCreateSubMatrices_MPIBAIJ()
587 …PetscCall(MatCreateSubMatrices_MPIBAIJ_local(C, max_no, isrow_block + pos, iscol_block + pos, scal… in MatCreateSubMatrices_MPIBAIJ()
588 if (!max_no) { in MatCreateSubMatrices_MPIBAIJ()
594 } else pos += max_no; in MatCreateSubMatrices_MPIBAIJ()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiov.c1939 PetscInt nmax, nstages = 0, max_no, nrow, ncol, in[2], out[2]; in MatCreateSubMatrices_MPIAIJ() local
2011 if (pos + nmax <= ismax) max_no = nmax; in MatCreateSubMatrices_MPIAIJ()
2012 else if (pos >= ismax) max_no = 0; in MatCreateSubMatrices_MPIAIJ()
2013 else max_no = ismax - pos; in MatCreateSubMatrices_MPIAIJ()
2015 …PetscCall(MatCreateSubMatrices_MPIAIJ_Local(C, max_no, PetscSafePointerPlusOffset(isrow, pos), Pet… in MatCreateSubMatrices_MPIAIJ()
2016 if (!max_no) { in MatCreateSubMatrices_MPIAIJ()
2022 } else pos += max_no; in MatCreateSubMatrices_MPIAIJ()