create/destroy name change proposal

Jason Kraftcheck kraftche at cae.wisc.edu
Fri May 7 12:22:51 CDT 2010


Devine, Karen D wrote:
> While we are changing names, let's clear up the confusion between "mesh
> instance" and "mesh."  These functions don't create/destroy a "mesh"; they
> create/destroy a "mesh instance" (i.e, a mesh database).  Many meshes can be
> stored in a mesh instance, but we expect that in most cases, only one mesh
> instance will be used.
> 
> How about
>   iMesh_newMesh --> iMesh_createMeshInstance
>   iMesh_dtor --> iMesh_destroyMeshInstance
> 
> Or, even better, following the example of iMesh_load and iMesh_save,
>   iMesh_newMesh -->iMesh_create
>   iMesh_dtor --> iMesh_destroy
> 
> Of course, I'd be happy to replace the word "instance" with "database"; any
> takers? :)
> 

It's both: an instance of a database.

How about iMesh_createInstance and iMesh_destroyInstance or
iMesh_newInstance and iMesh_delInstance?

- jason


More information about the tstt-interface mailing list