Lines Matching refs:locsize
217 PetscInt glosize, locsize; in TSInterpolate_Sundials() local
222 PetscCall(VecGetLocalSize(X, &locsize)); in TSInterpolate_Sundials()
231 y = N_VMake_Serial(locsize, (realtype *)x_data); in TSInterpolate_Sundials()
233 y = N_VMake_Parallel(cvode->comm_sundials, locsize, glosize, (realtype *)x_data); in TSInterpolate_Sundials()
281 PetscInt glosize, locsize, i; in TSSetUp_Sundials() local
292 PetscCall(VecGetLocalSize(ts->vec_sol, &locsize)); in TSSetUp_Sundials()
300 cvode->y = N_VNew_Serial(locsize); in TSSetUp_Sundials()
302 cvode->y = N_VNew_Parallel(cvode->comm_sundials, locsize, glosize); in TSSetUp_Sundials()
309 for (i = 0; i < locsize; i++) y_data[i] = parray[i]; in TSSetUp_Sundials()
320 …PetscCall(VecCreateMPIWithArray(PetscObjectComm((PetscObject)ts), 1, locsize, PETSC_DECIDE, NULL, … in TSSetUp_Sundials()
321 …PetscCall(VecCreateMPIWithArray(PetscObjectComm((PetscObject)ts), 1, locsize, PETSC_DECIDE, NULL, … in TSSetUp_Sundials()
357 PetscCallExternal(CVDense, cvode->mem, locsize); in TSSetUp_Sundials()