Home
last modified time | relevance | path

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

/libCEED/examples/fluids/src/
H A Dsetupts.c178 PetscErrorCode WriteOutput(User user, Vec Q, PetscInt step_no, PetscScalar time) { in WriteOutput() argument
192 …file_path, sizeof file_path, "%s/ns-%03" PetscInt_FMT ".vtu", user->app_ctx->output_dir, step_no)); in WriteOutput()
211 step_no)); in WriteOutput()
224 …th, sizeof file_path, "%s/ns-solution-%" PetscInt_FMT ".bin", user->app_ctx->output_dir, step_no)); in WriteOutput()
232 PetscCall(PetscViewerBinaryWrite(viewer, &step_no, 1, PETSC_INT)); in WriteOutput()
241 PetscErrorCode TSMonitor_WallForce(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_WallForce() argument
268 …ViewerASCIIPrintf(viewer, "%" PetscInt_FMT ",%g,%" PetscInt_FMT ",%g,%g,%g\n", step_no, time, wall, in TSMonitor_WallForce()
282 PetscErrorCode TSMonitor_NS(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_NS() argument
287 …if (user->app_ctx->checkpoint_interval <= 0 || step_no % user->app_ctx->checkpoint_interval != 0 || in TSMonitor_NS()
288 (user->app_ctx->cont_steps == step_no && step_no != 0)) { in TSMonitor_NS()
[all …]
/libCEED/examples/fluids/
H A Dnavierstokes.h310 PetscErrorCode TSMonitor_NS(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx);