Commit Graph

16063 Commits

Author SHA1 Message Date
Martin Diehl 34fb7e921a use self-documenting code
the comments did not anything that was not clear from the
variable/function names
2022-11-20 12:58:50 +01:00
Martin Diehl ef435ee7d1 commonly used variable name 2022-11-20 09:40:15 +01:00
Philip Eisenlohr 6907ca60b3 adjustments to make mypy happy 2022-11-19 20:55:23 -05:00
Martin Diehl 9b80ff623b faster operation
explicit weighting not needed
2022-11-19 13:39:43 +01:00
Martin Diehl eb226d237f better readable 2022-11-19 13:27:32 +01:00
Martin Diehl 6db3b72c89 avoid global variables
extra memory (one vector field) required
2022-11-19 13:05:12 +01:00
Martin Diehl f22ff8fa25 avoid state-changing functions
requires explicit padding, i.e. a little bit of code duplication
2022-11-19 12:36:56 +01:00
Martin Diehl ad3c18b29b avoid use of global variables 2022-11-19 12:24:16 +01:00
Martin Diehl 7de3da50e7 include weighting operation into Gamma operator
avoids point-wise multiplication.
2022-11-19 12:05:31 +01:00
Martin Diehl cb6df618fe avoid global variables 2022-11-19 11:47:44 +01:00
Test User 9160c63adf [skip ci] updated version information after successful test of v3.0.0-alpha7-111-g30b23df2d 2022-11-19 11:31:43 +01:00
Martin Diehl 18b8923929 centralize FFTs 2022-11-19 09:37:26 +01:00
Martin Diehl 30b23df2d2 Merge branch 'extend_docstring_layout' into 'development'
util.extend_docstring: fix broken layout

Closes #212 and #169

See merge request damask/DAMASK!658
2022-11-19 08:10:00 +00:00
Daniel Otto de Mentock 5017aabcea util.extend_docstring: proper layout for extended class (incl. current return type) 2022-11-19 08:10:00 +00:00
Martin Diehl cd2a21509a avoid depenencies on global state
requires on extra forward FFT pre iteration for basic scheme
2022-11-19 09:01:57 +01:00
Martin Diehl 20da5663c0 simplified, avoid intermediate writes 2022-11-19 08:14:38 +01:00
Martin Diehl ce98cfdd5e padding is handled centrally in the FFT forward routines 2022-11-19 07:58:45 +01:00
Philip Eisenlohr 7e5a3a12ab proper dealing with default/mandatory items in material_add 2022-11-18 16:30:26 -05:00
Test User dff8a5a7f9 [skip ci] updated version information after successful test of v3.0.0-alpha7-108-gd596de7a3 2022-11-18 17:34:11 +01:00
Philip Eisenlohr d374f6a02c revert, since not working in python3.8... 2022-11-18 11:01:01 -05:00
Philip Eisenlohr 822a098659 cleaner way to specify default dict entries 2022-11-18 10:06:15 -05:00
Martin Diehl d596de7a32 Merge branch '225-tolerate-non-unit-quaternion' into 'development'
add option to normalize quaternions

Closes #225

See merge request damask/DAMASK!657
2022-11-18 09:32:18 +00:00
Test User 4e13a28ecf [skip ci] updated version information after successful test of v3.0.0-alpha7-102-g05974fb30 2022-11-18 05:17:34 +01:00
Philip Eisenlohr ce4b373f9c Merge branch 'development' into '225-tolerate-non-unit-quaternion'
# Conflicts:
#   python/damask/_rotation.py
2022-11-18 00:48:45 +00:00
Philip Eisenlohr 87579dff11 extensive style polish; no functional changes 2022-11-17 18:39:32 -05:00
Martin Diehl 05974fb300 Merge branch 'polish-rotation-error-determination' into 'development'
cleaner and more efficient determination of ValueErrors

See merge request damask/DAMASK!656
2022-11-17 17:52:14 +00:00
Test User 70248c44cb [skip ci] updated version information after successful test of v3.0.0-alpha7-97-g41226b195 2022-11-17 15:39:53 +01:00
Martin Diehl 41226b1950 Merge branch 'Marc2022.2' into 'development'
Marc2022.2

See merge request damask/DAMASK!622
2022-11-17 07:12:28 +00:00
Franz Roters bdd85a414c support for MSC.Marc 2022.2 2022-11-17 07:12:27 +00:00
Philip Eisenlohr 1f947245bb Merge branch 'development' into '225-tolerate-non-unit-quaternion'
# Conflicts:
#   python/damask/_rotation.py
#   python/tests/test_Rotation.py
2022-11-16 20:27:02 +00:00
Martin Diehl d887f0a9d8 better group if/if-elif cases
one line if only when no elif follows to avoid confusion
2022-11-16 21:13:13 +01:00
Test User 3c76eb3069 [skip ci] updated version information after successful test of v3.0.0-alpha7-94-g5d656d9c7 2022-11-16 20:34:42 +01:00
Philip Eisenlohr 25979fcd77 Merge branch 'development' into 'polish-rotation-error-determination'
# Conflicts:
#   python/damask/_rotation.py
2022-11-16 18:05:36 +00:00
Martin Diehl 5d656d9c76 Merge branch 'rotation-test-coverage' into 'development'
increase test coverage to 100%

See merge request damask/DAMASK!655
2022-11-16 14:31:43 +00:00
Test User aedeab7ef8 [skip ci] updated version information after successful test of v3.0.0-alpha7-91-g584d5b421 2022-11-16 11:56:45 +01:00
Philip Eisenlohr 740965df7c cleaner and more efficient determination of ValueErrors 2022-11-15 17:03:57 -05:00
Philip Eisenlohr 23d2337fb2 add option to normalize quaternions 2022-11-15 16:11:29 -05:00
Philip Eisenlohr 1dbf9ae9bc increase test coverage to 100% 2022-11-15 11:46:52 -05:00
Philip Eisenlohr 584d5b4213 Merge branch 'simplify-grid-scale' into 'development'
less repetition

See merge request damask/DAMASK!654
2022-11-15 14:44:53 +00:00
Franz Roters 465ee7c5e5 Merge branch '221-docstring-unification' into 'development'
unify X or list/seq/collection of X --> (A/B/C of) X in docstrings

Closes #221

See merge request damask/DAMASK!653
2022-11-15 13:47:00 +00:00
Philip Eisenlohr 045f1d39a1 add shorthand function for formatting 2022-11-14 14:52:07 -05:00
Philip Eisenlohr fa69a1876b unify X or list/seq/collection of X --> (A/B/C of) X in docstrings 2022-11-14 09:09:45 -05:00
Martin Diehl ba4ac5c108 less repetition 2022-11-14 12:42:13 +01:00
Philip Eisenlohr 2e7d59ab43 brief but comprehensive "is_complete" reporting 2022-11-11 18:07:48 -05:00
Sharan Roongta 1264d8dfc1 allow selection of modulus 2022-11-11 19:36:55 +01:00
Sharan Roongta 4fc5ba54df dummy phase dict need to be added for any new material added (similar to dream3D) 2022-11-11 18:47:01 +01:00
Test User c8e5e9e34a [skip ci] updated version information after successful test of v3.0.0-alpha7-86-g72408f389 2022-11-11 14:40:58 +01:00
Philip Eisenlohr 72408f3892 Merge branch 'result-hit-approx-times' into 'development'
Robust translation for view.times

See merge request damask/DAMASK!649
2022-11-11 06:03:14 +00:00
Philip Eisenlohr 349a39609e Robust translation for view.times 2022-11-11 06:03:14 +00:00
Sharan 13df12be1b initialising dummy arguments with None, making few changes on what is_complete should do 2022-11-11 01:54:59 +01:00