create/destroy name change proposal

Devine, Karen D kddevin at sandia.gov
Fri May 7 12:06:35 CDT 2010


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? :)

Karen





On 5/6/10 11:33 AM, "Tim Tautges" <tautges at mcs.anl.gov> wrote
> 
> Mark Miller wrote:
>> On Thu, 2010-05-06 at 08:51, Tim Tautges wrote:
>> 
>> iMesh_newMesh --> iMesh_createMesh
>> iMesh_dtor --> iMesh_destroyMesh
>> 
>> Yes, thats better than iMesh_new and iMesh_destroy. I agree.





More information about the tstt-interface mailing list