Home
last modified time | relevance | path

Searched refs:rlenmax (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/impls/sell/seq/ !
H A Dsell.h25 PetscInt rlenmax; /* max actual row length, rmax cannot exceed maxallocrow */ \
121 if (WIDTH >= Ain->rlenmax) Ain->rlenmax++; \
180 if (a->rlen[row] >= a->rlenmax) a->rlenmax++; \
H A Dsell.c78 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()
[all …]