[petsc-users] GMSH entities

Adrian Croucher a.croucher at auckland.ac.nz
Mon May 13 21:04:32 CDT 2024


On 14/05/24 1:44 pm, Matthew Knepley wrote:

> I wish GMsh was clearer about what is optional: 
> https://urldefense.us/v3/__https://gmsh.info/doc/texinfo/gmsh.html*MSH-file-format__;Iw!!G_uCfscf7eWS!aCypJMAzwWHAJLXGNJmSthDjbHcU-8_MdsaXZ4d1r1RKyL0bqIv5ZuLmQtV6ve4XcTjapf38-bsdDOLEDAlhWoaaGpmjDCYs$  
> <https://urldefense.us/v3/__https://gmsh.info/doc/texinfo/gmsh.html*MSH-file-format__;Iw!!G_uCfscf7eWS!aCypJMAzwWHAJLXGNJmSthDjbHcU-8_MdsaXZ4d1r1RKyL0bqIv5ZuLmQtV6ve4XcTjapf38-bsdDOLEDAlhWoaaGpmjDCYs$ > 
>
> They do talk about it, but not exhaustively. GMsh always writes and 
> $Entities block from what I can tell.
> I can make it optional, it just might take until after the PETSc Meeting.

Looks like $Entities are optional:

https://urldefense.us/v3/__https://gitlab.onelab.info/gmsh/gmsh/-/commit/b5feba2af57181ffa946d3f0c494b014603c6efa__;!!G_uCfscf7eWS!aCypJMAzwWHAJLXGNJmSthDjbHcU-8_MdsaXZ4d1r1RKyL0bqIv5ZuLmQtV6ve4XcTjapf38-bsdDOLEDAlhWoaaGjNKbSSU$ 

I can also load a GMSH 4.1 file without $Entities into GMSH itself and 
it doesn't complain, suggesting that they are indeed optional.

If the $Entities aren't strictly needed for anything in DMPlex (which 
I'm guessing they aren't, as the GMSH file format 2.2 doesn't even have 
them) then it would be useful not to require them.

- Adrian

-- 
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
Waipapa Taumata Rau / University of Auckland, New Zealand
email:a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240514/b01bca1e/attachment-0001.html>


More information about the petsc-users mailing list