Commit Graph

561 Commits

Author SHA1 Message Date
Philip Eisenlohr e82d3557d1 removed Rodrigues class; removed quaternion "inverse" method; adopted Rowenhorst algorithm for angle--axis; use math.isclose(...,0.0) to check for ==0.0 2018-12-17 09:55:02 -05:00
Martin Diehl 1f2fbbee21 consistent name 2018-12-10 09:38:57 +01:00
Martin Diehl 130fac21c6 cleaning 2018-12-09 13:15:59 +01:00
Martin Diehl 4a58fd98f9 pep257 compatible 2018-12-09 11:02:28 +01:00
Martin Diehl 7eaea64d09 python3 compatible
hope that the new bar causes less trouble than the background message
2018-12-09 09:08:33 +01:00
Philip Eisenlohr 1de37b9397 polished formatting of comments 2018-12-08 12:01:46 -05:00
Philip Eisenlohr b777253dd6 quat->Eulers now returns always positive angles 2018-12-08 11:52:55 -05:00
Philip Eisenlohr 18b791bb63 fixed bug (not clear how it escaped up to now) 2018-12-07 22:06:47 -05:00
Philip Eisenlohr 3d7a73a0de added option to return angleAxis as flat list 2018-12-07 22:02:30 -05:00
Philip Eisenlohr d7f505f24e making sure that roots are taken from strictly non-negative summation results 2018-12-07 10:34:45 -05:00
Philip Eisenlohr a6d4c73de0 added list of map and introduced "quat" keyword in quaternion init 2018-12-05 10:20:05 -05:00
Philip Eisenlohr c0f7ae2798 updated scripts that still used formerly valid object properties of quaternions 2018-12-05 09:07:29 -05:00
Philip Eisenlohr e48fd338bc fixed shallow copy problem of quaternion.p object 2018-12-05 08:55:26 -05:00
Philip Eisenlohr a7554891a4 changed internal quaternion representation to q,p and simplified math 2018-12-04 19:20:24 -05:00
Philip Eisenlohr 1d7172c971 adopted more intutitive alternative of P=-1 from Rowenhorst_etal2015 2018-12-04 17:05:35 -05:00
Philip Eisenlohr 7663d20b56 adopted orientation conventions and mathematics from Rowenhorst -- tests should now pass... 2018-11-21 17:51:38 -05:00
Philip Eisenlohr 860aeebbde slight formatting change to clarify return value make-up 2018-11-20 09:11:41 -05:00
Martin Diehl b5b2b68206 python3 syntax for string substitution 2018-11-16 09:03:12 +01:00
Martin Diehl eba497dc3b symlinks always exists
was not the case when using svn
2018-11-16 09:03:12 +01:00
Martin Diehl 29424ee34c Merge branch 'development' into Python3 2018-11-15 21:18:04 +01:00
Martin Diehl a1f99f4aa3 simplified
don't try to be smart and to things in the background
2018-11-15 21:17:33 +01:00
Martin Diehl c44f12cae5 map needs to be explicitly casted to list 2018-11-15 13:42:19 +01:00
Martin Diehl 8102eff1e5 support for Marc 2018.x
dropped (not working) support for non-openMP simulations
2018-11-14 12:25:31 +01:00
Philip Eisenlohr 7c71530eca slightly more picky in what exceptions to catch, now complain when losing all labels 2018-09-27 14:21:17 -04:00
Philip Eisenlohr 273874d3fb slightly more picky in what exceptions to catch, now complain when losing all labels 2018-09-27 14:19:10 -04:00
Martin Diehl 07dcdc9fc6 undoes commit 6c3b5f17eb
tests fail, needs closer look. Changes incorporated into
10-consistent-orientation-conversions-in-the-damask-core-and-the-python-module
2018-09-11 02:10:55 +02:00
Philip Eisenlohr 803b342188 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-09-06 14:21:50 -04:00
Philip Eisenlohr 6c3b5f17eb updated orientation/quaternion class to follow Rowenhorst_etal2015 2018-09-06 14:19:09 -04:00
Martin Diehl f522f79703 Merge branch 'development' into 35-new-style-of-reading-in-parameters-in-lattice 2018-08-04 22:42:14 +02:00
Martin Diehl c8aa9ff3ef merge-related fixes 2018-08-03 19:30:36 +02:00
Martin Diehl 0a6bde70c5 Merge branch 'development' into 19-NewStylePhenopowerlaw 2018-08-03 06:56:43 +02:00
Martin Diehl fd39c9a73c Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-20 04:06:23 +02:00
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 942883e9dd Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2018-07-16 09:32:22 +02:00
Martin Diehl e08b732592 it's a byte string in python3 2018-07-12 10:33:05 +02:00
Martin Diehl 28414490c8 following https://packaging.python.org/tutorials/packaging-projects 2018-07-11 05:12:49 +02:00
Martin Diehl a1b1a4c476 include files are not libraries 2018-07-10 18:26:45 +02:00
Martin Diehl ce32372f1c more cleaning of old commercial FEM solver files 2018-07-06 13:18:55 +02:00
Martin Diehl 2a33dcdd04 don't distinguish exp and std anymore 2018-07-06 13:12:16 +02:00
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
Martin Diehl 20f70dc943 Merge branch 'development' into 25_materialConfigPythonInclude 2018-06-28 13:07:16 +02:00
Martin Diehl e8a4f588f4 Merge branch '30_parsePhasePartOnce' into 19-NewStylePhenopowerlaw 2018-06-28 07:24:04 +02:00
Martin Diehl 9101af84c6 only testing Marc 2017
Using Intel 17 Compiler even though recommended Compiler is 16.0.2
We only have 16.0.0 and that gives random segmenation faults
2018-06-28 06:47:22 +02:00
Vitesh Shah aad3611bb4 Defined a new function to handle recursive file includes 2018-06-25 15:10:54 +02:00
Martin Diehl f63e8fe34e avoid specifying per-family-values for inactive families 2018-06-25 13:43:34 +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