Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busopt.c1231 PetscInt steps1, steps2, steps3; in FormFunctionGradient() local
1376 PetscCall(TSGetStepNumber(ts, &steps3)); in FormFunctionGradient()
1377 steps3 -= steps2; in FormFunctionGradient()
1378 steps3 -= steps1; in FormFunctionGradient()
1392 PetscCall(TSAdjointSetSteps(ts, steps3)); in FormFunctionGradient()