Martin Diehl
0fdefa5e78
renames:
...
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)
Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".
Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +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
Martin Diehl
a87596cefc
return rotation type (ensures proper rotation)
2020-11-19 22:36:19 +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
15af12bbb4
__ne__ is automatically set to !__eq__, __neq__ has no special meaning
2020-11-15 11:38:26 +01:00
Martin Diehl
51e5dda702
documentation + consistent string formatting
2020-11-15 10:54:20 +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
8d204ea445
[skip ci] small simplification
2020-09-28 16:17:43 +02:00
Martin Diehl
d2cfcdaca0
reference Data for ODF sampling (hybridIA) + skeleton of a test
2020-09-28 16:14:27 +02:00
Martin Diehl
d33507866d
statistically more valid test
2020-09-20 21:50:52 +02:00
Martin Diehl
5895e74029
p is never above 1
...
1e-4 is quite low, usually we are far above. 1e-3 from https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.normaltest.html
is not too far away.
2020-09-20 19:13:54 +02:00
Philip Eisenlohr
5b0b0de6b4
assertion reports offense; fixed seeds for spherical and fiber
2020-09-20 12:22:41 -04:00
Martin Diehl
70911b64ea
Merge branch 'development' into texture-components-in-rotation-class2
2020-09-16 09:57:50 +02:00
Philip Eisenlohr
c6be6fe87f
fixed spherical component sampling and testing
2020-09-15 18:40:05 -04:00
Philip Eisenlohr
0a34e342e4
fixed fiber component sampling and testing
2020-09-15 18:14:15 -04:00
Martin Diehl
9e93e8b710
test for last commit
2020-09-15 19:59:03 +02:00
Martin Diehl
3f823ca717
testing general case
2020-09-15 14:39:05 +02:00
Martin Diehl
18c38f1284
polishing
2020-09-15 13:49:44 +02:00
Martin Diehl
2a082b7983
methods for texture component calculations
2020-09-15 12:11:46 +02:00
Philip Eisenlohr
9fb3fef4b0
changed British "normalise" to US "normalize" as we (should) follow US English everywhere else.
2020-09-08 10:39:31 -04:00
Martin Diehl
72ea9a5cec
non-vectorized formulas can be implemented in a user function
2020-07-31 19:42:44 +02:00
Martin Diehl
daab5a8952
polishing
2020-07-24 22:42:16 +02:00
Martin Diehl
b0e06f180a
reading numpy manual ...
...
https://numpy.org/doc/stable/reference/generated/numpy.isclose.html
rtol=1.e-8, b=1 gives atol+btol=1.e-8+1e-9, simplified to 1e-8
2020-07-13 22:48:29 +02:00
Martin Diehl
be1eb996e0
more tests and cleaning
2020-07-01 15:12:34 +02:00
Martin Diehl
a7e3dd5a56
Merge branch 'development' into Vectorize-Orientation
2020-07-01 13:30:39 +02:00
Martin Diehl
ef0c78745a
fix for vectorized in_SST + test
2020-06-30 23:05:41 +02:00
Martin Diehl
9a83b11a99
testing IPF color (vectorization)
2020-06-30 18:41:59 +02:00
Martin Diehl
bdb461a553
more flexible and independent
2020-06-30 18:12:39 +02:00
Martin Diehl
6e27a140f6
better split
2020-06-30 17:35:52 +02:00
Martin Diehl
3d6afff27a
clearer name
2020-06-30 17:30:29 +02:00
Philip Eisenlohr
14d3b7e66d
more f-stringing
2020-06-24 16:59:55 -04:00
Martin Diehl
4c5939ef23
small polishing
2020-06-20 22:51:00 +02:00
Martin Diehl
15b43bcebf
from_directions is not general, removed
...
polishing
2020-06-20 19:57:49 +02:00
Martin Diehl
d93ed2bc5c
several improvements:
...
- vectorized from_directions
- more tests (96% coverage, only random functionality is untested)
- updated documentation, folloing numpy standard
- inverse operator '~' introduced
2020-06-20 12:20:43 +02:00
Martin Diehl
f07eaf19d0
fixed broadcasting + corresponding test
2020-05-25 16:37:08 +02:00
Martin Diehl
a26cba1457
calling a few missing statements
2020-05-24 09:06:11 +02:00
Martin Diehl
b33de48528
testing broadcasting
2020-05-22 15:12:37 +02:00
Martin Diehl
353fd3ceb6
more tests
...
now 95% test coverage of Rotation class
2020-05-20 19:16:31 +02:00
Martin Diehl
bb419d49df
polishing
2020-05-20 16:19:12 +02:00
Martin Diehl
b59d773689
store all test data together
2020-05-20 15:26:49 +02:00
Martin Diehl
9240dd59b2
mark as internal
...
all functionality (+ sanity checks) can be done with the class
functionality
2020-05-20 11:11:07 +02:00
Martin Diehl
3e00269179
again some more tests
2020-05-19 23:24:12 +02:00
Martin Diehl
1c53a37de4
more tests and adjustments to tolerances
2020-05-19 21:03:30 +02:00
Martin Diehl
a6b0aaffba
more tests
...
Hotfix needed for axis angle to matrix (not used in DAMASK, needs
further investigation)
2020-05-19 19:41:50 +02:00
Martin Diehl
de79a5af43
directly test the internal conversions
...
some work to do ...
2020-05-19 09:55:23 +02:00
Martin Diehl
065c624f94
fix for backward compatibility
2020-05-19 09:10:14 +02:00
Martin Diehl
b200894a40
bugfix and further test
2020-05-19 07:57:40 +02:00