Lines Matching refs:step_no
195 PetscErrorCode WriteOutput(Honee honee, Vec Q, PetscInt step_no, PetscScalar time) { in WriteOutput() argument
209 …ile_path, sizeof file_path, "%s/ns-%03" PetscInt_FMT ".vtu", honee->app_ctx->output_dir, step_no)); in WriteOutput()
228 step_no)); in WriteOutput()
241 …h, sizeof file_path, "%s/ns-solution-%" PetscInt_FMT ".bin", honee->app_ctx->output_dir, step_no)); in WriteOutput()
248 PetscCall(HoneeWriteBinaryVec(viewer, Q, time, step_no)); in WriteOutput()
254 PetscErrorCode TSMonitor_WallForce(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_WallForce() argument
281 …ViewerASCIIPrintf(viewer, "%" PetscInt_FMT ",%g,%" PetscInt_FMT ",%g,%g,%g\n", step_no, time, wall, in TSMonitor_WallForce()
295 PetscErrorCode TSMonitor_NS(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_NS() argument
300 …if (honee->app_ctx->checkpoint_interval <= 0 || step_no % honee->app_ctx->checkpoint_interval != 0… in TSMonitor_NS()
301 (honee->app_ctx->cont_steps == step_no && step_no != 0)) { in TSMonitor_NS()
305 PetscCall(WriteOutput(honee, Q, step_no, time)); in TSMonitor_NS()
540 PetscInt step_no; in TSSolve_NS() local
544 PetscCall(TSGetStepNumber(*ts, &step_no)); in TSSolve_NS()
546 PetscCall(WriteOutput(honee, Q, step_no, final_time)); in TSSolve_NS()