Home
last modified time | relevance | path

Searched refs:costintegralfwd (Results 1 – 5 of 5) sorted by relevance

/petsc/src/ts/interface/sensitivity/
H A Dtssen.c319 ts->costintegralfwd = fwd; /* Evaluate the cost integral in forward run if fwd is true */ in TSSetCostIntegrand()
1594 …if ((ts->vec_costintegral || ts->quadraturets) && !ts->costintegralfwd) PetscCall(TSAdjointCostInt… in TSAdjointSolve()
1959 ts->costintegralfwd = fwd; in TSCreateQuadratureTS()
1981 if (fwd) *fwd = ts->costintegralfwd; in TSGetQuadratureTS()
/petsc/include/petsc/private/
H A Dtsimpl.h207 PetscBool costintegralfwd; /* cost integral is evaluated in the forward run if true */ member
/petsc/src/ts/impls/explicit/rk/
H A Drk.c661 if (quadts && ts->costintegralfwd) { in TSRollBack_RK()
827 if (ts->costintegralfwd) { /* Save the info for the later use in cost integral evaluation */ in TSStep_RK()
1152 if (quadts && ts->costintegralfwd) { in TSSetUp_RK()
/petsc/src/ts/impls/implicit/theta/
H A Dtheta.c252 …if (ts->forward_solve || ts->costintegralfwd) { /* Save the info for the later use in cost integra… in TSStep_Theta()
731 if (quadts && ts->costintegralfwd) PetscCall(VecCopy(th->VecCostIntegral0, quadts->vec_sol)); in TSRollBack_Theta()
1031 if (!th->VecCostIntegral0 && quadts && ts->costintegralfwd) { /* back up cost integral */ in TSSetUp_Theta()
/petsc/src/ts/interface/
H A Dts.c4187 …if (ts->quadraturets && ts->costintegralfwd) { /* Must evaluate the cost integral before event is … in TSSolve()