Commit Graph

47 Commits

Author SHA1 Message Date
Martin Diehl 2632be2a76 polishing 2018-07-20 03:09:53 +02:00
Martin Diehl 6dd970dfe0 logic seemed to be broken (only filter out strings which have a 'strip'
attribute

string in python 3 have both attributes, '__iter__' and '__getitem'. Old
syntax therefore split up strings into characters
2018-07-19 15:46:14 +02:00
Martin Diehl beb418eb44 python3 compatible way
ugly, but works also for python2.7. Probably there is a better solution
when 2.7 is deprecated
2018-07-19 15:20:34 +02:00
Martin Diehl e08b732592 it's a byte string in python3 2018-07-12 10:33:05 +02:00
Zhuowen Zhao f26fd1d1dc Fixed a physics issue: sense change with respect to difference between resolved stress and backstress 2018-03-09 18:01:09 -05:00
Fengbo Han 9249e7db2b Merge branch 'development' into HMS 2018-02-07 11:44:17 +01:00
Philip Eisenlohr dc77e996cc added utility function coordGridAndSize 2018-01-30 09:18:59 -05:00
Fengbo Han 36c370e668 implemented fast yield surface fitting with yield stop criteria 2017-08-08 17:25:38 +02:00
Martin Diehl db5a9495e4 differentiate between None and False 2017-05-02 07:44:59 +02:00
Martin Diehl ff16a0866c not used, error prone for row/major column hickups 2017-05-02 07:29:52 +02:00
Martin Diehl 5ccfc10bc3 currently not used and error prone (from math import cos/sin/tan gives different behavior) 2017-05-02 07:28:19 +02:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Martin Diehl fbacdd8e6d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-11 19:17:35 +02:00
Martin Diehl 9d7cad1fa4 python3 compatible solutions that still work on python2 2016-09-11 19:03:32 +02:00
Philip Eisenlohr f9c3d335fc two new methods to convey deemphasis and deletion 2016-08-25 11:59:04 -04:00
Philip Eisenlohr bb5070b52f util.report without mandatory arguments
reporting can now omit either "who" or "what". cleaner output in case of no "who"...
2016-07-18 10:20:39 -04:00
Martin Diehl af4307ea72 Merge branch 'NoCoreModule' into development 2016-07-01 15:08:47 +02:00
Martin Diehl fa13aa30b0 python 3 at least imports the damask module now 2016-07-01 15:03:25 +02:00
Martin Diehl 259ee072a6 Merge branch 'development' into NoCoreModule 2016-06-27 15:35:46 +02:00
Philip Eisenlohr ea24becdd4 added "report_geom" shortcut to croak geometry info 2016-04-24 11:20:55 -05:00
Martin Diehl 72639d174b fortran code was translated by philip 2016-04-15 00:25:12 +02:00
Martin Diehl d765282165 save fortran code 2016-03-24 14:20:18 +01:00
Philip Eisenlohr 8cd1f027b3 bug fixing. 2016-03-21 08:51:56 -04:00
Philip Eisenlohr 01a5343ca2 added another backgroundMessage animation. generally cleaned code a slight bit. 2016-03-20 20:58:10 -04:00
Martin Diehl 2dbdf9a72f all symbols need to be representable in unicode 2016-03-13 18:21:25 +01:00
Martin Diehl 9a405ef41b using more stable way of handling unicode printing, cleaning unicode delete from output of execute 2016-03-04 17:23:38 +01:00
Martin Diehl 75480bc677 modified background threading because using it in postResults led to an dead lock.
rest modifications are just style
2016-03-04 15:22:01 +01:00
Martin Diehl 2a3e42a906 prevent import errors (e.g. when using Abaqus, having it's own python without scipy) 2016-02-02 23:24:44 +01:00
Martin Diehl 81a8b2c4ed color lib for output 2016-01-05 18:17:55 +00:00
Philip Eisenlohr fc2d79e17b added more animations… 2015-12-02 23:08:18 +00:00
Martin Diehl 0e76ef85c1 checking return code in util.exececute, cleaning makefile, deleted dummy docs 2015-12-02 13:21:17 +00:00
Philip Eisenlohr 38c536b6b7 improved unicode handling.
background message is now stoppable.
background message not “jumping” (multiplying) anymore.
2015-11-20 16:15:34 +00:00
Martin Diehl 61090c955d removed code doubling 2015-10-09 05:51:58 +00:00
Philip Eisenlohr 3b0dc374bb now using ‘emph’ in reporting function instead of code doubling. 2015-10-07 01:07:56 +00:00
Martin Diehl 6e05082133 might be needed in multicore env 2015-10-06 18:01:31 +00:00
Martin Diehl 948aa0c544 was missing in last commit 2015-09-24 10:01:15 +00:00
Philip Eisenlohr 2aa1073949 relocated “croak” and “report” functionality to here. needs to be altered in all scripts that still use the ASCIItable class for those… 2015-09-22 21:00:18 +00:00
Harsha Phukan 8a05584924 bg.message does not require symbol selection anymore—will pick random if nothing specified… 2015-09-15 19:02:00 +00:00
Philip Eisenlohr 681b7f0831 added ‘emph’ method.
additional background message animations.
2015-08-22 17:02:49 +00:00
Haiming Zhang 7818a8f467 Add codes about enforcing the boundary constraints for the fitting parameters, especially for the exponent term of non-quadratic yield functions. 2015-02-05 21:25:00 +00:00
Martin Diehl b7f078971b added background threading (might be used in more than one script) 2014-10-15 08:32:53 +00:00
Martin Diehl c8cd775747 added spectral solver grid location and index function to util library 2014-07-21 17:49:45 +00:00
Martin Diehl 51b92f3ef9 simplified option parsing (so far, only for addCalculation and addMises) 2014-06-17 07:10:10 +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 188002f16e more LF, Id, and executable status changes 2014-04-01 16:58:54 +00:00
Claudio Zambaldi 9078d70af0 polishing, and using numpy's deg2rad/rad2deg 2012-07-19 16:05:05 +00:00
Claudio Zambaldi b2a7f85101 __init__ of damask package not crashing in python 2.5 if core module not available
added some Matlab-like utility functions (damask.sind, cosd, tand, acosd, ...)  that take and return degree instead of radians
2012-07-18 13:46:33 +00:00