| /libCEED/examples/fluids/src/ |
| H A D | setupts.c | 181 PetscViewer viewer; in WriteOutput() local 194 …etscCall(PetscViewerVTKOpen(PetscObjectComm((PetscObject)Q), file_path, FILE_MODE_WRITE, &viewer)); in WriteOutput() 195 PetscCall(VecView(Q_loc, viewer)); in WriteOutput() 196 PetscCall(PetscViewerDestroy(&viewer)); in WriteOutput() 228 PetscCall(PetscViewerBinaryOpen(user->comm, file_path, FILE_MODE_WRITE, &viewer)); in WriteOutput() 231 PetscCall(PetscViewerBinaryWrite(viewer, &token, 1, PETSC_INT32)); in WriteOutput() 232 PetscCall(PetscViewerBinaryWrite(viewer, &step_no, 1, PETSC_INT)); in WriteOutput() 234 PetscCall(PetscViewerBinaryWrite(viewer, &time, 1, PETSC_REAL)); in WriteOutput() 235 PetscCall(VecView(Q, viewer)); in WriteOutput() 236 PetscCall(PetscViewerDestroy(&viewer)); in WriteOutput() [all …]
|
| H A D | misc.c | 96 static PetscErrorCode BinaryReadIntoInt(PetscViewer viewer, PetscInt *out, PetscDataType file_type)… in BinaryReadIntoInt() argument 101 PetscCall(PetscViewerBinaryRead(viewer, &val, 1, NULL, PETSC_INT32)); in BinaryReadIntoInt() 105 PetscCall(PetscViewerBinaryRead(viewer, &val, 1, NULL, PETSC_INT64)); in BinaryReadIntoInt() 108 PetscCall(PetscViewerBinaryRead(viewer, out, 1, NULL, PETSC_INT)); in BinaryReadIntoInt() 114 PetscErrorCode LoadFluidsBinaryVec(MPI_Comm comm, PetscViewer viewer, Vec Q, PetscReal *time, Petsc… in LoadFluidsBinaryVec() argument 121 PetscCall(PetscViewerBinaryRead(viewer, &token, 1, NULL, PETSC_INT32)); in LoadFluidsBinaryVec() 126 PetscCall(BinaryReadIntoInt(viewer, &file_step_number, file_type)); in LoadFluidsBinaryVec() 127 PetscCall(PetscViewerBinaryRead(viewer, &file_time, 1, NULL, PETSC_REAL)); in LoadFluidsBinaryVec() 132 PetscCall(BinaryReadIntoInt(viewer, &length, file_type)); in LoadFluidsBinaryVec() 135 PetscCall(PetscViewerBinarySetSkipHeader(viewer, PETSC_TRUE)); in LoadFluidsBinaryVec() [all …]
|
| H A D | cloptions.c | 143 …rbulence_spanstats_viewer_interval", "Number of timesteps between statistics viewer writing", NULL, in ProcessCommandLineOptions() 146 …PetscCall(PetscOptionsViewer("-ts_monitor_turbulence_spanstats_viewer", "Viewer for the statistics… in ProcessCommandLineOptions() 149 …ionsViewer("-ts_monitor_wall_force", "Viewer for force on each (no-slip) wall", NULL, &app_ctx->wa… in ProcessCommandLineOptions()
|
| H A D | mat-ceed.c | 248 @param[in] viewer The visualization context 252 static PetscErrorCode MatView_Ceed(Mat mat_ceed, PetscViewer viewer) { in MatView_Ceed() argument 259 PetscValidHeaderSpecific(viewer, PETSC_VIEWER_CLASSID, 2); in MatView_Ceed() 261 …if (!viewer) PetscCall(PetscViewerASCIIGetStdout(PetscObjectComm((PetscObject)mat_ceed), &viewer)); in MatView_Ceed() 263 PetscCall(PetscViewerGetFormat(viewer, &format)); in MatView_Ceed() 270 PetscCall(PetscObjectTypeCompare((PetscObject)viewer, PETSCVIEWERASCII, &is_ascii)); in MatView_Ceed() 276 PetscCall(PetscViewerASCIIPrintf(viewer, "MatCEED:\n")); in MatView_Ceed() 277 PetscCall(PetscViewerASCIIPushTab(viewer)); // MatCEED in MatView_Ceed() 278 PetscCall(PetscViewerASCIIPrintf(viewer, "Default COO MatType: %s\n", ctx->coo_mat_type)); in MatView_Ceed() 280 …PetscCall(PetscViewerASCIIPrintf(viewer, "CeedOperator Apply %s:\n", is_detailed ? rank_string : "… in MatView_Ceed() [all …]
|
| H A D | turb_spanstats.c | 507 { // Setup stats viewer with prefix in TurbulenceStatisticsSetup()
|
| /libCEED/examples/solids/src/ |
| H A D | misc.c | 114 PetscViewer viewer; in ViewSolution() local 134 PetscCall(PetscViewerVTKOpen(comm, output_filename, FILE_MODE_WRITE, &viewer)); in ViewSolution() 135 PetscCall(VecView(U, viewer)); in ViewSolution() 136 PetscCall(PetscViewerDestroy(&viewer)); in ViewSolution() 150 PetscViewer viewer; in ViewDiagnosticQuantities() local 216 PetscCall(PetscViewerVTKOpen(comm, output_filename, FILE_MODE_WRITE, &viewer)); in ViewDiagnosticQuantities() 217 PetscCall(VecView(Diagnostic, viewer)); in ViewDiagnosticQuantities() 218 PetscCall(PetscViewerDestroy(&viewer)); in ViewDiagnosticQuantities()
|
| /libCEED/examples/fluids/tests-output/ |
| H A D | stats_test.yaml | 41 viewer:
|
| /libCEED/examples/fluids/ |
| H A D | blasius.yaml | 48 # viewer: cgns:stats-%d.cgns
|
| H A D | README.md | 167 …- Viewer for the force on each no-slip wall, e.g., `ascii:force.csv:ascii_csv` to write a CSV file.
|
| H A D | navierstokes.h | 120 PetscViewer viewer; member
|
| H A D | navierstokes.c | 331 PetscCall(PetscViewerDestroy(&app_ctx->wall_forces.viewer)); in main()
|
| /libCEED/rust/libceed/src/ |
| H A D | vector.rs | 785 // Vector Viewer 836 // Vector Viewer Mutable
|
| /libCEED/ |
| H A D | Doxyfile | 54 # for a project that appears at the top of each page and should give viewer a 1481 # words in the documentation. The HTML workshop also contains a viewer for 2004 # makes the output suitable for online browsing using a PDF viewer.
|