Martin Diehl
73df615ff3
numpy meshgrid can do this now
2019-05-30 09:45:30 +02:00
Philip Eisenlohr
1f56ac6a4a
streamlining and bugfixing of geom-class
2019-05-27 22:45:34 -06:00
Martin Diehl
59c6c5cfe4
not needed anymore
...
essentially, (gauss) is an Euler angle triplet
2019-05-27 10:49:50 +02:00
Martin Diehl
d9ab87cfde
crystallite will be removed soon, error handling is done by geom class
2019-05-27 08:35:24 +02:00
Martin Diehl
b5cec797c0
cleaned
2019-05-26 23:03:31 +02:00
Martin Diehl
c8dfba89e5
using class
...
still a very complex script
2019-05-26 22:49:05 +02:00
Philip Eisenlohr
9bdd4d1d68
added <!skip> line to stop config parser from trying to interpret rest of geom description---huge speedup!!
2018-12-20 17:22:29 -05:00
Martin Diehl
015e819d4c
python3 does not allow to compare tuple/list with int
2018-11-17 09:29:05 +01:00
Martin Diehl
558745b548
explicitly require python3
...
on older systems, python3 tpyically exists but python2 is the defaul
2018-11-17 08:12:12 +01:00
Martin Diehl
e9e3fef8d4
more python3 compatible scripts
2018-11-15 16:40:54 +01:00
Martin Diehl
784ae28dbb
now working with python 3
2018-07-20 00:39:50 +02:00
Philip Eisenlohr
12fed7a38f
added option to use seed coordinates that are not normalized to a unit cube
2017-08-16 16:24:45 -04:00
Philip Eisenlohr
3628deb30e
changed option name from "no-config" to more common "without-config"
2016-12-23 17:46:16 -05:00
Philip Eisenlohr
a2db7e9ba1
added option to suppress writing of material.config part in header
2016-12-06 21:36:25 -05:00
Martin Diehl
8a94f55a2e
python 3 compatibility
2016-10-25 06:44:12 +02:00
Martin Diehl
cd63a92733
using python 2.7 has shebang will also work on mac without symlink
...
unless someone uses the 6 year old python 2.6, this should be save
2016-07-18 19:35:35 +02:00
Martin Diehl
e8153ad196
corrected name
2016-07-15 15:48:53 +02:00
Martin Diehl
c792b73b4e
simplified
2016-07-15 14:52:48 +02:00
Martin Diehl
7d84b99710
bugfix: axis out of bounds for np.repeat, np.tile seems to be ok @Philip: pls check. autodoc friendly help
2016-07-15 10:34:17 +02:00
Philip Eisenlohr
9e8adf731b
fixed buggy a.all() call
...
removed squaring of Laguerre weights (no clue why we considered this a good idea in the first place)
2016-07-07 15:23:01 -04:00
Martin Diehl
61c93bdbf4
adjusted help message for automated documentation
2016-05-12 08:54:34 +02:00
Martin Diehl
a21e8cd863
usind explicitly python2 to run in environments with python 3 as default
2016-05-11 11:01:39 +02:00
Philip Eisenlohr
f1b5d40bac
now uses util.report_geometry. some additional modernizing on the fly.
2016-04-24 11:24:00 -05:00
Philip Eisenlohr
9e5a8d2391
modernized string formatting, updated help strings, using label_indexrange for data-slicing.
2016-04-24 10:09:28 -05:00
Philip Eisenlohr
b0496f20ca
grouped command line options.
...
removed functionality to add random second phase.
2016-04-08 17:47:02 -04:00
Philip Eisenlohr
4dfd59a9e2
output complete microstructure and texture info instead of limiting to grainIDs used in geometry
2016-03-07 22:15:40 -05:00
Martin Diehl
3ed3073eff
more...
2016-03-02 11:29:07 +01:00
Martin Diehl
7c9d344601
python files now report their version depending on VERSION file in $DAMASK_ROOT
2016-01-27 17:06:00 +00:00
Martin Diehl
24382ed827
unified options to enable automated parsing for documentation
2015-11-16 10:52:56 +00:00
Martin Diehl
f1482a2af4
fixed buggy behavior in case of non unit-sized geometry
2015-10-12 18:10:26 +00:00
Martin Diehl
f014cef043
improved performance for non-weighted Voronoi Tessellation
2015-10-06 18:03:06 +00:00
Martin Diehl
4ead24a134
more tests
2015-09-24 16:52:58 +00:00
Martin Diehl
f4c53e0be8
removed warnings by pyflakes, implemented new croak functionality
2015-09-24 15:34:27 +00:00
Martin Diehl
4e9b27b0ce
failure in last commit, using standard keyword eulerangles instead of eulers
2015-09-08 18:48:58 +00:00
Philip Eisenlohr
1976cf44c1
fixed os.path.splitext bug when using STDIN input
2015-08-12 21:56:37 +00:00
Philip Eisenlohr
9ee49b2c3b
adopted recent changes to API in ASCIItable.
...
removed Voronoi method from core module.
fixed buggy Laguerre tessellation (wrong seed scaling, wrong x,y,z order)
2015-08-12 20:55:53 +00:00
Philip Eisenlohr
57dfa6a87e
added fall-back to non-multithreading execution when using only single CPU.
2015-08-08 21:43:21 +00:00
Philip Eisenlohr
9729c03c00
removed obsolete code. added croak about number of cpus used.
2015-08-07 22:15:24 +00:00
Tias Maiti
4ed56a8ba6
removed debugging print statements
2015-08-07 20:52:57 +00:00
Philip Eisenlohr
d4e748b654
outsourced multiple repetitive functions into ASCIItable class.
...
changed ASCIItable API from file-handles to filenames.
adopted these changes in pre and post processing scripts.
unified behavior and look.
fixed bugs here and there.
improved functionality.
2015-08-07 19:03:26 +00:00
Tias Maiti
de90a04374
assign indices from microstructure column if present for laguerre tessellation
2015-07-30 04:42:00 +00:00
Tias Maiti
599bb768ef
index microstructure from 1 instead of zero for laguerre tessellation
2015-07-28 22:15:32 +00:00
Philip Eisenlohr
129026662c
fixed small bugs.
...
modernized file treatment.
improved Laguerre speed by a factor of 2 due to precalculating the squared weights.
2015-06-27 08:41:08 +00:00
Philip Eisenlohr
5adbe74b10
changed library function name table.labels_index() to table.label_index()
2015-06-05 11:44:17 +00:00
Philip Eisenlohr
6eb83530b8
streamlining
2015-06-05 11:34:41 +00:00
Tias Maiti
147cc91496
some polishing to laguerre tessellation
2015-05-28 20:57:03 +00:00
Martin Diehl
737e474cea
consistent handling of random number per file and always reporting as comment, fix for permuteData needed because of new asciitable behavior
2015-05-22 05:56:49 +00:00
Martin Diehl
76d456ee49
fixed rename
2015-05-18 14:48:25 +00:00
Martin Diehl
cddbd53789
reads better
2015-05-16 14:32:32 +00:00
Martin Diehl
fa1368204d
fixed bug in asciitable when updating labels for readArray, fixed checking for euler angels presence in tessellation, improved help
2015-05-14 17:07:50 +00:00