Closed jfikar closed 2 years ago
Hello Jan,
The problem came from the fact that lines were stored in a string of 128 characters, which I assumed would be enough for most practical purposes. You just proved me wrong :-)
I just increased the line size to 4096 (hopefully now it should be enough!), and pushed the fix on GitHub. Can you please try it and tell me if it works?
As a side note, one of the nodes in your file is out of the box (the one with negative coordinate). Atomsk will now warn about that and wrap this position so that it is inside the box.
Best Pierre
Yes, it works. Thank you very much.
The position of nodes are also slightly disturbed by a small random number. I saw couple of the warnings already, but I'm not worried about it as the result looks as expected.
Hi Pierre,
I'm trying to construct a polycrystal with random rotation angles X, Y, Z, which are generated by a bash script using
bc -l
. The file looks for example like this:Recent atomsk gives an error:
Removing three zeroes at the end of angle X or Y does cure the problem. This is strange, probably something related to the optional degree sign? My workaround for now is to use for angle Y scale=10 (up to 17) to limit the number of digits printed by
bc -l
and with this atomsk works.