Home
last modified time | relevance | path

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

/petsc/src/ts/interface/sensitivity/
H A Dtssen.c950 ts->vec_dir = dir; in TSSetCostHessianProducts()
979 if (dir) *dir = ts->vec_dir; in TSGetCostHessianProducts()
1010 …PetscCheck(ts->vec_dir, PetscObjectComm((PetscObject)ts), PETSC_ERR_USER, "Directional vector is m… in TSAdjointSetForward()
1020 PetscCall(MatMult(didp, ts->vec_dir, sp)); in TSAdjointSetForward()
1026 PetscCall(VecCopy(ts->vec_dir, sp)); in TSAdjointSetForward()
1125 ts->vec_dir = NULL; in TSAdjointReset()
/petsc/src/ts/impls/implicit/theta/
H A Dtheta.c341 …essianProductFunctionUP(ts, th->stage_time, ts->vec_sol, VecsDeltaLam, ts->vec_dir, ts->vecs_fup)); in TSAdjointStepBEuler_Private()
386 …essianProductFunctionPP(ts, th->stage_time, ts->vec_sol, VecsDeltaLam, ts->vec_dir, ts->vecs_fpp)); in TSAdjointStepBEuler_Private()
504 …essianProductFunctionUP(ts, th->stage_time, ts->vec_sol, VecsDeltaLam, ts->vec_dir, ts->vecs_fup)); in TSAdjointStep_Theta()
553 …puteIHessianProductFunctionUP(ts, adjoint_ptime, th->X0, VecsDeltaLam, ts->vec_dir, ts->vecs_fup)); in TSAdjointStep_Theta()
592 …essianProductFunctionPP(ts, th->stage_time, ts->vec_sol, VecsDeltaLam, ts->vec_dir, ts->vecs_fpp)); in TSAdjointStep_Theta()
625 …puteIHessianProductFunctionPP(ts, adjoint_ptime, th->X0, VecsDeltaLam, ts->vec_dir, ts->vecs_fpp)); in TSAdjointStep_Theta()
/petsc/src/ts/impls/explicit/rk/
H A Drk.c710 …PetscCall(MatMultAdd(ts->Jacprhs, ts->vec_dir, rk->VecDeltaFwdSensipCol, rk->VecDeltaFwdSensipCol)… in TSForwardStep_RK()
965 …teRHSHessianProductFunctionUP(ts, rk->stage_time, Y[i], VecsSensiTemp, ts->vec_dir, ts->vecs_gup)); in TSAdjointStep_RK()
975 …teRHSHessianProductFunctionPP(ts, rk->stage_time, Y[i], VecsSensiTemp, ts->vec_dir, ts->vecs_gpp)); in TSAdjointStep_RK()
980 …ComputeRHSHessianProductFunctionPP(quadts, rk->stage_time, Y[i], NULL, ts->vec_dir, ts->vecs_gpp)); in TSAdjointStep_RK()
/petsc/include/petsc/private/
H A Dtsimpl.h226 Vec vec_dir; /* directional vector for optimization */ member