Roy, I just commited an app (r4583) to update subdomain, sideset, and nodeset IDs on existing meshes. By the way, I think there is a small corner case you are missing in the app you committed yesterday. On line 151 of meshbcid.C you are using the "scalar" version of the boundary_id function. I don't believe that that will work correctly for all cases if an element side has more than one sideset (something we do take advantage of). I could make the fix to handle that multiple sideset case.
Cody On Jun 9, 2011, at 4:49 PM, Roy Stogner wrote: > > On Thu, 9 Jun 2011, Cody Permann wrote: > >> If you don't mind, could you get the ID updater tool committed or >> otherwise sent to us? I'd like to use it to do some testing with >> the patch before we commit something. > > I don't mind, but I also don't have it. Sorry I wasn't clear: > meshbcid just works on boundary condition IDs. A tool to alter > subdomain IDs would be just as short and not too different but I've > never needed to write it. > > I'll add meshbcid.C to src/apps anyway; hopefully having a template > for you to work from is better than nothing. > --- > Roy ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
