Commit Graph

55 Commits

Author SHA1 Message Date
Martin Diehl 8465c3ab1b adjusting to new data layout 2020-04-20 19:13:45 +02:00
Martin Diehl 04cb8111c6 only used for non-selective 2020-03-22 07:08:54 +01:00
Martin Diehl 3873a3d20d restoring working structure for config submodule 2020-03-21 22:17:07 +01:00
Martin Diehl b53288c0be distance already controls whether tesselation works
at least for sufficiently large d
2020-03-21 21:50:15 +01:00
Martin Diehl 2c1a654966 more conservative estimate 2020-03-21 21:10:14 +01:00
Martin Diehl 67f64b7a7a polishing 2020-03-21 18:01:26 +01:00
Martin Diehl ab1ab42e75 easier to specify size directly 2020-03-21 15:17:02 +01:00
Martin Diehl d636b53e2b duplicated comment line 2020-03-20 10:27:46 +01:00
Martin Diehl 0f45559271 store microstructure as integers 2020-03-20 06:24:41 +01:00
Martin Diehl 064dabe34b Polishing
- keep microstructure as integer
- avoid constant reshape
- IMPORTANT: random order has changed!
2020-03-20 00:50:42 +01:00
Martin Diehl 6a1354f80f typo 2020-03-17 11:57:36 +01:00
Martin Diehl 49caa77bbd new class, less code 2020-03-17 11:24:15 +01:00
Martin Diehl b65c3959f1 simplified 2020-03-17 11:10:02 +01:00
Martin Diehl f46d79ec87 simplified 2020-03-17 10:52:44 +01:00
Martin Diehl bc1d356d21 fixing prospector complaints
'except Exception': not really nice, but shell scripts will be remove
soon anyway
2020-02-20 15:27:37 +01:00
Martin Diehl e93f5c84ff 'buffered' has no effect any more 2020-02-20 15:05:38 +01:00
Martin Diehl 903edcd429 do not patronize the user, rather give hints 2019-02-24 10:31:08 +01:00
Martin Diehl 27ebe1f665 improved documentation 2019-02-17 08:17:40 +01:00
Martin Diehl 7c1e2e256c os.urandom returns byte, not string in python3 2018-11-24 10:07:47 +01:00
Martin Diehl 82861e80bc more python3 related changes 2018-11-17 08:46:58 +01:00
Philip Eisenlohr 2c3eae6bf0 fixed tests and bug for very small unit cube fractions when grid is also small 2018-03-07 18:59:27 -05:00
Philip Eisenlohr 32c34457c2 direct selection of valid seed coordinates within subfraction of unit cube instead of check and repeat 2018-03-07 17:45:22 -05:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Philip Eisenlohr 59c1eee16b added possibility to restrict seed coordinates to fraction of unit box 2016-09-14 19:42:05 -04: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 a21e8cd863 usind explicitly python2 to run in environments with python 3 as default 2016-05-11 11:01:39 +02:00
Philip Eisenlohr f42c316aa2 updated help 2016-04-24 10:14:16 -05:00
Philip Eisenlohr 2354cd609a small polishing of help.
added option to change output number format.
2016-04-08 17:46:06 -04:00
Martin Diehl f7fedc4744 next bunch of accepted scripts 2016-03-02 13:50: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
Martin Diehl e1157126bc cleaned with pyflakes, added test for seed generation 2015-09-24 13:21:44 +00:00
Philip Eisenlohr 63d5506388 adopting further simplifications provided through ASCIItable class. 2015-08-20 19:42:05 +00:00
Philip Eisenlohr 5dad5df588 adoption of recent API change in ASCIItable. 2015-08-12 17:47:38 +00:00
Philip Eisenlohr 31f6d22d89 added option (force) to override selective seeding check. 2015-08-08 20:20:53 +00:00
Philip Eisenlohr 889a5807bb more conservative (and probably appropriate) variance default for Laguerre tessellations: 1.0 —> 0.1 2015-08-08 20:12:26 +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
Philip Eisenlohr fc0e29c45b removed erroneous rescaling of Laguerre weights. 2015-07-22 22:34:40 +00:00
Haiming Zhang b15f68905f fig a bug. 2015-07-21 15:38:12 +00:00
Tias Maiti 147cc91496 some polishing to laguerre tessellation 2015-05-28 20:57:03 +00:00
Tias Maiti c5349ab041 some polishing for option parser 2015-05-26 20:22:11 +00:00
Tias Maiti 73c6bd767f added options for selective seed picking based on Mitchell’s best candidate algorithm for more uniformly distributed (spatially) seeds points 2015-05-26 20:13:35 +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
Sehar Abbas 7af176d13f introduced option to set microstructure starting index 2015-05-21 10:04:52 +00:00
Tias Maiti ce0675f359 added options for laguerrre tessellation 2015-05-02 07:41:14 +00:00
Martin Diehl 2e6bbe887e changed header in seeds file from 'x,y,z' to '1..3_coords'.
scripts now use the header information and do not rely on coordinates being in the first three columns
2015-04-22 18:44:54 +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
Martin Diehl f4de982182 svn caused trouble due to rename, again some missing files 2014-10-10 12:11:10 +00:00
Philip Eisenlohr b85797c109 significant speed improvement for large grids.
polished messages and fixed error reporting bug.
2014-09-24 23:47:52 +00:00