Lines Matching refs:rlenmax
78 PetscErrorCode MatSeqSELLSetPreallocation(Mat B, PetscInt rlenmax, const PetscInt rlen[]) in MatSeqSELLSetPreallocation() argument
83 …PetscTryMethod(B, "MatSeqSELLSetPreallocation_C", (Mat, PetscInt, const PetscInt[]), (B, rlenmax, … in MatSeqSELLSetPreallocation()
92 PetscInt rlenmax = 0; in MatSeqSELLSetPreallocation_SeqSELL() local
139 rlenmax = maxallocrow; in MatSeqSELLSetPreallocation_SeqSELL()
155 rlenmax = PetscMax(b->sliidx[i], rlenmax); in MatSeqSELLSetPreallocation_SeqSELL()
167 rlenmax = PetscMax(b->sliidx[i], rlenmax); in MatSeqSELLSetPreallocation_SeqSELL()
194 b->rlenmax = rlenmax; in MatSeqSELLSetPreallocation_SeqSELL()
196 b->rlenmax = maxallocrow; in MatSeqSELLSetPreallocation_SeqSELL()
213 …if (!a->getrowcols) PetscCall(PetscMalloc2(a->rlenmax, &a->getrowcols, a->rlenmax, &a->getrowvals)… in MatGetRow_SeqSELL()
1450 PetscCall(PetscInfo(A, "Maximum nonzeros in any row is %" PetscInt_FMT "\n", a->rlenmax)); in MatAssemblyEnd_SeqSELL()
2273 c->rlenmax = a->rlenmax; in MatDuplicateNoCreate_SeqSELL()
2386 PetscErrorCode MatCreateSeqSELL(MPI_Comm comm, PetscInt m, PetscInt n, PetscInt rlenmax, const Pets… in MatCreateSeqSELL() argument
2392 PetscCall(MatSeqSELLSetPreallocation_SeqSELL(*A, rlenmax, rlen)); in MatCreateSeqSELL()
2403 …n != B->rmap->n) || (A->cmap->n != B->cmap->n) || (a->nz != b->nz) || (a->rlenmax != b->rlenmax)) { in MatEqual_SeqSELL()