Home
last modified time | relevance | path

Searched refs:is_max (Results 1 – 7 of 7) sorted by relevance

/petsc/src/mat/impls/sbaij/mpi/
H A Dsbaijov.c11 PetscErrorCode MatIncreaseOverlap_MPISBAIJ(Mat C, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_MPISBAIJ() argument
24 PetscCall(PetscMalloc1(is_max, &is_new)); in MatIncreaseOverlap_MPISBAIJ()
26 PetscCall(ISCompressIndicesGeneral(N, C->rmap->n, bs, is_max, is, is_new)); in MatIncreaseOverlap_MPISBAIJ()
34 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPISBAIJ_Once(C, is_max, is_new)); in MatIncreaseOverlap_MPISBAIJ()
41 PetscCall(PetscMalloc1(is_max, &is_row)); in MatIncreaseOverlap_MPISBAIJ()
44 for (i = 1; i < is_max; i++) is_row[i] = is_row[0]; /* reuse is_row[0] */ in MatIncreaseOverlap_MPISBAIJ()
47 PetscCall(PetscMalloc1(is_max + 1, &submats)); in MatIncreaseOverlap_MPISBAIJ()
52 nstages = is_max / nmax + ((is_max % nmax) ? 1 : 0); in MatIncreaseOverlap_MPISBAIJ()
71 if (pos + nmax <= is_max) max_no = nmax; in MatIncreaseOverlap_MPISBAIJ()
72 else if (pos == is_max) max_no = 0; in MatIncreaseOverlap_MPISBAIJ()
[all …]
/petsc/src/mat/impls/dense/mpi/
H A Dmmdense.c333 PetscInt is_max, tmp1, col, *sbuf1_i, is_sz; in MatCreateSubMatrices_MPIDense_Local() local
340 is_max = sbuf1_i[0]; in MatCreateSubMatrices_MPIDense_Local()
341 ct1 = 2 * is_max + 1; in MatCreateSubMatrices_MPIDense_Local()
343 for (PetscInt j = 1; j <= is_max; j++) { /* For each IS belonging to the message */ in MatCreateSubMatrices_MPIDense_Local()
/petsc/src/mat/impls/normal/
H A Dnormm.c9 static PetscErrorCode MatIncreaseOverlap_Normal(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_Normal() argument
21 PetscCall(MatIncreaseOverlap(pattern, is_max, is, ov)); in MatIncreaseOverlap_Normal()
/petsc/src/mat/impls/htool/
H A Dhtool.cxx116 static PetscErrorCode MatIncreaseOverlap_Htool(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_Htool() argument
126 for (PetscInt i = 0; i < is_max; ++i) { in MatIncreaseOverlap_Htool()
/petsc/src/mat/impls/sbaij/seq/
H A Dsbaij2.c8 PetscErrorCode MatIncreaseOverlap_SeqSBAIJ(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_SeqSBAIJ() argument
25 for (i = 0; i < is_max; i++) { /* for each is */ in MatIncreaseOverlap_SeqSBAIJ()
/petsc/src/mat/impls/baij/seq/
H A Dbaij2.c13 PetscErrorCode MatIncreaseOverlap_SeqBAIJ(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_SeqBAIJ() argument
32 for (i = 0; i < is_max; i++) { in MatIncreaseOverlap_SeqBAIJ()
/petsc/src/mat/impls/aij/seq/
H A Daij.c2734 static PetscErrorCode MatIncreaseOverlap_SeqAIJ(Mat A, PetscInt is_max, IS is[], PetscInt ov) in MatIncreaseOverlap_SeqAIJ() argument
2752 for (i = 0; i < is_max; i++) { in MatIncreaseOverlap_SeqAIJ()