Commit Graph

8911 Commits

Author SHA1 Message Date
Martin Diehl a5ff0edf1f Merge branch 'development' into MiscImprovements 2019-04-28 06:59:27 +02:00
Test User 55d0c0dad1 [skip ci] updated version information after successful test of v2.0.3-138-g7b04b761 2019-04-27 20:09:03 +02:00
Martin Diehl 7b04b76112 check for undefined variables
defined but empty variables are different
2019-04-27 17:55:06 +02:00
Martin Diehl 7041c1508a giving extension does not work 2019-04-27 10:19:11 +02:00
Martin Diehl a2887e3918 small portions are better readable 2019-04-27 07:56:52 +02:00
Martin Diehl a5c620379b tools to build a python wheel distribution 2019-04-26 20:54:58 +02:00
Martin Diehl 20f647158f Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements 2019-04-26 20:00:26 +02:00
Martin Diehl 1ccc967544 enables auto include 2019-04-26 19:24:22 +02:00
Martin Diehl 1b9355327a WIP: preparing for PIP package 2019-04-26 19:08:59 +02:00
Martin Diehl b4a21e8d40 fix for older cmake
looks ok
2019-04-26 18:07:43 +02:00
Martin Diehl b63a6c7034 cleaner code that also works with older cmake 2019-04-26 17:39:21 +02:00
Martin Diehl ed2d64d876 more standard way of installing executable 2019-04-26 16:36:36 +02:00
Martin Diehl 5020d8204e prefix is without bin 2019-04-26 10:00:29 +02:00
Martin Diehl 009a47ad72 make python package independent from rest of DAMASK
https://packaging.python.org/guides/single-sourcing-package-version/
2019-04-25 20:05:42 +02:00
Martin Diehl eab2ce3761 point always to $DAMASK_ROOT/bin 2019-04-25 08:00:09 +02:00
Martin Diehl 64c9a367c0 always install post processing scripts into {$DAMASK_ROOT}/bin
custom installation directions will be made available by more standard
approaches
2019-04-25 07:21:42 +02:00
Martin Diehl 7104bc9934 allow standard CMAKE way of setting install directory
- DAMASK_BIN in config has no effect anymore
2019-04-25 07:08:32 +02:00
Martin Diehl 53f6a4e030 too specific
- only works at MPIE
2019-04-25 06:00:56 +02:00
Martin Diehl 835831b610 to specific for MPIE 2019-04-21 09:53:51 +02:00
Martin Diehl 1330730717 inFZ needs 'proper' Rodriques--Franck vector 2019-04-19 09:04:54 +02:00
Martin Diehl b97f10b6ff forgotten changes in last commit + fromRandom 2019-04-19 08:17:02 +02:00
Martin Diehl feca9fe0a0 Again changes to the return values.
A python function with no return value returns 'None'
2019-04-19 08:04:04 +02:00
Martin Diehl 9a43c2e4c5 fixed return values
- homomorph, standardize, etc. are silent in-place operations (return
None)
- homomorphed, standardized, etc. are out-of place operations that
report
2019-04-19 01:05:48 +02:00
Martin Diehl 25518df80c fixes to quaternion class
- always store data as float (solves issues with truediv)
- fixed in-place multiplication and division
- consistent handling of "..ed()" functions
2019-04-19 00:44:12 +02:00
Philip Eisenlohr 4183eeaeca [skip ci] disorientation may return full-fledged orientation obj and aux info, added rotation.standardize(d) 2019-04-18 18:06:00 -04:00
Martin Diehl f89d318b03 [skip ci] old output not needed for testing HDF5 2019-04-18 18:28:22 +02:00
Martin Diehl c4f56703a4 proper definition of homomorph 2019-04-18 17:11:51 +02:00
Martin Diehl 1904ac211e test working for more explicit rotation class 2019-04-18 16:44:39 +02:00
Martin Diehl 7570b187e7 do explicit homomorphing
only in cases when the underlying math cannot guarantee that the
resulting quaternion follows the convention
2019-04-18 16:26:05 +02:00
Martin Diehl ce1bb589c7 complicated use statements confuse CMake
probably we should adopt a similar "use" policy in Fortran as
recommended for Python "import" and have all imports at the beginning
https://www.python.org/dev/peps/pep-0008/
2019-04-18 15:30:54 +02:00
Martin Diehl e8464814ae explicit is better than implicit
- if the quaternion does not follow the convention, use
"fromQuaternion(acceptHomomorph=True)"
2019-04-18 14:46:12 +02:00
Martin Diehl c702441bcc now testing averaging and misorientation calculation 2019-04-18 14:27:07 +02:00
Martin Diehl 71b0036323 return rotation as misorientation 2019-04-18 14:26:53 +02:00
Martin Diehl 481aac7952 misorientation calculation did not always follow convention
- return homomorphed quaternion to ensure that real component is > 0
(equivalent to have axis angle limited to [0, pi]
2019-04-18 13:46:58 +02:00
Martin Diehl b746b841f7 not needed 2019-04-18 12:04:36 +02:00
Martin Diehl ccf13c2c50 autodoc does not work for argparse 2019-04-18 11:59:27 +02:00
Martin Diehl 6b7fd6b7ea visualizing data from DADF5: first prototype 2019-04-18 11:58:17 +02:00
Martin Diehl 7c771647ad adjustments for easier access to output data 2019-04-18 11:55:50 +02:00
Martin Diehl 91c200ff8c correct labels for output (also for DADF5) 2019-04-17 20:57:41 +02:00
Martin Diehl 7177813710 adding data to geometry 2019-04-17 19:57:16 +02:00
Martin Diehl fdd5b93e7c avoid FPE exceptions 2019-04-17 15:19:41 +02:00
Martin Diehl a6e6db0559 more stable/robust conversions 2019-04-17 12:52:48 +02:00
Martin Diehl 079e683dd1 disorientation returns Orientation, not Rotation 2019-04-17 10:48:18 +02:00
Martin Diehl 3f8c16262e fixed import statement
previous form only worked in python/damask folder
2019-04-17 09:45:18 +02:00
Martin Diehl 8609eb6eb7 improved names and layout 2019-04-17 09:34:49 +02:00
Martin Diehl c7c6627dfb don't try to figure out the input 2019-04-17 08:49:26 +02:00
Martin Diehl fa18200447 quaternion is now in separate module
avoid long modules with multiple, only loosely related classes
2019-04-17 08:46:03 +02:00
Martin Diehl 5d23a61fb0 same order as in the python module
... and only one "implicit none"
2019-04-16 22:17:56 +02:00
Martin Diehl d842902a76 consistent ordering
- qu, om, eu, ax, ro, ho, cu
2019-04-16 21:47:29 +02:00
Martin Diehl ed8270d432 need to read reference stiffness 2019-04-16 14:53:36 +02:00