Searched refs:costintegralfwd (Results 1 – 5 of 5) sorted by relevance
319 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()
207 PetscBool costintegralfwd; /* cost integral is evaluated in the forward run if true */ member
661 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()
252 …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()
4187 …if (ts->quadraturets && ts->costintegralfwd) { /* Must evaluate the cost integral before event is … in TSSolve()