On Wed, 17 Nov 2010, Cody Permann wrote:
> Yes, I am using the point_locator in the flagging stage. However, > the elements are refined and coarsened right after the flagging is > complete but if you are in the middle a refinement loop, you enter > the flagging stage again. This is exactly what's happening in > ex10.C. ex24.C, now; I plan to commit it to svn once we've figured out this segfault. > The mesh refinement loop is running iteratively but none of > the calls made in that loop would re-initialize the point locator > after the elements have been refined and/or coarsened. No? MeshBase::prepare_for_use() should reinitialize the locator, EquationSystems::reinit() should call prepare_for_use, and reinit is getting called from within the same loop as the mesh refinement. --- Roy ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel