Commit Graph

8994 Commits

Author SHA1 Message Date
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
Kieran David Nehil-Puleo d8b310e78b Changed Guessing Scheme 2019-04-18 11:13:51 -04: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
Martin Diehl d0a4cbf8d5 one implicit none is enough 2019-04-15 16:41:54 +02:00
Martin Diehl 8f58f1348e _pInt not needed 2019-04-15 16:19:30 +02:00
Martin Diehl 19dfefc2f4 fixed deadlock in grid_mech_FEM 2019-04-15 16:16:14 +02:00
Martin Diehl 4793f964f8 unified style 2019-04-15 15:53:46 +02:00
Martin Diehl 18f9deef1a fixed deadlock 2019-04-15 15:27:58 +02:00
Martin Diehl 1e2766cda6 not needed 2019-04-13 15:37:34 +02:00
Martin Diehl c4784e6673 better readable 2019-04-13 15:34:51 +02:00
Martin Diehl 8eb1a35dfb first version of a library to parse HDF5
- preliminarly called DADF5 (DAMASK HDF5)
- script to write (empty undeformed) geometries is also added
2019-04-13 11:25:53 +02:00
Martin Diehl 89679147e8 leaner group structure, centrally handled 2019-04-13 09:47:56 +02:00
Martin Diehl 1036c76ae0 to transpose already when constructing the interaction matrix 2019-04-13 00:46:27 +02:00
Martin Diehl ffdd3955a3 implicit none is not needed 2019-04-13 00:44:00 +02:00
Martin Diehl 0c6fde97f9 wrong positions for point visualization
- now the cell centers are at the centers of the cells for cell
visualization
2019-04-13 00:42:05 +02:00
Martin Diehl 0335207956 complex orientation initialization conflicts with phase field
- easier to do as pre processing (python)
- ensures same solution independently of random number
2019-04-13 00:37:51 +02:00
Philip Eisenlohr 3a7408a213 averaging possible for rotations and orientations; Rodrigues 3Dvector output only at top-level; code reordering 2019-04-12 09:03:47 -04:00
Philip Eisenlohr 3d6eb76da3 equivalentOrientations accepts scalar argument to directly return single rotation object (not single element list) 2019-04-11 19:07:41 -04:00
Philip Eisenlohr 2190c3ef46 fixed serious disorientation bug; sorted transformation functions 2019-04-11 18:32:07 -04:00
Philip Eisenlohr b8285d5749 restored orientation averaging capability 2019-04-11 17:23:04 -04:00
Vitesh Shah a59c5c30c9 some cleanup 2019-04-11 18:48:28 +02:00
Vitesh Shah 057bee92af adding C_ref to HDF5 file doesnt work 2019-04-11 18:43:20 +02:00
Vitesh Shah a5b3fa565f Some incorrect variable names fixed 2019-04-11 18:36:28 +02:00
Vitesh Shah 8609c959df grid_mech_polarisation works 2019-04-11 15:51:34 +02:00