Commit Graph

62 Commits

Author SHA1 Message Date
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
Martin Diehl 8f80152a03 use floor division of integers
1/2 = 0.5 in python3 (would be 0 in python2)
2018-11-15 12:28:36 +01:00
Martin Diehl efd29e62f7 verbose should be optional
- causes problems on many systems (screwed up output)
- does not work with python 3 since threading class has changed
2018-11-15 12:16:55 +01:00
Martin Diehl 7480d1a842 fixes for Python3 2018-10-19 07:35:59 +02:00
Philip Eisenlohr 14c1291046 added "--quiet" option to suppress online messaging 2017-10-03 14:03:50 -04:00
Philip Eisenlohr 5b8bc65d37 exchanged string 'n/a' for 'nan' to allow smooth parsing as float value 2017-08-28 19:32:59 -04:00
Philip Eisenlohr 66b4e24ab7 solver.Marc.version has no argument anymore 2017-03-20 15:13:54 -04:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Martin Diehl 03bb0b8a98 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-07-18 19:36:47 +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
zhangc43 0a2d5e4c2a add missing newline to header for postResult 2016-07-18 12:29:12 -04:00
Martin Diehl 325e153d3d import of string not needed 2016-07-18 11:22:53 +02:00
Martin Diehl e3f83b6d66 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-07-18 11:22:12 +02:00
Martin Diehl 1b30b186f4 rootRelation keyword was still used 2016-07-18 06:17:22 +02:00
Martin Diehl 0c2b7782d4 reporting correct ID 2016-07-17 18:18:57 +02:00
Martin Diehl fa5ebdd46b added correct metavar 2016-05-13 09:43:56 +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 57acaba63e Missed out on putting the if..else statement as a bracketed group in a former commit. Next try of getting rid of {True: a,False: b}[choice] style... 2016-04-22 13:19:32 -05:00
Martin Diehl 28423d4b45 increment information got lost 2016-04-21 11:31:02 +02:00
Philip Eisenlohr 8ac40ced5a coordinates of nodal or cell-centered values are always labelled "pos" 2016-04-15 18:23:35 -04:00
Martin Diehl 93d7643875 no long lines anymore and prospector is also happy 2016-03-03 14:44:29 +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 c710709b1a example Makefile typically does not work, deleted 2015-12-15 14:34:03 +00:00
Philip Eisenlohr ad06fc1a77 fixed buggy mapIncremental behavior for anything else than averaging (the standard case luckily…) 2015-10-27 20:16:24 +00:00
Martin Diehl 55dc2b419a warn if unexpected file size is encoutered 2015-09-24 17:07:27 +00:00
Martin Diehl f4d4a8e1ec adopted philips changes for reporting, using pyflakes to clean up 2015-09-24 09:24:42 +00:00
Martin Diehl bceeb0964c corrected calculation of expected file size for legacy files beyond the 4 GB limit 2015-08-10 18:48:48 +00:00
Martin Diehl e8fb49edc6 missing bracket 2015-05-22 06:17:35 +00:00
Philip Eisenlohr df5dd98576 simplified boolean dictionaries to “if else” constructs. 2015-05-21 00:13:11 +00:00
Philip Eisenlohr c05df20370 throw error message when DAMASK output obviously not present in T16 file 2015-04-28 17:54:00 +00:00
Martin Diehl 0544706c7b corrected help for legacy format 2015-04-08 12:51:40 +00:00
Martin Diehl 92a67e1a9d geom_fromAng.py crashed when found empty line (eg. at the end of the file), now fixed 2015-04-01 14:42:25 +00:00
Martin Diehl a1956436be fixed bug introduced last time when searching for keywords in spectralOut header
made reading in of header more robust by explicitly using the information given by fortran specifies the data length
introduced a legacy mode again, now it is used to read old spectralOut files prior to rev 4017
2015-04-01 10:02:21 +00:00
Martin Diehl 913c5347a5 removed handling for old legacy format (we might introduce a new one) 2015-03-29 09:08:42 +00:00
Pratheek Shanthraj 1ee81e74ea more patches to get the tests running again:
- fixed increment counting in postResults to current output scheme

- corrected node coordinates calculation

- some work on restart (restart test still not running)
2015-03-26 21:19:28 +00:00
Pratheek Shanthraj fe4373a9f9 updated post processing script for MPI IO spectralOut file 2015-03-25 16:09:56 +00:00
Martin Diehl 12cb5e56fe fixed interpretation 'spectralOut' header. Seem to have been buggy all the time, but manifested itself only after keyword change. Also added ':' after keywords to be more robust 2015-03-15 15:29:38 +00:00
Martin Diehl c4f639dbfb prevent crash in option parsing 2015-03-13 14:46:40 +00:00
Martin Diehl 72efc7b30c renamed resolution -> grid, dimension -> size 2015-03-11 08:55:48 +00:00
Martin Diehl 0dde6539ed renamed from 1_ip to 1_ipinitialcoord 2015-03-11 07:22:11 +00:00
Martin Diehl eb1561b528 changed postprocessing to use 1_ip instead of ip.x etc, plus corrected test files headers 2015-03-10 21:15:05 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Martin Diehl a7d831de06 forgot to import python module 2014-09-15 10:07:52 +00:00
Martin Diehl f2c4db0bb5 correcting help and default, some comments 2014-09-12 14:46:12 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Philip Eisenlohr a8a9c8eef5 added possibility to not sort (--sort none) output by its --separation such that the output can be used in conjunction with the VTK files produced by DAMASK. 2014-04-14 21:45:24 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Philip Eisenlohr 963ff0c3ae added support for tetrahedron element with 4 integration points (Marc ID 127) 2013-01-28 16:25:43 +00:00
Philip Eisenlohr dc55e30cf1 added "startingIncrement" to spectralOut result interpretation 2012-09-05 15:14:36 +00:00