stellarmesh / stellarmesh

Create DAGMC geometry from CAD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should GEOM_DIMENSION tag be of type DENSE?

akoen opened this issue · comments

Cubit plugin uses SPARSE, cad-to-dagmc and cad-to-openmc use DENSE.

I think SPARSE is the right choice here. Only the entity sets containing vertices get tagged with geom_dimension and they are definitely a minority of the entities in the model, esp. with dense faceting. A DENSE tag will reserve memory to tag every entity and be more efficient about access to that memory. A SPARSE tag will only reserve as much memory as needed with small (negligible?) lookup penalty.

Thanks! Closing