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