Home
last modified time | relevance | path

Searched full:viewer (Results 1 – 13 of 13) sorted by relevance

/libCEED/examples/fluids/src/
H A Dsetupts.c181 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 Dmisc.c96 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 Dcloptions.c143 …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 Dmat-ceed.c248 @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 Dturb_spanstats.c507 { // Setup stats viewer with prefix in TurbulenceStatisticsSetup()
/libCEED/examples/solids/src/
H A Dmisc.c114 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 Dstats_test.yaml41 viewer:
/libCEED/examples/fluids/
H A Dblasius.yaml48 # viewer: cgns:stats-%d.cgns
H A DREADME.md167 …- Viewer for the force on each no-slip wall, e.g., `ascii:force.csv:ascii_csv` to write a CSV file.
H A Dnavierstokes.h120 PetscViewer viewer; member
H A Dnavierstokes.c331 PetscCall(PetscViewerDestroy(&app_ctx->wall_forces.viewer)); in main()
/libCEED/rust/libceed/src/
H A Dvector.rs785 // Vector Viewer
836 // Vector Viewer Mutable
/libCEED/
H A DDoxyfile54 # 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.