> > You might not need to define a new type of iterator at all. For example, > if you could first mark the elements in your region of interest with a > specific subdomain id, then you could just use the existing > active_subdomain_elements_begin/end iterators in the call to > create_submesh(). > > The most recent mesh iterator was in added in d7a08b2f, so you should be > able to use that commit for inspiration... but I would say that it's not > super straightforward to do.
Cool! Thanks for the info. Is the new mesh redistributed if the old mesh is a ParallelMesh? Thanks, Harshad ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users