On Wed, Jun 28, 2017 at 9:55 AM, Harshad Sahasrabudhe <[email protected]>
wrote:

> 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?
>

This question doesn't really make sense, you are passing in "new_mesh" to
create_submesh, so you control the type that it is.

Also, the two types are ReplicatedMesh and DistributedMesh now, there is no
ParallelMesh any more.

-- 
John
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to