Lines Matching refs:vec_sol
1034 if (!r && !ts->dm && ts->vec_sol) { in TSSetRHSFunction()
1035 PetscCall(VecDuplicate(ts->vec_sol, &ralloc)); in TSSetRHSFunction()
1207 if (!r && !ts->dm && ts->vec_sol) { in TSSetIFunction()
1208 PetscCall(VecDuplicate(ts->vec_sol, &ralloc)); in TSSetIFunction()
1787 if (u) *u = ts->vec_sol; in TS2GetSolution()
1831 PetscCall(DMCreateGlobalVector(ts->dm, &ts->vec_sol)); in TSLoad()
1832 PetscCall(VecLoad(ts->vec_sol, viewer)); in TSLoad()
1970 PetscCall(VecView(ts->vec_sol, viewer)); in TSView()
2279 *v = ts->vec_sol; in TSGetSolution()
2503 if (!ts->vec_sol) { in TSSetUp()
2505 PetscCall(DMCreateGlobalVector(ts->dm, &ts->vec_sol)); in TSSetUp()
2516 PetscCall(VecDuplicate(ts->quadraturets->vec_sol, &ts->vec_costintegrand)); in TSSetUp()
2601 PetscCall(VecDestroy(&ts->vec_sol)); in TSReset()
3086 PetscCall(VecDestroy(&ts->vec_sol)); in TSSetSolution()
3087 ts->vec_sol = u; in TSSetSolution()
3510 if (!ts->vec_sol0) PetscCall(VecDuplicate(ts->vec_sol, &ts->vec_sol0)); in TSStep()
3511 PetscCall(VecCopy(ts->vec_sol, ts->vec_sol0)); in TSStep()
3984 PetscCall(VecLockReadPush(ts->vec_sol)); in TSResize()
3985 …callback resize setup", (*ts->resizesetup)(ts, ts->steps, ts->ptime, ts->vec_sol, &ts->stepresize,… in TSResize()
3986 PetscCall(VecLockReadPop(ts->vec_sol)); in TSResize()
3992 PetscCall(TSResizeRegisterVec(ts, solname, ts->vec_sol)); in TSResize()
4023 …PetscAssert(ts->vec_sol, PetscObjectComm((PetscObject)ts), PETSC_ERR_ARG_NULL, "Missing TS solutio… in TSResize()
4061 if (!ts->vec_sol || u == ts->vec_sol) { in TSSolve()
4066 PetscCall(VecCopy(u, ts->vec_sol)); in TSSolve()
4078 …if (!ts->eval_times->sol_vecs) PetscCall(VecDuplicateVecs(ts->vec_sol, ts->eval_times->num_time_po… in TSSolve()
4087 PetscCall(VecCopy(ts->vec_sol, ts->eval_times->sol_vecs[ts->eval_times->sol_idx])); in TSSolve()
4168 if (u) PetscCall(VecCopy(ts->vec_sol, u)); in TSSolve()
4170 solution = ts->vec_sol; in TSSolve()
4176 PetscCall(TSTrajectorySet(ts->trajectory, ts, ts->steps, ts->ptime, ts->vec_sol)); in TSSolve()
4177 PetscCall(TSEventInitialize(ts->event, ts, ts->ptime, ts->vec_sol)); in TSSolve()
4182 PetscCall(TSMonitor(ts, ts->steps, ts->ptime, ts->vec_sol)); in TSSolve()
4208 PetscCall(TSTrajectorySet(ts->trajectory, ts, ts->steps, ts->ptime, ts->vec_sol)); in TSSolve()
4216 PetscCall(VecCopy(ts->vec_sol, ts->eval_times->sol_vecs[ts->eval_times->sol_idx])); in TSSolve()
4223 PetscCall(TSMonitor(ts, ts->steps, ts->ptime, ts->vec_sol)); in TSSolve()
4226 if (!u) u = ts->vec_sol; in TSSolve()
4232 if (u) PetscCall(VecCopy(ts->vec_sol, u)); in TSSolve()
4234 solution = ts->vec_sol; in TSSolve()
5451 PetscCall(VecCopy(ts->vec_sol0, ts->vec_sol)); in TSRollBack()
5772 t->vec_sol = NULL; in TSClone()
5827 PetscCall((*func)(ts, 0.0, ts->vec_sol, J, B, ctx)); in TSRHSJacobianTest()
5828 PetscCall(MatShellTestMult(J, RHSWrapperFunction_TSRHSJacobianTest, ts->vec_sol, ts, flg)); in TSRHSJacobianTest()
5861 PetscCall((*func)(ts, 0.0, ts->vec_sol, J, B, ctx)); in TSRHSJacobianTestTranspose()
5862 …PetscCall(MatShellTestMultTranspose(J, RHSWrapperFunction_TSRHSJacobianTest, ts->vec_sol, ts, flg)… in TSRHSJacobianTestTranspose()