PetscDrawCollectiveEnd#
Ends a set of draw operations begun with PetscDrawCollectiveBegin() Collective
Synopsis#
#include <petscdraw.h>
PetscErrorCode PetscDrawCollectiveEnd(PetscDraw draw)
Collective
Input Parameter#
draw - the draw object
Notes#
This is a macro that handles its own error checking, it does not return an error code.
X windows draw operations that are enclosed by these routines handle correctly resizing or closing of the window without crashing the program.
Developer Note#
This only applies to X windows and so should have a more specific name such as PetscDrawXCollectiveEnd()
This macro cannot use MPIU_Allreduce(), which in debug builds requires that all MPI processes call it from the
same source line. A process that catches an X I/O error runs the copy of this macro inside
PetscDrawCollectiveBegin(), which is on a different line.
See Also#
Level#
advanced
Location#
Examples#
src/sys/classes/draw/tests/ex6.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages