You should keep an eye not only on the compiler errors but also on the warnings.
The following lines are missing parentheses or should use !=
, the logical not is only applied to the left hand side of comparison
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/3.3.0/src/region_me...
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/3.3.0/src/region_me...
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/3.3.0/src/region_me...
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/3.3.0/src/region_me...
https://github.com/CFDEMproject/LIGGGHTS-PUBLIC/blob/3.3.0/src/region_me...
Daniel
PS: May I add that I'm not a fan of Yoda conditions https://en.wikipedia.org/wiki/Yoda_conditions ;-)
hunger | Wed, 12/02/2015 - 18:01
Hi all!
Hi all!
I tried to use the region mesh/tet command for particle generation. However, an error already occurs when LIGGGHTS is reading the VTK file:
Note: Skipping empty line in VTK Mesh file
Note: Skipping empty line in VTK Mesh file
Note: Skipping empty line in VTK Mesh file
Note: Skipping empty line in VTK Mesh file
ERROR on proc 1: unrecognized (../region_mesh_tet.cpp:591)
I have generated the VTK file using tetgen as explained in other threads in this forum. The command I used to create the region is:
region Vol mesh/tet file mesh/Volume.1.vtk scale 0.001 move 0. 0. 0. rotate 0. 0. 0. units box
I am running out of ideas how to fix the problem. Is it maybe connected with the problem mentioned above? I appreciate any recommendation!
Best regards
Harald
hunger | Wed, 12/02/2015 - 18:06
Sorry, I found this topic
Sorry, I found this topic with the search function, but I have just realized it is in the bugs forum. Since there is no possibility to edit or delete the post myself, please ignore it. I am going to post it again at the right place.
ckloss | Tue, 12/08/2015 - 18:39
Hi Daniel,
Hi Daniel,
thanks a lot - good catch! Will be fixed in the next release!
Best wishes
Christoph