Thank you very much for your reply. As a user, if I define a physical group 
named "right" in Gmsh, I also would like to access it by using this name in 
DMPlex. It could be convenient and understandable for the user. I think it 
would be nice if you guys can add this translation table. Thanks a lot.

Best,

Jian

________________________________
From: Matthew Knepley <[email protected]>
Sent: 27 August 2019 12:47:43
To: Jian Zhang - 3ME
Cc: [email protected]
Subject: Re: [petsc-users] Questions about the physical groups

On Tue, Aug 27, 2019 at 6:22 AM Jian Zhang - 3ME via petsc-users 
<[email protected]<mailto:[email protected]>> wrote:

Hi all,

I have a mesh file where I defined a physical group named "volume" whose id is 
0.

For DMPlex, I know that I can use this id (0) to access this physical group. 
Here I would like to ask that is it possible to use the physical group name 
"volume" to achieve this in DMPlex. Thank you very much.

Do you mean the $PhysicalNames section in a GMsh file? No, right now we ignore 
those names. We could maintain a
translation table in the DM between the names and integers, but it seemed to 
specialized to GMsh. We are willing to
listen to arguments however.

 Thanks,

    Matt

Bests,

Jian


--
What most experimenters take for granted before they begin their experiments is 
infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>

Reply via email to