neperfepx / neper

Polycrystal generation and meshing
http://neper.info
GNU General Public License v3.0
199 stars 53 forks source link

Bug #246

Closed dikshanshs closed 3 years ago

dikshanshs commented 3 years ago

Hi @rquey, Here is a bug Syntax used $neper -T -n 210 -morphooptiini "coo:file(casts.txt)" -domain "square(128,128)" -dim 2 -o casts coo file : casts.txt

image

rquey commented 3 years ago

Randomize the coordinates, and it will work:

$ gsl-randist 1 210 flat 0 0.001 > x
$ gsl-randist 2 210 flat 0 0.001 > y
$ paste x y casts.txt | awk '{print $1+$3,$2+$4}' > casts.txt2
$ neper -T -n 210 -morphooptiini "coo:file(casts2.txt)" -domain "square(128,128)" -dim 2 -o casts