should not be part of the repo
This commit is contained in:
parent
bb6f54963a
commit
8ee23b37b2
|
@ -5,8 +5,6 @@ import sys
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
|
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
import damask
|
import damask
|
||||||
|
|
||||||
|
|
||||||
|
|
211
test.log
211
test.log
|
@ -1,211 +0,0 @@
|
||||||
2019-05-27 22:44:00,700 - INFO:
|
|
||||||
++++++++++++++++++++++++++++++++++++++++
|
|
||||||
----------------------------------------
|
|
||||||
| Check geom-modifying scripts
|
|
||||||
----------------------------------------
|
|
||||||
2019-05-27 22:44:00,707 - INFO:
|
|
||||||
geom_addPrimitive -c 0.3 0.5 0.2 -a 1.0 0.8 0.9 0.4 -d 0.10 0.13 0.08 geom_addPrimitive.geom
|
|
||||||
2019-05-27 22:44:00,899 - INFO:
|
|
||||||
[1mgeom_addPrimitive[0m: geom_addPrimitive.geom
|
|
||||||
|
|
||||||
grid a b c: 32 x 35 x 12
|
|
||||||
size x y z: 0.914285714286 x 1.0 x 0.342857142857
|
|
||||||
origin x y z: 0.0 x 1.0 x 2.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 20
|
|
||||||
max microstructure: 26
|
|
||||||
|
|
||||||
2019-05-27 22:44:00,899 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:00,899 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_addPrimitive_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_addPrimitive.geom
|
|
||||||
2019-05-27 22:44:00,920 - INFO:
|
|
||||||
geom_canvas -g 40 35 20 -f 90 geom_canvas.geom
|
|
||||||
2019-05-27 22:44:01,103 - INFO:
|
|
||||||
[1mgeom_canvas[0m: geom_canvas.geom
|
|
||||||
|
|
||||||
grid a b c: 32 x 35 x 12
|
|
||||||
size x y z: 0.914285714286 x 1.0 x 0.342857142857
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 20
|
|
||||||
max microstructures: 20
|
|
||||||
|
|
||||||
|
|
||||||
2019-05-27 22:44:01,103 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:01,104 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_canvas_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_canvas.geom
|
|
||||||
2019-05-27 22:44:01,135 - INFO:
|
|
||||||
geom_clean -s 2 geom_clean.geom
|
|
||||||
2019-05-27 22:44:03,219 - INFO:
|
|
||||||
[1mgeom_clean[0m: geom_clean.geom
|
|
||||||
|
|
||||||
grid a b c: 53 x 52 x 52
|
|
||||||
size x y z: 1.0 x 0.981132075472 x 0.981132075472
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 23
|
|
||||||
max microstructure: 23
|
|
||||||
|
|
||||||
2019-05-27 22:44:03,219 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:03,219 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_clean_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_clean.geom
|
|
||||||
2019-05-27 22:44:03,378 - INFO:
|
|
||||||
geom_grainGrowth -N2 -i 4 -d 2 geom_grainGrowth.geom
|
|
||||||
2019-05-27 22:44:04,065 - INFO:
|
|
||||||
[1mgeom_grainGrowth[0m: geom_grainGrowth.geom
|
|
||||||
|
|
||||||
grid a b c: 40 x 40 x 40
|
|
||||||
size x y z: 1.0 x 1.0 x 1.0
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 15
|
|
||||||
max microstructures: 15
|
|
||||||
|
|
||||||
grid a b c: 40 x 40 x 40
|
|
||||||
size x y z: 1.0 x 1.0 x 1.0
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 15
|
|
||||||
max microstructure: 15
|
|
||||||
|
|
||||||
2019-05-27 22:44:04,065 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:04,065 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_grainGrowth_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_grainGrowth.geom
|
|
||||||
2019-05-27 22:44:04,131 - INFO:
|
|
||||||
geom_mirror -d x,y,z --double geom_mirror.geom
|
|
||||||
2019-05-27 22:44:04,330 - INFO:
|
|
||||||
[1mgeom_mirror[0m: geom_mirror.geom
|
|
||||||
|
|
||||||
[2mgrid a b c: 32 x 35 x 12[0m
|
|
||||||
grid a b c: 64 x 70 x 24
|
|
||||||
[2msize x y z: 0.914285714286 x 1.0 x 0.342857142857[0m
|
|
||||||
size x y z: 2.0 x 2.0 x 2.0
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 20
|
|
||||||
max microstructure: 20
|
|
||||||
|
|
||||||
2019-05-27 22:44:04,331 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:04,331 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_mirror_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_mirror.geom
|
|
||||||
2019-05-27 22:44:04,447 - INFO:
|
|
||||||
geom_renumber geom_renumber.geom
|
|
||||||
2019-05-27 22:44:04,688 - INFO:
|
|
||||||
[1mgeom_renumber[0m: geom_renumber.geom
|
|
||||||
|
|
||||||
grid a b c: 53 x 52 x 52
|
|
||||||
size x y z: 1.0 x 0.981132075472 x 0.981132075472
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 23
|
|
||||||
[2mmax microstructure: 42[0m
|
|
||||||
max microstructure: 23
|
|
||||||
|
|
||||||
2019-05-27 22:44:04,688 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:04,688 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_renumber_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_renumber.geom
|
|
||||||
2019-05-27 22:44:04,864 - INFO:
|
|
||||||
geom_rescale -g 20 22 20 -s 0.1 0.2 0.3 geom_rescale.geom
|
|
||||||
2019-05-27 22:44:05,109 - INFO:
|
|
||||||
[1mgeom_rescale[0m: geom_rescale.geom
|
|
||||||
|
|
||||||
[2mgrid a b c: 32 x 35 x 12[0m
|
|
||||||
grid a b c: 20 x 22 x 20
|
|
||||||
[2msize x y z: 0.914285714286 x 1.0 x 0.342857142857[0m
|
|
||||||
size x y z: 0.1 x 0.2 x 0.3
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 20
|
|
||||||
max microstructure: 20
|
|
||||||
|
|
||||||
2019-05-27 22:44:05,109 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:05,109 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_rescale_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_rescale.geom
|
|
||||||
2019-05-27 22:44:05,122 - INFO:
|
|
||||||
geom_rotate -d -e 45 45 0 geom_rotate.geom
|
|
||||||
2019-05-27 22:44:05,529 - INFO:
|
|
||||||
[1mgeom_rotate[0m: geom_rotate.geom
|
|
||||||
|
|
||||||
[2mgrid a b c: 53 x 52 x 52[0m
|
|
||||||
grid a b c: 90 x 90 x 74
|
|
||||||
[2msize x y z: 1.0 x 0.981132075472 x 0.981132075472[0m
|
|
||||||
size x y z: 1.6981132075471699 x 1.7307692307692308 x 1.4230769230769231
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
[2m# microstructures: 23[0m
|
|
||||||
# microstructures: 24
|
|
||||||
[2mmax microstructure: 23[0m
|
|
||||||
max microstructure: 24
|
|
||||||
|
|
||||||
2019-05-27 22:44:05,530 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:05,530 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_rotate_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_rotate.geom
|
|
||||||
2019-05-27 22:44:06,282 - INFO:
|
|
||||||
geom_translate -o 0 1 2 -m 6 geom_translate.geom
|
|
||||||
2019-05-27 22:44:06,469 - INFO:
|
|
||||||
[1mgeom_translate[0m: geom_translate.geom
|
|
||||||
|
|
||||||
grid a b c: 32 x 35 x 12
|
|
||||||
size x y z: 0.914285714286 x 1.0 x 0.342857142857
|
|
||||||
[2morigin x y z: 0.0 x 0.0 x 0.0[0m
|
|
||||||
origin x y z: 0.0 x 1.0 x 2.0
|
|
||||||
homogenization: 1
|
|
||||||
# microstructures: 20
|
|
||||||
[2mmax microstructure: 20[0m
|
|
||||||
max microstructure: 26
|
|
||||||
|
|
||||||
2019-05-27 22:44:06,469 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:06,469 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_translate_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_translate.geom
|
|
||||||
2019-05-27 22:44:06,486 - INFO:
|
|
||||||
geom_vicinityOffset -v 2 geom_vicinityOffset.geom
|
|
||||||
2019-05-27 22:44:07,005 - INFO:
|
|
||||||
[1mgeom_vicinityOffset[0m: geom_vicinityOffset.geom
|
|
||||||
|
|
||||||
grid a b c: 40 x 40 x 40
|
|
||||||
size x y z: 1.0 x 1.0 x 1.0
|
|
||||||
origin x y z: 0.0 x 0.0 x 0.0
|
|
||||||
homogenization: 1
|
|
||||||
[2m# microstructures: 5[0m
|
|
||||||
# microstructures: 10
|
|
||||||
[2mmax microstructure: 5[0m
|
|
||||||
max microstructure: 10
|
|
||||||
|
|
||||||
2019-05-27 22:44:07,005 - DEBUG:
|
|
||||||
|
|
||||||
2019-05-27 22:44:07,005 - INFO:
|
|
||||||
comparing
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/reference/geom_vicinityOffset_reference.geom
|
|
||||||
/Users/philip/Documents/DAMASK/PRIVATE/testing/PreProcessing_GeomModification/current/geom_vicinityOffset.geom
|
|
||||||
2019-05-27 22:44:07,076 - CRITICAL:
|
|
||||||
****************************************
|
|
||||||
All 10 tests passed.
|
|
||||||
****************************************
|
|
||||||
|
|
Loading…
Reference in New Issue