[deal.II] Re: triangulation.add_periodicity takes an enormous amount of time

2019-09-03 Thread Andreas Rupp
Dear Daniel, Thank you very much for your reply! You are absolutely right. I used the Debug mode where this issue occurs. In Release mode, the problem is gone. Best, Andreas -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com

[deal.II] triangulation.add_periodicity takes an enormous amount of time

2019-08-27 Thread Andreas Rupp
Dear all, I am trying to read from a mesh file and impose periodic boundary condition. This works out very well for small geometries in three spatial dimensions. However, if the read meshes tend to have more elements, the amount of time needed to create the mesh rises drastically. The time is

Re: [deal.II] Reading mesh from vtk file

2019-08-05 Thread Andreas Rupp
Dear Luca, Thank you very much for your quick reply. However, I have to admit that I do not fully understand it. The vtk is created using GridOut grid_writer; std::ofstream output_file("./DealOutput.vtk"); grid_writer.write_vtk(triangulationSelf, output_file); Thus, I assume that Gr

[deal.II] Reading mesh from vtk file

2019-08-05 Thread Andreas Rupp
Dear all, I am trying to read a grid from a vtk file created by Paraview. Unfortunately, this does not work. Moreover, reading a vtk file that has been created using deal.ii also does not work for me. It seems to me that deal.ii reads the file but does not connect the faces to form a mesh. This