Home
last modified time | relevance | path

Searched refs:oldnmax (Results 1 – 4 of 4) sorted by relevance

/petsc/src/vec/vec/utils/
H A Dvecstash.c50 stash->oldnmax = 0; in VecStashCreate_Private()
93 PetscInt oldnmax; in VecStashScatterEnd_Private() local
108 oldnmax = ((PetscInt)(stash->n * 1.1) + 5) * stash->bs; in VecStashScatterEnd_Private()
109 if (oldnmax > stash->oldnmax) stash->oldnmax = oldnmax; in VecStashScatterEnd_Private()
183 if (!stash->oldnmax && !stash->nmax) { /* new stash */ in VecStashExpand_Private()
187 if (stash->umax > stash->oldnmax) newnmax = stash->umax / bs; in VecStashExpand_Private()
188 else newnmax = stash->oldnmax / bs; in VecStashExpand_Private()
/petsc/src/mat/utils/
H A Dmatstash.c61 stash->oldnmax = 0; in MatStashCreate_Private()
131 PetscInt bs2, oldnmax; in MatStashScatterEnd_Ref() local
148 oldnmax = ((int)(stash->n * 1.1) + 5) * bs2; in MatStashScatterEnd_Ref()
149 if (oldnmax > stash->oldnmax) stash->oldnmax = oldnmax; in MatStashScatterEnd_Ref()
226 if (!stash->oldnmax && !stash->nmax) { /* new stash */ in MatStashExpand_Private()
230 if (stash->umax > stash->oldnmax) cnewnmax = stash->umax / bs2; in MatStashExpand_Private()
231 else cnewnmax = stash->oldnmax / bs2; in MatStashExpand_Private()
987 PetscInt oldnmax = ((int)(stash->n * 1.1) + 5) * bs2; in MatStashScatterEnd_BTS() local
988 if (oldnmax > stash->oldnmax) stash->oldnmax = oldnmax; in MatStashScatterEnd_BTS()
/petsc/include/petsc/private/
H A Dvecimpl.h129 PetscInt oldnmax; /* the nmax value used previously */ member
H A Dmatimpl.h338 PetscInt oldnmax; /* the nmax value used previously */ member