Searched refs:steps2 (Results 1 – 1 of 1) sorted by relevance
1231 PetscInt steps1, steps2, steps3; in FormFunctionGradient() local1346 PetscCall(TSGetStepNumber(ts, &steps2)); in FormFunctionGradient()1347 steps2 -= steps1; in FormFunctionGradient()1377 steps3 -= steps2; in FormFunctionGradient()1412 PetscCall(TSAdjointSetSteps(ts, steps2)); in FormFunctionGradient()