Lines Matching refs:stepi

140 static PetscErrorCode testNone(TS ts, Vec X, PetscInt stepi, PetscReal time, PetscBool islast, Land…  in testNone()  argument
146 static PetscErrorCode testSpitzer(TS ts, Vec X, PetscInt stepi, PetscReal time, PetscBool islast, L… in testSpitzer() argument
225 if (stepi > 10 && !rectx->use_spitzer_eta && (old_ratio - ratio < 1.e-6)) { in testSpitzer()
231 if (rectx->plotting || stepi == 0 || reason || rectx->pulse_start == time + 0.98 * dt) { in testSpitzer()
232 …% Te_kev= %10.3e Z_eff=%g E/J to eta ratio= %g (diff=%g) %s %s spit_eta=%g\n", stepi, (double)time, in testSpitzer()
268 static PetscErrorCode testStable(TS ts, Vec X, PetscInt stepi, PetscReal time, PetscBool islast, La… in testStable() argument
303 … time=%10.3e n-%d norm electrons/max=%20.13e ions/max=%20.13e\n", "----", stepi, (double)time, (in… in testStable()
410 static PetscErrorCode Monitor(TS ts, PetscInt stepi, PetscReal time, Vec X, void *actx) in Monitor() argument
424 if (stepi > rectx->plotStep && rectx->plotting) { in Monitor()
430 if ((reason || stepi == 0 || rectx->plotIdx % rectx->print_period == 0) && ctx->verbose > 1) { in Monitor()
432 PetscCall(DMPlexLandauPrintNorms(X, stepi)); in Monitor()
437 PetscCall(rectx->test(ts, X, stepi, time, reason ? PETSC_TRUE : PETSC_FALSE, ctx, rectx)); in Monitor()
448 rectx->plotStep = stepi; in Monitor()
450 …_WORLD, " ERROR rectx->plotting=%s step %" PetscInt_FMT "\n", PetscBools[rectx->plotting], stepi)); in Monitor()
452 PetscCall(rectx->test(ts, X, stepi, time, reason ? PETSC_TRUE : PETSC_FALSE, ctx, rectx)); in Monitor()
486 PetscInt stepi; in PreStep() local
497 PetscCall(TSGetStepNumber(ts, &stepi)); in PreStep()
499 PetscCall(rectx->E(X, NULL, stepi, time, ctx, &ctx->Ez)); in PreStep()