Thanks for the answers! I've been thinking about solving my question along
roughly the same lines.

вт, 15 окт. 2024 г. в 18:11, Praveen C <[email protected]>:

> I think you can get this with
>
> https://dealii.org/current/doxygen/deal.II/structCellData.html
>
>
> https://dealii.org/current/doxygen/deal.II/classCellAccessor.html#ae4769702cd7ab67a61b25778ea3021b2
>
> cell->material_id()
>
> This should give the physical tag you have set to each cell in your gmsh
> grid.
>
>
> https://dealii.org/current/doxygen/deal.II/classGridIn.html#a6a87000a17a31132729c23656ada559b
>
>
> best
> praveen
>
> On 15 Oct 2024, at 1:10 PM, Kirill Romanov <[email protected]>
> wrote:
>
> In Neper you can output the mesh in different formats (like .msh, .inp and
> others) and now I have a mesh in .msh format. My main question is, how can
> I use deal.ii to read a simplex mesh where each element belongs to a
> certain grain? I want to read the mesh as in the image, and assign
> different properties to elements in different grains.
>
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/wORX6I8Wmyc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/30B8D153-77C6-4EA9-B655-0B858F30F7CA%40gmail.com
> <https://groups.google.com/d/msgid/dealii/30B8D153-77C6-4EA9-B655-0B858F30F7CA%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CABY4SFnTw0ODK0MdmeZ8Wj-yJBmrP0eC0boJjt%3DE2imP0dP6mA%40mail.gmail.com.

Reply via email to