Commit Graph

23 Commits

Author SHA1 Message Date
Martin Diehl aefd401e8c this is a quaternion class
it is meant to represent any quaternion, not only unit
quaternions/rotations that follow a specific convention. Need to check
in rotations.f90 where the homomorph should happen
2020-01-11 03:11:45 +01:00
Martin Diehl 79cafebffe following https://www.python.org/dev/peps/pep-0257/ 2020-01-11 03:08:39 +01:00
Philip Eisenlohr 3a08a8bbe2 always using intrinsic init when assigning quaternions as output variables 2020-01-10 12:16:18 -05:00
Martin Diehl 78344c01ac avoid floating point comparison 2019-09-23 05:37:36 -07:00
Martin Diehl da15ff85f3 tests now operational 2019-09-23 00:11:45 -07:00
Martin Diehl bbb2441cc2 preparing more tests 2019-09-22 22:08:19 -07:00
Martin Diehl 40099fd581 typo 2019-09-22 17:46:37 -07:00
Martin Diehl 6b5b0fae22 mixed up real and aimag part in quaternion
+ some tests
2019-09-22 12:10:39 -07:00
Martin Diehl d69d57221d consistent type handling and stronger encapsulation
components of quaternion are private now
qu is an array, not a quaterion (as in the python module). conceptually
cleaner because eu,ax,om, etc. are also plain array
2019-09-20 08:36:16 -07:00
Martin Diehl be0d961954 cleaning 2019-09-19 13:40:03 -07:00
Martin Diehl 0db4264265 cleaning 2019-05-28 09:28:15 +02:00
Martin Diehl 01e3b646c2 don't clutter the code with useless stuff
we only need to be more strict about prefixing
functions/subroutines/variables to see in which module they reside
2019-05-16 22:56:48 +02:00
Martin Diehl ffdd3955a3 implicit none is not needed 2019-04-13 00:44:00 +02:00
Martin Diehl 453eb538f7 preparing for PGI compiler 2019-04-03 16:24:15 +00:00
Martin Diehl 3887d5631a handling of PGI compiler was to cumbersome 2019-04-03 13:04:03 +02:00
Martin Diehl 96c4599dc7 norm2 is (yet) not available in PGI 2019-03-10 10:05:47 +01:00
Martin Diehl 08009079ff avoiding numerical errors (if quaternion norm is > 1.)
use consistently "self" instead of "this"
function for misorientation
2019-02-01 20:27:29 +01:00
Martin Diehl feb87c7db8 same name as in the python module 2019-02-01 19:09:17 +01:00
Martin Diehl 11a509970b some comments 2019-02-01 10:17:20 +01:00
Martin Diehl 53a95ea84f cleaned and documented 2019-02-01 10:01:54 +01:00
Martin Diehl 17a682e883 P/epsijk parameter has nothing to do with precision 2019-02-01 08:53:57 +01:00
Martin Diehl 5cdd603671 dummy orientations module
needs to be extendend to include symmetry
2018-12-08 11:40:27 +01:00
Martin Diehl 40d38ebf55 added rotation conversions
modified versions from 3Drotations code (available on GitHub) by Marc De Graef
2018-12-08 08:02:55 +01:00