I found a minor bug in create_atoms.cpp when using "create_atoms" command with style "random".
The syntax of args should be "N seed region-ID" while the source file misleads N as seed (Line 129-130).
The corrected code of lines 129-130 is:
seed_char = new char [strlen(arg[3])+1];
strcpy(seed_char, arg[3]);
modified cpp file is attached.
Attachment | Size |
---|---|
Corrected source code | 5.62 KB |
arnom | Thu, 07/19/2018 - 09:19
Thank you for reporting the
Thank you for reporting the bug. It has already been fixed on our side and will be released with LIGGGHTS 4.0