From: Roy S. <roy...@ic...> - 2008-12-02 23:55:11
|
On Tue, 2 Dec 2008, Roy Stogner wrote: > Or better yet - instead of creating a Parmetis or Metis partitioner > deep in mesh_base.C, let's leave it up to the Mesh constructor to > create a partitioner, then give the user the ability to destruct the > default and replace it with their own (including "Null") Partitioner > subclass. > > Any thoughts? One more thought of my own after examining the code more thoroughly: if we do this we'll have to clean up all those data structures by hand in the Parmetis partitioner class, since it'll no longer be cleaned up by the destructor after every partition(). --- Roy |