Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmsh reader with Physical Entities #307

Open
smelchio opened this issue Apr 9, 2019 · 1 comment
Open

Gmsh reader with Physical Entities #307

smelchio opened this issue Apr 9, 2019 · 1 comment

Comments

@smelchio
Copy link
Contributor

smelchio commented Apr 9, 2019

Before the section $Nodes, a file from gmsh typically have a section such as

$PhysicalNames
2
3 1 "outer"
3 2 "inner"
$EndPhysicalNames

This is currently ignored by the gmsh reader. In
https://github.com/SNLComputation/omega_h/blob/master/src/Omega_h_gmsh.cpp#L268-L270
the physical tag is read but not stored. How would you suggest to do it? Could this information be stored in a csv like structure where a pair (a2ab, ab2b) would point from each physical entity a to all the tets b that are in it?

@ibaned
Copy link
Collaborator

ibaned commented Apr 9, 2019

I think we could use Omega_h::Mesh::class_sets to express this, and change classification to be based on physical Gmsh entities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants