Commit Graph

11341 Commits

Author SHA1 Message Date
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
Martin Diehl be21d1289d using slicing method 2020-06-30 16:33:04 +02:00
Martin Diehl c86e3e292c WIP: cleaning namespace 2020-06-30 14:07:10 +02:00
Martin Diehl 9d94b521ad polishing 2020-06-30 13:31:58 +02:00
Martin Diehl ce7018164f WIP: more reasonable naming 2020-06-30 13:05:06 +02:00
Martin Diehl b8b34080fe enable array like slicing/iteration 2020-06-30 12:16:47 +02:00
f.basile d06daec4cb reducec vectorized is improved 2020-06-29 18:25:45 +02:00
f.basile 4875191ffd change if statement so github doesnt complain 2020-06-28 19:32:22 +02:00
f.basile a99f016438 problem with if value is true / if value == True 2020-06-28 19:29:52 +02:00
f.basile 8484d2e6cc fix github stuff 2020-06-28 19:05:10 +02:00
f.basile 352c4e95f1 more vectorized 2020-06-28 19:03:06 +02:00
Martin Diehl 6fa5ae6ebf literature from Karo 2020-06-22 23:14:58 +02:00
Martin Diehl e33895dd35 [skip ci] better logic 2020-06-21 10:37:09 +02:00
Martin Diehl 4dae3643c9 vectorized IPF color working
results also uses the vectorized form.
Still needs careful checking
2020-06-20 17:15:13 +02:00
Martin Diehl ebdb65d31f standard broadcast_to behavior 2020-06-20 16:35:22 +02:00
Martin Diehl 262346ff5a polishing 2020-06-20 16:34:19 +02:00
Martin Diehl 13bf7515ce WIP (broken?): vectorized calculation of IPF color 2020-06-19 10:54:13 +02:00
Martin Diehl 1648963b57 vectorized equivalent orientation calculation 2020-06-18 22:53:04 +02:00
Martin Diehl cdda556e18 small improvements
- hack for reporting multiple rotation
- bugfix for vectorized Rodrigues vector
- more general broadcasting (even more powerfull then np.broadcast_to)
2020-06-18 22:30:22 +02:00
Martin Diehl fe5e5babfe more useful for vectorized calculations 2020-06-18 22:29:28 +02:00
Martin Diehl f8894b921c Merge branch 'development' into Vectorize-Orientation 2020-06-18 13:59:28 +02:00
Test User 0e11d6f049 [skip ci] updated version information after successful test of v2.0.3-2654-g5c544a6e 2020-06-14 15:51:48 +02:00
Martin Diehl 5c544a6e4e bugfix
- IO_read sanities files such that they end with EOL (unless 0 byte)
- IO_readline simply counts EOL to determine number of lines
2020-06-05 20:58:36 +02:00
Martin Diehl 9cd9ee71c5 off-by-one issue fixed 2020-06-05 14:44:31 +02:00
f.basile a76b5233be fix pyflakes imported but unused in pytest 2 2020-06-05 13:54:38 +02:00
f.basile 54c20cdd3c fix pyflakes imported but unused in pytest 2020-06-05 13:53:47 +02:00
f.basile cb1779ef9a fix pep257: D415 / First line should end with a period, question mark, or exclamation point (not e) 2020-06-05 13:49:30 +02:00
f.basile eae9698d22 equivalent,related and inFZ vectorized + pytest 2020-06-05 13:48:12 +02:00
Martin Diehl a9e0e93213 need to handle case of zero length file when splitting 2020-06-05 13:38:40 +02:00
f.basile ac09a2912a fix python/damask/_orientation.py contains invalid python3 code 2 2020-06-04 16:45:44 +02:00
f.basile 6a24aee171 fix python/damask/_orientation.py contains invalid python3 code 2020-06-04 16:44:57 +02:00
f.basile 3897136f85 avoid python/damask/_orientation.py exceeds line length limit (maximum line length 141 > 132) 2020-06-04 16:43:28 +02:00
f.basile 0c41e33434 orientation.equivalent takes several rotations at the same time + small test"
"

""
2020-06-04 16:39:24 +02:00
Test User f24a580554 [skip ci] updated version information after successful test of v2.0.3-2650-g512e54a7 2020-06-03 18:35:46 +02:00
Martin Diehl 512e54a7ee before we forget ... 2020-06-02 17:34:58 +02:00
Martin Diehl 742b3718ec using iostat solved the issue for ifort
but for a zero length file, ifort returns -1
2020-06-02 10:09:19 +02:00
Martin Diehl d31417b050 Ifort can not handle 0-length files
Not sure whether this is a bug or not:
https://software.intel.com/en-us/forums/intel-fortran-compiler/topic/856789
2020-06-02 09:31:26 +02:00
Martin Diehl 79c17ec407 use names known from python 2020-06-02 07:57:19 +02:00
Martin Diehl f84e5aaaf9 bugfix (do not keep EOL in last string)
simplified further
2020-06-02 07:39:27 +02:00
Martin Diehl 1e0cc51db7 Merge branch 'development' into misc-improvements 2020-06-02 06:35:04 +02:00
Test User 4f495a7a05 [skip ci] updated version information after successful test of v2.0.3-2636-g45878b9f 2020-06-02 05:07:28 +02:00
Martin Diehl ac9fddd9e9 Merge remote-tracking branch 'origin/development' into misc-improvements 2020-06-02 00:12:50 +02:00
Martin Diehl 45878b9f63 Merge branch 'FEM-PETSC_3.11+' into 'development'
FEM petsc 3.11+

See merge request damask/DAMASK!175
2020-06-01 23:41:32 +02:00
Martin Diehl a51cc39613 proper docstring 2020-06-01 22:13:01 +02:00
Martin Diehl 37d7e593e8 correct counting of lines
counts like "wc -l" either with or without EOL in last line
2020-06-01 22:09:28 +02:00
Martin Diehl 2badf257fc same information but shorter 2020-06-01 21:36:36 +02:00
Test User 8f09d6fcef [skip ci] updated version information after successful test of v2.0.3-2629-g404c0659 2020-06-01 18:42:25 +02:00