Home
last modified time | relevance | path

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

/libCEED/examples/fluids/src/ !
H A Dboundary_condition.c52 app_ctx->wall_forces.num_wall = bc_def->num_label_values; in BoundaryConditionSetUp()
53 PetscCall(PetscMalloc1(bc_def->num_label_values, &app_ctx->wall_forces.walls)); in BoundaryConditionSetUp()
54 …PetscCall(PetscArraycpy(app_ctx->wall_forces.walls, bc_def->label_values, bc_def->num_label_values… in BoundaryConditionSetUp()
H A Dsetupts.c244 PetscInt num_wall = user->app_ctx->wall_forces.num_wall, dim = 3; in TSMonitor_WallForce()
245 const PetscInt *walls = user->app_ctx->wall_forces.walls; in TSMonitor_WallForce()
246 PetscViewer viewer = user->app_ctx->wall_forces.viewer; in TSMonitor_WallForce()
247 PetscViewerFormat format = user->app_ctx->wall_forces.viewer_format; in TSMonitor_WallForce()
261 if (format == PETSC_VIEWER_ASCII_CSV && !user->app_ctx->wall_forces.header_written) { in TSMonitor_WallForce()
263 user->app_ctx->wall_forces.header_written = PETSC_TRUE; in TSMonitor_WallForce()
361 if (app_ctx->wall_forces.viewer) { in TSSolve_NS()
H A Dcloptions.c149 …monitor_wall_force", "Viewer for force on each (no-slip) wall", NULL, &app_ctx->wall_forces.viewer, in ProcessCommandLineOptions()
150 &app_ctx->wall_forces.viewer_format, NULL)); in ProcessCommandLineOptions()
/libCEED/examples/fluids/ !
H A Dnavierstokes.c330 PetscCall(PetscFree(app_ctx->wall_forces.walls)); in main()
331 PetscCall(PetscViewerDestroy(&app_ctx->wall_forces.viewer)); in main()
H A Dnavierstokes.h123 } wall_forces; member