Home
last modified time | relevance | path

Searched refs:isnonzero (Results 1 – 3 of 3) sorted by relevance

/petsc/src/mat/impls/sell/seq/
H A Dfdsell.c16 PetscBool isnonzero; in MatGetColumnIJ_SeqSELL_Color() local
31 isnonzero = (PetscBool)((j - a->sliidx[i]) / 8 < a->rlen[8 * i + row]); in MatGetColumnIJ_SeqSELL_Color()
32 if (isnonzero) collengths[a->colidx[j]]++; in MatGetColumnIJ_SeqSELL_Color()
42 isnonzero = (PetscBool)((j - a->sliidx[i]) / 8 < a->rlen[8 * i + row]); in MatGetColumnIJ_SeqSELL_Color()
43 if (isnonzero) { in MatGetColumnIJ_SeqSELL_Color()
/petsc/src/mat/impls/sell/mpi/
H A Dmmsell.c22 PetscBool isnonzero; in MatDisAssemble_MPISELL() local
59isnonzero = (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()
80 PetscBool isnonzero; in MatSetUpMultiply_MPISELL() local
98isnonzero = (PetscBool)((j - B->sliidx[i]) / B->sliceheight < B->rlen[i * B->sliceheight + j % B->… in MatSetUpMultiply_MPISELL()
99 if (isnonzero) { /* check the mask bit */ in MatSetUpMultiply_MPISELL()
127isnonzero = (PetscBool)((j - B->sliidx[i]) / B->sliceheight < B->rlen[i * B->sliceheight + j % B->… in MatSetUpMultiply_MPISELL()
128 if (isnonzero) { in MatSetUpMultiply_MPISELL()
145isnonzero = (PetscBool)((j - B->sliidx[i]) / B->sliceheight < B->rlen[i * B->sliceheight + j % B->… in MatSetUpMultiply_MPISELL()
146 if (isnonzero) { in MatSetUpMultiply_MPISELL()
[all …]
H A Dmpisell.c605 PetscBool isnonzero; in MatView_MPISELL_ASCIIorDraworSocket() local
624isnonzero = (PetscBool)((j - Aloc->sliidx[i]) / Aloc->sliceheight < Aloc->rlen[i * Aloc->sliceheig… in MatView_MPISELL_ASCIIorDraworSocket()
625 if (isnonzero) { /* check the mask bit */ in MatView_MPISELL_ASCIIorDraworSocket()
641isnonzero = (PetscBool)((j - Aloc->sliidx[i]) / Aloc->sliceheight < Aloc->rlen[i * Aloc->sliceheig… in MatView_MPISELL_ASCIIorDraworSocket()
642 if (isnonzero) { in MatView_MPISELL_ASCIIorDraworSocket()