Skip to content

Getting element/cell ID #1073

Answered by JordiManyer
MichaelLoibl asked this question in Q&A
Discussion options

You must be logged in to vote

All information on the subcell-to-cell map is in the SubCellData structure. In particular, you are asking for the cell_to_bgcell array. From a SubCellTriangulation (i.e your Ω), you can access it through Ω.subcells.cell_to_bgcell. It will also be part of your FaceToFaceGlue when you call get_glue(Ω,Dc) with Dc your cell dimension. In case of doubt, just go through the code in GridapEmbedded/Interfaces/SubCellTriangulations.jl.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MichaelLoibl
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MichaelLoibl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants