Lines Matching refs:vecsin
3816 …esize, PetscCtx ctx), PetscErrorCode (*transfer)(TS ts, PetscInt nv, Vec vecsin[], Vec vecsout[], … in TSSetResize() argument
3862 static PetscErrorCode TSResizeTransferVecs(TS ts, PetscInt cnt, Vec vecsin[], Vec vecsout[]) in TSResizeTransferVecs() argument
3867 for (PetscInt i = 0; i < cnt; i++) PetscCall(VecLockReadPush(vecsin[i])); in TSResizeTransferVecs()
3870 …PetscCallBack("TS callback resize transfer", (*ts->resizetransfer)(ts, cnt, vecsin, vecsout, ts->r… in TSResizeTransferVecs()
3872 for (PetscInt i = 0; i < cnt; i++) PetscCall(VecLockReadPop(vecsin[i])); in TSResizeTransferVecs()
3936 Vec *vecsin = NULL; in TSResizeGetVecArray() local
3943 if (vecs) PetscCall(PetscMalloc1(cnt, &vecsin)); in TSResizeGetVecArray()
3946 if (vecs) vecsin[cnt] = (Vec)tmp->obj; in TSResizeGetVecArray()
3953 if (vecs) *vecs = vecsin; in TSResizeGetVecArray()
3977 Vec *vecsin = NULL; in TSResize() local
3997 PetscCall(TSResizeGetVecArray(ts, &nv, &names, &vecsin)); in TSResize()
4006 PetscCall(TSResizeTransferVecs(ts, nv, vecsin, vecsout)); in TSResize()
4011 PetscCall(PetscObjectGetName((PetscObject)vecsin[i], &name)); in TSResize()
4027 PetscCall(PetscFree(vecsin)); in TSResize()