Removing duplicate points from Purkinje mesh #2
Replies: 1 comment 3 replies
-
Hi @edorachlee, To identify the duplicate points that can appear in MonoAlg3D the procedure that I did was this one:
// Before returning test if there is an error in Purkinje mesh
int success = check_purkinje_mesh_for_errors(the_grid->purkinje->network);
write_purkinje_network_to_vtk(the_grid->purkinje->network);
Another detail that I noticed in your Purkinje networks in particular, is that if you increase the space discretization of the Purkinje mesh ('dx' parameter inside the [purkinje] section in the MonoAlg3D configuration file) you can reduce the number of duplicate points. I will try to fix this duplicate points in Shocker when I am more free after 09/12/24. Sorry for any incovenience that this might have caused. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Lucas,
When encountering duplicate point errors, what is the best way to fix them?
Currently I am trying to manually edit the .VTK file, but I am having trouble identifying the duplicate points.
For example, if we have the following message,
[purkinje] Duplicates are indexes: 2446 and 2318 --> (60000,46500,81550) x (60000,46500,81550) || 2446 has 2 edges || 2318 has 2 edges ||
I am having trouble finding
60000,46500,81550
in the .VTK file. Are these are cell centers instead of vertices?Beta Was this translation helpful? Give feedback.
All reactions