Monitoring Meshing Progress
Each meshing module allow a callback function to be installed which
is called periodically during the meshing process. The user may
call from within the monitor function,
query functions such as msh_SurfMeshGetInteger()
to
return progress parameters.
In addition the user may abort the meshing
process by setting an abort flag. In the SurfMesh module this
flag is set using msh_SurfMeshAbort()
.
The monitor function prototype for
the SurfMesh module appears below as an example.
The monitor callback function prototype is
void function (msh_SurfMesh *surfmesh,
Vobject *object)
The first argument is the SurfMesh object, surfmesh, the second is a user defined object, object.