Home
last modified time | relevance | path

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

/petsc/src/mat/impls/sell/mpi/
H A Dmmsell.c20 Mat_SeqSELL *Bsell = (Mat_SeqSELL *)B->data; in MatDisAssemble_MPISELL() local
45 PetscCall(MatSeqSELLSetPreallocation(Bnew, 0, Bsell->rlen)); in MatDisAssemble_MPISELL()
46 if (Bsell->nonew >= 0) { /* Inherit insertion error options (if positive). */ in MatDisAssemble_MPISELL()
47 ((Mat_SeqSELL *)Bnew->data)->nonew = Bsell->nonew; in MatDisAssemble_MPISELL()
56 totalslices = PetscCeilInt(B->rmap->n, Bsell->sliceheight); in MatDisAssemble_MPISELL()
58 …for (j = Bsell->sliidx[i], row = 0; j < Bsell->sliidx[i + 1]; j++, row = (row + 1) % Bsell->sliceh… in MatDisAssemble_MPISELL()
59 …isnonzero = (PetscBool)((j - Bsell->sliidx[i]) / Bsell->sliceheight < Bsell->rlen[Bsell->sliceheig… in MatDisAssemble_MPISELL()
60 …if (isnonzero) PetscCall(MatSetValue(Bnew, Bsell->sliceheight * i + row, sell->garray[Bsell->colid… in MatDisAssemble_MPISELL()
H A Dmpisell.c420 Mat_MPISELL *Asell = (Mat_MPISELL *)Amat->data, *Bsell; in MatIsTranspose_MPISELL() local
428 Bsell = (Mat_MPISELL *)Bmat->data; in MatIsTranspose_MPISELL()
429 Bdia = Bsell->A; in MatIsTranspose_MPISELL()