Domain_indices not correctly exported

41 views
Skip to first unread message

Martin Pollow

unread,
Jun 20, 2019, 6:53:46 AM6/20/19
to bempp
Dear group, dear devs,

I am using the method "bempp.api.grid_from_element_data" to create grids with material assined and then export them in the gmsh format. It seems that the domain_indices are being ignored when exporting the mesh as .msh file.

Please see the attached snippet of code for illustration. It shows that the "domain_indices" are not correct after exporting and re-importing the grid. Might there be a bug in the export routine or is that the expeced behavior? The domain_indices are meant to relate to the 'Physical groups' in GMSH, did I get that right?

Best regards,
Martin


test_domain_indices.py

Timo Betcke

unread,
Jul 2, 2019, 10:13:59 AM7/2/19
to bempp
Dear Martin,

thanks for making me aware of this. We won't fix in in Bempp 3.3 any more. But I will include the fix in the next version.
Best wishes

Timo

Martin Pollow

unread,
Jul 2, 2019, 5:28:58 PM7/2/19
to bempp
Thank you Timo!
Excited to hear that a new version is in the planning. Keep up the good work, bempp is awesome!

Best
Martin
Reply all
Reply to author
Forward
0 new messages