On Mon, 30 Mar 2009, Derek Gaston wrote: > Is there anything inherently wrong with creating a System and not > adding any variables to it? I currently do this in my application and > it works fine in optimized mode... but in debug it trips an assert on > lin 654 of dof_map.C.
That particular assert can be removed. I'm not sure I'd call it an "old assert", so much as "an assert that was put in because nobody imagined a user wanting a system with no variables". I don't see any place where we depend on n_variables() > 0 in the code itself, though. And if there are such places I've missed, I'm sure your code will trip them and point them out for us soon enough. ;-) --- Roy ------------------------------------------------------------------------------ _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
