On 07/26/2017 09:18 AM, sml.imf...@gmail.com wrote:
I am trying to read in a triangulation from a vtk file (generated by the
dealii library). It works, but it seems like no information about neighboring
cells is generated: iterating through the cells and calling
cell->neighbor_index(face) always gives -1, indicating that the face is at the
boundary (which it is certainly not in all cases). Do I need to generate this
manually? Or adjust the vtk file? Or is the vtk format no suited for this?
It is, in general. I think the question is what's in the VTK file. How did you
generate it?
(If you generated it by writing it from deal.II's DataOut class, then the
resulting mesh will have the property you note because we duplicate each
vertex of the mesh as many times as there are adjacent cells.)
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.