This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Is it possible to change the connectivity of a mesh?

0 votes

I already have a post about fixing the ordering of the edges here. Another way of looking at this might be, how can I impose the connectivity of the mesh. I know that edges are not computed unless I call init() on the mesh, so is there a way to supply the vertex connections forming the edges in place of a call to init()?

asked Jun 17, 2016 by brk888 FEniCS Novice (990 points)

1 Answer

0 votes

You can do in c++, but probably not in python. Look in MeshConnectivity.h and MeshTopology.h

answered Jun 18, 2016 by chris_richardson FEniCS Expert (31,740 points)
...