| /petsc/src/mat/impls/aij/seq/aijperm/ |
| H A D | aijperm.c | 159 PetscInt maxnz; /* Maximum number of nonzeros in any row. */ in MatSeqAIJPERM_create_perm() local 194 maxnz = 0; in MatSeqAIJPERM_create_perm() 197 if (nz_in_row[i] > maxnz) maxnz = nz_in_row[i]; in MatSeqAIJPERM_create_perm() 199 PetscCall(PetscMalloc1(PetscMax(maxnz, m) + 1, &rows_in_bucket)); in MatSeqAIJPERM_create_perm() 200 PetscCall(PetscMalloc1(PetscMax(maxnz, m) + 1, &ipnz)); in MatSeqAIJPERM_create_perm() 202 for (i = 0; i <= maxnz; i++) rows_in_bucket[i] = 0; in MatSeqAIJPERM_create_perm() 216 PetscCall(PetscMalloc1(maxnz + 2, &aijperm->xgroup)); in MatSeqAIJPERM_create_perm() 217 PetscCall(PetscMalloc1(maxnz + 1, &aijperm->nzgroup)); in MatSeqAIJPERM_create_perm() 223 for (i = 0; i <= maxnz; i++) { in MatSeqAIJPERM_create_perm() 237 for (i = 0; i < maxnz; i++) ipnz[i + 1] = ipnz[i] + rows_in_bucket[i]; in MatSeqAIJPERM_create_perm()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | symtranspose.c | 50 at->maxnz = ati[an]; in MatTransposeSymbolic_SeqAIJ() 131 at->maxnz = ati[an]; in MatTranspose_SeqAIJ()
|
| H A D | aij.h | 51 PetscInt maxnz; /* allocated nonzeros */ \ 269 Ain->maxnz += BS2 * CHUNKSIZE; \ 304 Ain->maxnz += BS2 * CHUNKSIZE; \
|
| H A D | aij.c | 489 …maxnz, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Number of entries in matrix will be larger than… in MatSetValues_SeqAIJ_SortedFullNoPreallocation() 538 a->maxnz = nztotal; in MatSeqAIJSetTotalPreallocation() 2030 info->nz_allocated = a->maxnz; in MatGetInfo_SeqAIJ() 2032 info->nz_unneeded = (a->maxnz - a->nz); in MatGetInfo_SeqAIJ() 3550 nz = aij->maxnz; in MatSeqAIJSetColumnIndices_SeqAIJ() 3948 b->maxnz = nz; in MatSeqAIJSetPreallocation_SeqAIJ() 3949 B->info.nz_unneeded = (double)b->maxnz; in MatSeqAIJSetPreallocation_SeqAIJ() 3990 a->maxnz = a->i[A->rmap->n]; in MatResetPreallocation_SeqAIJ_Private() 3991 A->info.nz_unneeded = (double)a->maxnz; in MatResetPreallocation_SeqAIJ_Private() 4935 c->maxnz = a->nz; /* Since we allocate exactly the right amount */ in MatDuplicateNoCreate_SeqAIJ()
|
| H A D | aijfact.c | 169 b->maxnz = b->nz = bdiag[0] + 1; in MatLUFactorSymbolic_SeqAIJ() 1692 b->maxnz = b->nz = bdiag[0] + 1; in MatILUFactorSymbolic_SeqAIJ() 2228 b->maxnz = b->nz = ui[am]; in MatICCFactorSymbolic_SeqAIJ() 2395 b->maxnz = b->nz = ui[am]; in MatCholeskyFactorSymbolic_SeqAIJ()
|
| H A D | matmatmult.c | 54 aij->maxnz = i[m]; in MatSetSeqAIJWithArrays_private()
|
| /petsc/src/mat/impls/sbaij/seq/cholmod/ |
| H A D | sbaijcholmod.c | 148 C->nzmax = (size_t)sbaij->maxnz; in MatWrapCholmod_seqsbaij() 157 PetscCall(PetscMalloc1(sbaij->maxnz, &v)); in MatWrapCholmod_seqsbaij() 158 for (i = 0; i < sbaij->maxnz; i++) v[i] = PetscConj(sbaij->a[i]); in MatWrapCholmod_seqsbaij()
|
| /petsc/src/mat/impls/aij/seq/bas/ |
| H A D | basfactor.c | 79 b->maxnz = b->nz = ui[am]; in MatICCFactorSymbolic_SeqAIJ_Bas()
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijfact3.c | 272 b->maxnz = b->nz = bdiag[0] + 1; in MatLUFactorSymbolic_SeqBAIJ()
|
| H A D | baijfact2.c | 501 b->maxnz = b->nz = bdiag[0] + 1; in MatILUFactorSymbolic_SeqBAIJ()
|
| H A D | baijfact.c | 1215 b->maxnz = b->nz = ui[am]; in MatICCFactorSymbolic_SeqBAIJ() 1395 b->maxnz = b->nz = ui[mbs]; in MatCholeskyFactorSymbolic_SeqBAIJ()
|
| H A D | baij.c | 2563 baij->nz = baij->maxnz; in MatSeqBAIJSetColumnIndices_SeqBAIJ() 3364 b->maxnz = nz; in MatSeqBAIJSetPreallocation_SeqBAIJ() 3365 B->info.nz_unneeded = (PetscReal)b->maxnz * bs2; in MatSeqBAIJSetPreallocation_SeqBAIJ() 3507 B->info.nz_unneeded = (PetscReal)b->maxnz * b->bs2; in MatCreate_SeqBAIJ() 3597 c->maxnz = a->nz; /* Since we allocate exactly the right amount */ in MatDuplicateNoCreate_SeqBAIJ()
|
| H A D | baij2.c | 3319 info->nz_allocated = a->bs2 * a->maxnz; in MatGetInfo_SeqBAIJ()
|
| /petsc/src/mat/impls/blockmat/seq/ |
| H A D | blockmat.c | 372 …PetscCheck(cnt < amat->maxnz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Number of blocks found greater tha… in MatLoad_BlockMat() 884 bmat->maxnz = nz; in MatBlockMatSetPreallocation_BlockMat() 885 A->info.nz_unneeded = (double)bmat->maxnz; in MatBlockMatSetPreallocation_BlockMat()
|
| /petsc/src/ksp/pc/impls/spai/ |
| H A D | ispai.c | 641 M->maxnz = calc_maxnz(M); in ConvertMatToMatrix()
|
| /petsc/src/mat/impls/aij/seq/seqviennacl/ |
| H A D | aijviennacl.cxx | 111 a->maxnz = a->nz; /* Since we allocate exactly the right amount */ in MatViennaCLCopyFromGPU()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaijfact.c | 202 b->maxnz = b->nz = iu[mbs]; in MatCholeskyFactorSymbolic_SeqSBAIJ_MSR() 362 b->maxnz = b->nz = ui[mbs]; in MatCholeskyFactorSymbolic_SeqSBAIJ() 535 b->maxnz = b->nz = ui[mbs]; in MatCholeskyFactorSymbolic_SeqSBAIJ_inplace()
|
| H A D | sbaij.c | 866 nz = baij->maxnz; in MatSeqSBAIJSetColumnIndices_SeqSBAIJ() 1511 b->maxnz = nz; in MatSeqSBAIJSetPreallocation_SeqSBAIJ() 1787 B->info.nz_unneeded = (PetscReal)b->maxnz * b->bs2; in MatCreate_SeqSBAIJ() 2061 c->maxnz = a->nz; /* Since we allocate exactly the right amount */ in MatDuplicate_SeqSBAIJ()
|
| H A D | sbaijfact2.c | 2452 b->maxnz = b->nz = iu[mbs]; in MatICCFactorSymbolic_SeqSBAIJ_MSR() 2648 b->maxnz = b->nz = ui[am]; in MatICCFactorSymbolic_SeqSBAIJ() 2844 b->maxnz = b->nz = ui[am]; in MatICCFactorSymbolic_SeqSBAIJ_inplace()
|
| H A D | sbaij2.c | 1486 info->nz_allocated = a->bs2 * a->maxnz; /*num. of nonzeros in upper triangular part */ in MatGetInfo_SeqSBAIJ()
|
| /petsc/src/mat/impls/aij/seq/kokkos/ |
| H A D | aijkok.kokkos.cxx | 1581 aseq->maxnz = aseq->nz; in MatSetSeqAIJKokkosWithCSRMatrix() 2136 b->nz = b->maxnz = spiluk_handle->get_nnzL() + spiluk_handle->get_nnzU(); in MatILUFactorSymbolic_SeqAIJKokkos_ILU0()
|
| /petsc/src/mat/impls/aij/seq/seqhipsparse/ |
| H A D | aijhipsparse.hip.cxx | 2838 c->maxnz = c->nz; in MatProductSymbolic_SeqAIJHIPSPARSE_SeqAIJHIPSPARSE() 4286 c->maxnz = c->nz; in MatSeqAIJHIPSPARSEMergeMats()
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 3365 c->maxnz = c->nz; in MatProductSymbolic_SeqAIJCUSPARSE_SeqAIJCUSPARSE() 4963 c->maxnz = c->nz; in MatSeqAIJCUSPARSEMergeMats()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiaij.c | 6661 a->maxnz = a->nz; in MatSetPreallocationCOO_MPIAIJ() 6662 b->maxnz = b->nz; in MatSetPreallocationCOO_MPIAIJ()
|