Commit Graph

47 Commits

Author SHA1 Message Date
Martin Diehl de316f1afe Merge remote-tracking branch 'origin/development' into even-more-HDF5-postprocessing 2019-09-14 12:48:42 -07:00
Martin Diehl 52904a81dc taking prospector complaints serious 2019-09-13 06:49:25 -07:00
Martin Diehl a3c6f6682e using eigh should ensure orthogonal eigenvectors 2019-09-13 06:42:01 -07:00
Martin Diehl 890a6cf42f avoid floating point comparison and simply play it safe 2019-09-13 06:40:41 -07:00
Martin Diehl 0497b58629 use existing functionality 2019-09-13 06:38:22 -07:00
Martin Diehl cd6a4d1cfd that's all we need 2019-09-13 06:37:47 -07:00
Martin Diehl 66d8a3e601 stretch is symmetric (play it safe here) 2019-09-13 06:35:48 -07:00
Martin Diehl 79d2432c6c R not needed 2019-09-13 06:33:00 -07:00
Martin Diehl 49b3cd2145 transpose evuivalent for rot but faster 2019-09-13 06:32:05 -07:00
Martin Diehl b6bb8a4650 simple strain calculation for DADF5
further enhancement requires to give optional arguments to
add_genericpontwise
2019-07-06 21:41:29 -07:00
Martin Diehl 1cf9c59850 standardizing
import follows PEP style guide, encoding not needed for python3
2019-06-14 13:03:30 +02:00
Martin Diehl 5c20609e81 more verbose help, drop support for really old vtk 2019-02-16 22:20:44 +01:00
Martin Diehl fa003e8077 small adjustments for autodoc 2019-02-16 15:26:21 +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 fe2c7efa27 seem to work 2018-11-15 13:56:48 +01:00
Martin Diehl 1f637a0c49 python3 compatible map requires conversion to list 2018-07-19 18:01:38 +02:00
Martin Diehl 9821654aae iteritems does not exist in python3 anymore
items also works for python2 (might be slower though)
2018-07-19 16:16:10 +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
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 80dc23d93d following "prospector -t pep8 -t pyflakes -t dodgy -t profile-validator -t pep257" 2016-03-01 21:11:43 +01:00
Martin Diehl 2a50c6bf86 using prospector --tool=dodgy --tool=pyflakes -M to find python flaws 2016-03-01 18:25:14 +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 f4d4a8e1ec adopted philips changes for reporting, using pyflakes to clean up 2015-09-24 09:24:42 +00:00
Martin Diehl 5f9fae1b75 simplified reporting using "emph" 2015-09-11 12:55:43 +00:00
Philip Eisenlohr 63d5506388 adopting further simplifications provided through ASCIItable class. 2015-08-20 19:42:05 +00:00
Tias Maiti 126cea24ce fixed syntax and undefined variable calling errors 2015-08-09 22:12:49 +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 812d17f91c streamlined column processing based on recently introduced asciitable functionality. 2015-07-01 15:48:34 +00:00
Martin Diehl a3bed5cc42 short options conflicting with typical use 2015-05-15 10:33:32 +00:00
Martin Diehl 18831e0e80 improved help for automatic documentation and simplified some scripts 2015-05-09 21:32:23 +00:00
Martin Diehl 6604d0f8e8 polishing 2014-12-18 19:26:52 +00:00
Martin Diehl afb9a2186b removed explicit default setting: type='string' and action='store' 2014-09-12 14:14:55 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Martin Diehl 649e637561 added some more post processing tests and improved output 2014-08-06 19:06:33 +00:00
Martin Diehl 938352d43a fixed calculation of size and dimension in case of 2D (was limited to third dim only)
plus polishing
2014-08-06 15:25:18 +00:00
Martin Diehl cbafad50d0 some more work on the postprocessing scripts, decreased test tolerance because spectral decomposition has rounding errors (depending on machine/python/numpy version) 2014-08-06 13:27:09 +00:00
Martin Diehl 7df8f04f65 updated test for postprocessing and improve some of the scripts 2014-08-04 17:53:41 +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
Martin Diehl 0363b1fb04 updated reporting (according to addCauchy) 2014-03-10 14:01:39 +00:00
Martin Diehl feaccae652 set threshold for values treated as zero to 1.e-12 (was 1.e-15) to avoid flip in strain direction 2013-11-19 19:39:14 +00:00
Martin Diehl cd86a80c2b corrected handling of default value and cases where the deformation gradient is not f 2013-03-19 18:22:14 +00:00
Philip Eisenlohr faa5f3c459 corrected severe bug in (non-logarithmic) strain calculations..! 2012-11-30 15:02:25 +00:00
Christoph Kords 51e8981ba3 not specifying the location of python executable directly, but rather getting it from $path, otherwise the scripts won't work on every machine 2012-02-07 13:09:10 +00:00
Christoph Kords 9b679c3c0b switched to damask include instead of outdated damask_tools 2012-01-31 13:08:25 +00:00
Philip Eisenlohr 9d3f7b8d3d adopted ASCII_TABLE class 2011-12-04 09:57:13 +00:00
Claudio Zambaldi 06176873e4 after a somewhat lengthy discussion with Philip about usability and developability and general file-naming philosophy we think that we found a compromise on the "to-dot-py or not-to-dot-py" issue:
symlinks in DAMASK_ROOT/bin do not carry the extension, but the source files do.
Hope that results in the maximum number of happy developers and users.
2011-11-09 15:37:45 +00:00