Martin Diehl
bcd3d00960
fixed test
...
this tests should ensure that each Orientation has exactly one symmetrically
equivalent representation. It was not fully correct before and works as expected
after 8fefc46f38
2022-06-10 09:26:15 +02:00
Martin Diehl
6c7f2344da
Merge branch 'normalize-to_pole' into 'development'
...
normalize to_pole output by default
See merge request damask/DAMASK!578
2022-05-15 21:46:27 +00:00
Martin Diehl
236a009e2b
Merge branch 'universal-table.set' into 'development'
...
universal Table.set
See merge request damask/DAMASK!576
2022-05-11 22:30:42 +00:00
Philip Eisenlohr
35aa8a9bc6
combine table.add and .set
2022-05-11 09:19:48 -04:00
Philip Eisenlohr
b080e414ae
normalize to_pole output by default
2022-05-11 08:55:55 -04:00
Martin Diehl
f27969caf9
documenting and testing
2022-05-08 23:22:03 +02:00
Martin Diehl
e0d2859202
better test coverage
2022-04-27 17:25:39 +02:00
Philip Eisenlohr
8f0240c67b
avoid option clash in Orientation.from_fiber_component
2022-04-27 08:59:55 -04:00
Philip Eisenlohr
378b8b2396
use consistent "shape" keyword when shape not clear from input data
2022-03-14 16:24:05 -04:00
Martin Diehl
6dcf6b972c
complaints from prospector (PEP8)
2022-02-02 09:14:41 +01:00
Martin Diehl
6657e5c4eb
testing a few corner cases
...
behavior for __eq__ is now following python standard, comparing to wrong
class gives False
2022-01-15 13:22:15 +01:00
Philip Eisenlohr
ddb25ad0e5
remove duplicate lattice_symmetries dictionary
2021-10-29 20:04:09 -04:00
Philip Eisenlohr
5ea5416f37
more robust RuntimeError test; corrected name of double-defined test
2021-08-16 13:40:10 -04:00
Philip Eisenlohr
8759d82e87
to_pole now blends; corrected help texts
2021-08-16 13:23:31 -04:00
Martin Diehl
b1dab5f398
tests working now
2021-08-08 10:44:38 +02:00
Martin Diehl
b5be4c3fa5
compatible with material.yaml
2021-08-04 17:45:25 +02:00
Martin Diehl
dd2d569482
ensure that vectorization works
2021-07-25 21:28:35 +02:00
Martin Diehl
41e5f0c06c
re-introduced multiple inheritance
2021-06-06 22:25:42 +02:00
Martin Diehl
3c8d06b6f1
encapsulating all lattice(-family) related data
2021-06-03 11:18:00 +02:00
Martin Diehl
4701eea10f
decoupling Orientation and Lattice/LatticeFamily
2021-06-03 10:02:49 +02:00
Martin Diehl
302da1f76a
separating functionality
2021-06-02 17:11:37 +02:00
Martin Diehl
b55d51491d
separating functionality
2021-06-02 08:48:45 +02:00
Martin Diehl
e281d8384f
distinguish 'family' and 'lattice'
...
this requires the user to specify a keyword ('*' notation in __init__).
Since all 'from_xxx' methods anyway require a keyword, it does not
causes much more work (one explicit keyword in case of cube orientation
when using __init__ directly).
2021-06-01 21:51:28 +02:00
Martin Diehl
684016f3e3
utility function without connection to an object
2021-06-01 21:29:35 +02:00
Martin Diehl
89fc2f05cf
no need to attach static data
...
if needed, a 'kinematics' function that provides slip direction and
plane normal rotated according to the orientation would be helpful
2021-05-27 20:23:22 +02:00
Martin Diehl
bfc3fe410f
no direct connection to Orientation object
2021-05-27 19:10:23 +02:00
Martin Diehl
545a085c93
no need to hide, just add suffix to avoid clash with string argument
2021-05-27 18:41:42 +02:00
Martin Diehl
b1ad8197f2
object oriented approach
...
Orientation (of special lattice) should not have generic attributes
Also, import at the beginning of the file
2021-04-29 20:59:54 +02:00
Martin Diehl
bc1454970c
mandatory symmetry
...
if symmetry is not of interest, damask.Rotation should be used
2021-04-06 22:49:08 +02:00
Martin Diehl
d5806075d4
distinguish isclose/allclose and __eq__
2021-04-05 22:15:03 +02:00
Philip Eisenlohr
f609b61157
Merge branch 'development' into account-for-floating-point-precision-in-orientation
2021-02-15 16:26:25 -05:00
Philip Eisenlohr
6bbd55d967
exchanged c for x in from_cubochoric
2021-02-15 16:25:36 -05:00
Philip Eisenlohr
002cfbd085
Merge branch 'account-for-floating-point-precision-in-orientation' into 'development'
...
ensures that at least one orientation in the FZ is found
See merge request damask/DAMASK!337
2021-02-15 20:53:37 +00:00
Martin Diehl
fe63adcca4
mimic python error message and ensure that error is raised
2021-02-12 18:20:39 +01:00
Sharan Roongta
9e8a243d6f
avoid name conflict with lattice parameter 'c'
2021-02-12 12:15:08 +01:00
Martin Diehl
4bcbcb34d0
ensures that at least one orientation in the FZ is found
2021-02-09 23:58:00 +01:00
Martin Diehl
d8b4b7e0f5
!= and == work componentwise
2021-01-03 21:52:19 +01:00
Martin Diehl
4d2bf37193
Merge branch 'lattice-structure-rename' into ShowGrainBoundaries
2020-11-29 20:53:58 +01:00
Martin Diehl
5ab2847b36
polishing
2020-11-23 20:06:34 +01:00
Sharan Roongta
24fabdec22
Merge branch 'development' into vector-mechanics
2020-11-22 12:02:29 +01:00
Martin Diehl
564ee6c96a
make uvw/hkl keyword-only arguments
...
avoid to prefer one over the other, since they are mutually exclusive
2020-11-18 16:45:53 +01:00
Martin Diehl
89c748fdf1
Merge remote-tracking branch 'origin/development' into vector-mechanics
2020-11-18 13:55:05 +01:00
Martin Diehl
6bedd84759
self-explanatory names
2020-11-18 08:15:04 +01:00
Martin Diehl
fd8743af5e
clearly distinguish seeds for tessellation and seeds for RNG
2020-11-15 13:49:17 +01:00
Martin Diehl
5926f84851
WIP: refactoring Orientation=Symmetry+Rotation, Lattice=subclass of Sym, and Crystal=Lattice+Rotation
2020-11-09 21:20:56 +01:00
Martin Diehl
6ab88aad2b
default format for Table is ASCII
...
hence, renamed load_ASCII/save_ASCII to load/save
2020-09-20 20:45:06 +02:00
Martin Diehl
1849ff0330
polishing
2020-09-18 15:03:51 +02:00
Martin Diehl
e2cd3da295
remaning to_xx
2020-09-18 14:29:27 +02:00
Philip Eisenlohr
96ad358f83
modified file reading/writing methods to load_X, save_X formalism
2020-09-15 01:14:05 -04:00
Martin Diehl
f6758ecc28
table class operates out of place
2020-09-14 07:04:01 +02:00