Home
last modified time | relevance | path

Searched refs:viewer (Results 1 – 8 of 8) 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 Dmat-ceed.c252 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()
281 …PetscCall(PetscViewerASCIIPrintf(viewer, "libCEED PB Diagonal Assembly: %s\n", ctx->is_ceed_pbd_va… in MatView_Ceed()
[all …]
H A Dcloptions.c149 …monitor_wall_force", "Viewer for force on each (no-slip) wall", NULL, &app_ctx->wall_forces.viewer, in ProcessCommandLineOptions()
/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/
H A Dnavierstokes.c331 PetscCall(PetscViewerDestroy(&app_ctx->wall_forces.viewer)); in main()
H A Dnavierstokes.h120 PetscViewer viewer; member
/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.