Commit Graph

36 Commits

Author SHA1 Message Date
Martin Diehl cebdecfa70 if-else got reversed
more readable now:
2018-07-05 11:10:56 +02:00
Martin Diehl 1eb82b99da polishing as a result of discussing merge request of branch 25 with Philip 2018-07-04 06:31:45 +02:00
Vitesh Shah aad3611bb4 Defined a new function to handle recursive file includes 2018-06-25 15:10:54 +02:00
Vitesh Shah 47a6e6b292 Added functionality to read include statements on the go 2018-06-22 12:13:43 +02:00
Martin Diehl 25fa68ca2e relative paths are also supported 2018-06-19 10:45:45 +02:00
Martin Diehl ba8d9b7062 simplifying parsing of absolute path 2018-06-19 10:41:44 +02:00
Vitesh Shah 196b0ef22f adding new include in file reading 2018-06-19 10:00:15 +02:00
Vitesh Shah f65bba1c5c material.py is not an executable. Rectified it 2018-06-14 15:36:57 +02:00
Vitesh Shah 09ade8b6c4 sys not required in material.py file 2018-06-14 15:29:47 +02:00
Vitesh Shah 9c3539ee92 Added a code that detects '{' and opens file inside to read 2018-06-14 15:14:30 +02:00
Vitesh Shah e1c5168040 regex for include statement 2018-06-06 15:31:39 +02:00
Vitesh Shah 54bccbe084 more pythonic way 2018-05-25 11:16:56 +02:00
Martin Diehl 1973cf8d14 python 3 compatible (waste of memory / increase in runtime should not be a showstoper for typical use cases ) 2017-07-18 11:17:22 +02:00
Martin Diehl 8a94f55a2e python 3 compatibility 2016-10-25 06:44:12 +02:00
Martin Diehl 759126b906 compatible to python3 2016-07-03 11:44:01 +02:00
Martin Diehl 7f24fe15ed removed svn ID from python files 2016-05-11 11:37:59 +02:00
Martin Diehl a4bbdd5ecb further commenting, removing not used variables and code (marc2vtk) 2016-03-04 19:06:36 +01:00
Martin Diehl d1e8f69857 added docstrings etc 2016-03-04 17:55:11 +01:00
Martin Diehl f9348398ce removed old file, added possibility to normalise euler angels to standard range, added svn properties 2015-08-12 15:15:33 +00:00
Martin Diehl 9694d63874 introduced option mute output to screen 2015-04-22 18:47:45 +00:00
Martin Diehl 151d4ff75b fixed bug (crash) in case (meaningless) strings found after part or section key.
DAMASK itself is fine with it, and it can be used for commenting.
thanks to B. Bode for figuring out
2015-03-27 16:23:21 +00:00
Martin Diehl dd5055dc19 improved warning in case the core module is not found, corrected '/echo/' handling (had problems with key 'c/a' 2015-03-15 15:24:45 +00:00
Martin Diehl 89fa31b070 avoid troubles with /echo/ tag by considering it as a comment 2015-03-13 14:46:11 +00:00
Martin Diehl 7d8934c9f6 made some more functions case insensitive 2014-06-17 08:53:37 +00:00
Martin Diehl 488927a231 worked on phenopowerlaw test, made material.config writer case insensitive, polished lattice, removed deprecated part of documentation 2014-06-16 13:11:26 +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
Martin Diehl 9f39405adf fixed material.config of elastic tests to run with new error, currently to strict, needs fix
removed long spectral example test from list of daily tests
2013-09-20 16:23:52 +00:00
Martin Diehl 415892b8e7 did some conversion needed for use with python 3 2013-09-18 19:31:27 +00:00
Claudio Zambaldi 1585fbe927 improved material.config writer class
includes example of usage
should replace material.py, after the tests 
have been confirmed to work with it

mat=damask.Material()
m=mat.example_1()
m.write(file='material.config_<descriptive-label>')
2012-09-07 18:25:25 +00:00
Taymor El Achkar be355c8f40 updated reference result for compile test
added dislotwin law to hex elastic test and drastically increased loading time. still the question why Young's modulo is increasing.

added possibility to add crystallite microstructure in material.py
2012-05-24 16:00:32 +00:00
Martin Diehl ee6b1eb22c elastic phenopowerlaw for hex crystals is working, results are close to analytic ones but there is a small "elastic hardening" and the values are a little bit higher than the ones calculated with mtex 2012-02-24 14:34:44 +00:00
Claudio Zambaldi 7dd67e3ebb improved creation of material.config files, mostly done by Philip 2012-02-01 19:44:36 +00:00
Philip Eisenlohr 429af90ccb added Id flag and content
added "core" package capability
2011-12-22 10:30:25 +00:00
Claudio Zambaldi fbfb39de3f removing 2 bugs from previous commit 2011-12-15 15:29:22 +00:00
Claudio Zambaldi a27a78bab1 changed per Philips suggestion
config folder will later contain debug.py and numerics.py
2011-12-15 15:15:32 +00:00