Lines Matching refs:stepnum
59 PetscInt stepnum; /* Column number of solution matrix */ member
82 idx = 3 * user->stepnum; in SaveSolution()
89 user->stepnum++; in SaveSolution()
185 PetscInt stepnum; in IFunction() local
188 PetscCall(TSGetStepNumber(ts, &stepnum)); in IFunction()
195 f[0] = user->Tw * udot[0] - wd[stepnum] + u[0]; in IFunction()
253 user.stepnum = 0; in main()
276 idx = 3 * user.stepnum; in main()
286 user.stepnum++; in main()
301 PetscCall(MatCreateSeqDense(PETSC_COMM_SELF, 3, user.stepnum, NULL, &B)); in main()
304 PetscCall(PetscArraycpy(amat, rmat, user.stepnum * 3)); in main()