22 Apr
2016
22 Apr
'16
10:36 a.m.
Matthew Knepley <[email protected]> writes:
I assume you would just stick this stuff in source files?
Yes, in the *one* source file that uses this special-purpose data structure. Though it doesn't look like plexinterpolate.c uses the linked list aspect of this data structure either, so this can be greatly simplified. Also note that your hash function is pretty weird and one would expect lots of collisions (comment stale too). I am in favor of moving the header to include/petsc/private/, but I would strip out all the PetscHash{IJ,KL,IJKL} stuff.