Martin Diehl
100a2031d3
[skip ci] no white space needed
2019-05-28 07:55:24 +02:00
Philip Eisenlohr
1f56ac6a4a
streamlining and bugfixing of geom-class
2019-05-27 22:45:34 -06:00
Martin Diehl
b5cec797c0
cleaned
2019-05-26 23:03:31 +02:00
Martin Diehl
af493cf9fd
using class
...
needs more memory, but should be faster and is better readable
2019-05-26 21:32:08 +02:00
Philip Eisenlohr
eb13fbc0ce
streamlined geom-info reporting; added --float option to some scripts; hardened against NaN; "microstructures" now reports uniques not max
2019-05-23 13:03:24 -04: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
a3647cc587
more files with confirmed python3 compatibility
2018-11-16 09:03:12 +01:00
Philip Eisenlohr
49eb7aa1be
fixed nasty ABS that caused wrong packing for 1,2,1,1,1,... and the like
2016-12-25 12:39:49 -05:00
Martin Diehl
a04968d43f
Merge branch 'development' into negativeRange
2016-11-01 17:20:56 +01:00
Martin Diehl
8eb93a3274
python scripts now pack "a a-1 a-2 ... a-n" to "a to a-n"
2016-10-29 10:49:40 +02:00
Martin Diehl
aa3dc56949
fixed handling of last line (bug fix for second but last commit)
2016-10-29 10:30:42 +02:00
Martin Diehl
7e6e2e1c84
not using reserverd keyword "type"
2016-10-29 10:28:34 +02:00
Martin Diehl
1a56ad7a72
no logic change yet
2016-10-29 10:21:00 +02: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
Philip Eisenlohr
a7c15b4c00
avoided quoting of "N of x" and "a to b".
2016-05-17 11:29:31 -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
Martin Diehl
974b8cde41
some more syntax improvements
2016-03-01 22:13:57 +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
f4c53e0be8
removed warnings by pyflakes, implemented new croak functionality
2015-09-24 15:34:27 +00:00
Philip Eisenlohr
63d5506388
adopting further simplifications provided through ASCIItable class.
2015-08-20 19:42:05 +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
Martin Diehl
f8ce57abc8
removed aliases 'resolution' and 'dimension' for 'grid' and 'size' because some scripts did not have it anyway and the rename happened quite a while ago
2014-12-08 08:48:55 +00:00
Philip Eisenlohr
3cfabe3b83
standardized script name reporting
2014-11-18 15:31:39 +00:00
Martin Diehl
b656113b11
added missing string import in marc_addUserOutput (introduced with rev 3718) and removed unwanted imports and introduce use of damask.extendableParser in some other scripts
2014-11-18 08:00:45 +00:00
Philip Eisenlohr
f7da804927
changed file handling to allow for serial processing of large file numbers.
2014-11-05 22:01:11 +00:00
Martin Diehl
46d67f63d8
added test for converter from Ricardo's files
2014-10-10 08:54:48 +00:00
Martin Diehl
d93c40a3dd
fixed small bug ('theTable' instead of 'table') and simplified
2014-08-25 12:53:11 +00:00
Martin Diehl
c7837e1f66
changed manual input/output close to class method
2014-08-22 16:58:53 +00:00
Philip Eisenlohr
ccb950f3d8
checked Unix command piping conformity -- seems to now work:
...
seeds_fromRandom |
geom_fromVoronoiTessellation |
geom_grainGrowth |
geom_unpack |
geom_pack
However, grainGrowth functionality seems broken...
2014-02-03 23:44:29 +00:00
Martin Diehl
8b4af554ba
added verbosity on help messages
2014-01-20 14:41:56 +00:00
Martin Diehl
2f1db8f69a
introduced delimiter option (default = tab) for ascii table output, use space for geometry files
2013-12-17 08:16:29 +00:00
Christoph Kords
7bbee3fe60
write size as exponential not float, otherwise small numbers get rounded (to zero)
2013-08-21 15:25:27 +00:00
Philip Eisenlohr
cb09c17fa2
simplified $Id treatment.
...
now reports own name in bold during runtime.
2013-07-10 09:15:42 +00:00
Philip Eisenlohr
dd3d53e238
simplified grid/size synonyms treatment
2013-06-30 13:47:01 +00:00
Philip Eisenlohr
21c4447955
polishing and code unifications
2013-06-30 12:35:04 +00:00
Philip Eisenlohr
77aa1c27b0
now based on damask.ASCIItable object
...
continue with next if one file is broken (used to stop!)
packing of already packed works now
overall speed improvement
standard unpacked output is 2D: use -1/--onedimensional for linear list
2013-06-30 00:39:48 +00:00
Martin Diehl
53348db000
tested the modified scripts, all scripts generating geometry now named geom_from...
2013-05-15 16:02:38 +00:00
Martin Diehl
563e74c832
now also using numpy
2013-05-14 17:00:41 +00:00
Martin Diehl
b2c50124b5
more improvements on structure, comments and header generation of pre processing tools
2013-05-13 13:10:31 +00:00
Martin Diehl
6f0308844f
geom packing/unpacking won't throw away unknown header information any more (might contain comments)
2013-04-12 10:47:44 +00:00
Martin Diehl
0b1033d63a
switched to new keywords "grid" and "size", still reads the old "resolution" and "dimension" but writes the new ones
2013-04-12 10:27:05 +00:00
Philip Eisenlohr
cfc8823328
missed those three in former commit...
2012-11-05 21:28:01 +00:00