next up previous contents
Next: Global Function GeomviewEnd() Up: Functions Previous: Global Function GeomviewBegin()   Contents


Global Function GeomviewDisplayTriangulation()

Pipe the current triangulation to Geomview for display. Much of this is based on Ken Brakke's Surface Evolver.

int GeomviewDisplayTriangulation ( MPI_Comm comm, PetscScalar* minmax, char* name )


\begin{cxrefarglist}
\cxrefargitem{int GeomviewDisplayTriangulation} Returns 0 o...
... name} Name to give the Geomview OOGL object which we create.
\end{cxrefarglist}

First, this creates global and local vectors for all of the triangle vertices.

It then gathers (``scatters'') all vertex data to processor zero,

and puts them in an array.

Finally, it sends everything to Geomview,

and cleans up the mess, resetting the number of triangles to zero.



root 2002-06-18