Martin Diehl
5b104417a9
polishing
2020-09-15 19:36:21 +02:00
Martin Diehl
5b83c8ad3c
use 'error stop'
...
- does not require IO
- prints stack trace
2020-09-13 12:09:32 +02:00
Martin Diehl
3fdcebc0a0
following python recommendation
...
functions have "active" docstring
2020-09-06 17:50:32 +02:00
Sharan Roongta
7754a1ea56
Restructuring for material.yaml
2020-08-15 16:08:46 +02:00
Martin Diehl
57b4236be8
more stable version
...
tests need to consider that quaternion definition is not unique for
Re(q) = 0.
2020-07-24 22:43:59 +02:00
Martin Diehl
2b58b3df97
closer to thoroughly tested python code
...
but with extra safety measures to prevent invalid operations
2020-07-14 06:55:40 +02:00
Martin Diehl
9f79faf819
using tolerances as in python results in invalid operations
2020-07-13 22:48:08 +02:00
Martin Diehl
dbca47f113
better handling of corner cases
...
copy and paste from python code
2020-07-13 12:38:21 +02:00
Martin Diehl
23b1381eaf
give credit
2020-05-21 11:30:25 +02:00
Martin Diehl
ae20ab8d42
more reasonable name
2020-05-16 17:05:03 +02:00
Martin Diehl
ad312201dd
keep order
2020-04-29 14:53:27 +02:00
Martin Diehl
d0dcfedb47
no extra function needed
2020-04-29 14:52:18 +02:00
Martin Diehl
ce9bdc50a4
common variable names
2020-04-29 14:46:58 +02:00
Martin Diehl
9671a632b5
compare floats with tolerances
2020-04-26 14:58:07 +02:00
Martin Diehl
d61f302305
no need for separate file
2020-04-22 15:34:47 +02:00
Karo Sedighiani
03aa6f9c80
Merge branch 'vectorize_rotation' into development
2020-04-14 19:34:11 +02:00
Martin Diehl
3bfa2d679c
simpler/correct logic for eu2om
2020-04-11 11:36:37 +02:00
Martin Diehl
a2e70612ff
interface checking for LAPACK
2020-04-10 12:52:27 +02:00
Martin Diehl
33aaa94865
use centralized (and tested) funtionality
2020-03-14 17:29:08 +01:00
Martin Diehl
59fe9d06b0
shortening
2020-01-29 22:53:19 +01:00
Martin Diehl
3f96c12e06
avoid code duplication
2020-01-29 11:09:57 +01:00
Martin Diehl
cda1f4acab
more tests
...
failed unitTests report consistently with "internal error"
2020-01-26 20:53:13 +01:00
Sharan Roongta
3d6ec6955f
Merge branch 'PGI-support' into development
2020-01-24 12:24:38 +01:00
Martin Diehl
9d1c1fdb92
enforce Re(q) > 0
2020-01-14 11:33:18 +01:00
Martin Diehl
d2a9946f83
PGI compiler has problems with norm2 or dEq
2020-01-04 01:54:19 +01:00
Martin Diehl
27483bafbc
non-existing value evaluates to 0 or 1
2019-12-21 11:52:33 +01:00
Martin Diehl
8a9d3f8d6d
avoid code duplication
2019-12-02 20:09:27 +01:00
Martin Diehl
be099e38c2
might be of use
2019-12-02 16:22:27 +01:00
Martin Diehl
fd3f8e2cc7
fixed precision even if compiler flag is not set
2019-09-29 15:59:10 -07:00
Martin Diehl
78344c01ac
avoid floating point comparison
2019-09-23 05:37:36 -07:00
Martin Diehl
0655ef2c90
small precision adjustments required
...
one in a Mio might have degenerated precision...
Also now finally testing core functionality
2019-09-22 21:58:18 -07:00
Martin Diehl
9fd65b0617
need to relax tolerance for case 3
2019-09-22 16:57:16 -07:00
Martin Diehl
d1566aa5bf
GNU 8 has issues with IEEE_infinite
...
errors occur when running aggressively optimized code. GNU 9.1 seems to
be ok
2019-09-22 16:05:41 -07:00
Martin Diehl
4ff292ba70
IEEE infinite causes problems with older GNU
2019-09-22 14:46:27 -07:00
Martin Diehl
171a93ca30
also small negative values cause problems
...
Logic differs from the original formulation now
2019-09-22 14:17:17 -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
25c9bb1cd7
testing some corner cases
2019-09-22 11:29:34 -07:00
Martin Diehl
62174a8978
testing all conversions
...
using norm(Delta q) ensures that the quality of the conversion is
tested, not the numerical properties of any orientation representation.
2019-09-22 11:15:27 -07:00
Martin Diehl
6e5b9ca665
unused variables
2019-09-22 08:54:59 -07:00
Martin Diehl
372536d57e
unit test for rotation class
2019-09-22 06:53:03 -07:00
Martin Diehl
30afaf2a95
bugfic: Blocksize parameter was too small
2019-09-21 23:45:54 -07:00
Martin Diehl
44125f3f09
convenience function for symmetric 4th order tensors
...
unfortunately, array size does not qualify to distinguish generics
2019-09-20 17:36:37 -07:00
Martin Diehl
ad83c8541d
same names as in python
2019-09-20 17:18:09 -07:00
Martin Diehl
ef4204da14
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2019-09-20 16:48:50 -07:00
Martin Diehl
6c0e92d5c1
functionality to rotate 4-tensor
2019-09-20 16:47:44 -07:00
Martin Diehl
93c8aa8f75
bugfix: used uninitialized vector
2019-09-21 00:08:14 +02:00
Martin Diehl
7ff106a1fc
better readable
2019-09-20 08:45:23 -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
76eaa9855f
correct type (pReal)
2019-09-20 06:57:39 -07:00
Martin Diehl
052ee10fcb
sanity checks as in python class
2019-09-20 06:53:49 -07:00