Lines Matching refs:tsrhs
153 Vec tsrhs; in TSDAESimpleSetUp_Reduced() local
167 PetscCall(VecDuplicate(tsdae->U, &tsrhs)); in TSDAESimpleSetUp_Reduced()
168 PetscCall(TSSetRHSFunction(red->ts, tsrhs, TSDAESimple_Reduced_TSFunction, tsdae)); in TSDAESimpleSetUp_Reduced()
169 PetscCall(VecDestroy(&tsrhs)); in TSDAESimpleSetUp_Reduced()
279 Vec tsrhs; in TSDAESimpleSetUp_Full() local
300 PetscCall(VecCreateFromOptions(tsdae->comm, NULL, nU + nV, PETSC_DETERMINE, &tsrhs)); in TSDAESimpleSetUp_Full()
301 PetscCall(VecDuplicate(tsrhs, &full->UV)); in TSDAESimpleSetUp_Full()
303 PetscCall(VecGetOwnershipRange(tsrhs, &UVstart, NULL)); in TSDAESimpleSetUp_Full()
305 PetscCall(VecScatterCreate(tsdae->U, NULL, tsrhs, is, &full->scatterU)); in TSDAESimpleSetUp_Full()
308 PetscCall(VecScatterCreate(tsdae->V, NULL, tsrhs, is, &full->scatterV)); in TSDAESimpleSetUp_Full()
311 PetscCall(TSSetRHSFunction(full->ts, tsrhs, TSDAESimple_Full_TSRHSFunction, tsdae)); in TSDAESimpleSetUp_Full()
313 PetscCall(VecDestroy(&tsrhs)); in TSDAESimpleSetUp_Full()