Proposal for telling an implementation what adjacency info an app/service needs

Jason Kraftcheck kraftche at cae.wisc.edu
Fri Nov 13 13:17:36 CST 2009


Tim Tautges wrote:
> Hmm, I'm not sure I like this.  I thought setAdjTable was supposed to be
> used to request which entities an application or service needed.  I've
> coded it into MOAB's iMesh implementation that way, IIRC.  Looking at
> the current comments to getAdjTable, we should put something there
> describing what the values mean then.  I would vote for setAdjTable
> being the function used to request intermediate-dimension entities.
> 

>From iMesh.h:

     * Get the adjacency table for this implementation.  This table
     * is a 4x4 array, with indices 0-based, where A(i,j) (i=row, j=column)
     * represents the relative cost of retrieving adjacencies between
     * entities of dimension i to entities of dimension j

It clearly says the "cost of retrieving", not "will exist" or some such thing.

- jason




More information about the tstt-interface mailing list