Commit Graph

14522 Commits

Author SHA1 Message Date
Martin Diehl 889ab87914 simplified and corrected
- Optional not needed for 'None' argument
- Use TextIO for typehints, TextIOWrapper seems to cause problems
- Test for tuple/list input for public functions
- internal functions that are always called with np.ndarray don't need
  to offer flexibility. They might work, but we don't guarantee
  anything.
2021-11-23 17:59:56 +01:00
Martin Diehl 3410a8d4cb follow order of imports
- python standard library
- third party
- DAMASK internal
2021-11-23 16:34:50 +01:00
Daniel Otto de Mentock 8797282d37 added typehints for colormap module 2021-11-22 17:15:22 +01:00
Philip Eisenlohr da23c916ca polish 2021-11-21 15:49:04 -05:00
Martin Diehl 28ff027b38 exploit symmetry for stress calculation 2021-11-20 22:36:01 +01:00
Martin Diehl a857285e34 backward transformation for Voigt 2021-11-20 22:09:01 +01:00
Martin Diehl f6440f7f17 need to check 'any', adjusted tolerance 2021-11-20 15:18:48 +01:00
Martin Diehl 87100d1dce avoid conversion Voigt-6x6 to 3x3x3x3 2021-11-20 15:15:59 +01:00
Martin Diehl a6c311f410 commented 2021-11-20 12:16:32 +01:00
Martin Diehl 021d614daf using Voigt notation
This is a bugfix with a change of behavior
2021-11-19 20:44:30 +01:00
Martin Diehl ff9fa1d4f7 using Voigt notation instead of proprietary scaled 6x6 notation
Note: This results in a change of behavior for the transformation
systems of dislotwin. I assume that this fixes a bug, but still need to
confirm where the equations in lattice_C66_trans come from
2021-11-19 07:33:59 +01:00
Test User 1396ec6f56 [skip ci] updated version information after successful test of v3.0.0-alpha5-140-g202af3242 2021-11-18 23:13:16 +01:00
Martin Diehl fa8218124a avoid conversions 2021-11-18 22:02:19 +01:00
Martin Diehl 038dd1fc40 correct names
whether C66 is homogenized or not is a decision of the caller
2021-11-18 21:31:08 +01:00
Martin Diehl dfe6d0a195 more support for Voigt notation 2021-11-18 21:06:38 +01:00
Martin Diehl 020ef64d7d explicit conversions 2021-11-18 19:37:48 +01:00
Martin Diehl 202af32429 Merge branch 'dynamic-C' into 'development'
preparing for temperature dependent C by calling it dynamically

See merge request damask/DAMASK!457
2021-11-18 17:58:54 +00:00
Martin Diehl 8a8fdfc93c use Voigt notation
there is no advantage of using the symmetrized conversions
2021-11-18 17:33:08 +01:00
Martin Diehl 4d29393ced simplified 2021-11-18 16:59:23 +01:00
Martin Diehl f7a42bdc1a avoid conversion to 3333 2021-11-18 16:56:36 +01:00
Martin Diehl 8d64a1c2f2 mark compressed notation 2021-11-18 16:37:34 +01:00
Martin Diehl 72c07cfc17 'present' propagates 2021-11-18 16:33:21 +01:00
Martin Diehl 29771feaae cleaning 2021-11-18 14:43:05 +01:00
Martin Diehl eee455c0d3 polishing 2021-11-18 13:12:14 +01:00
Sharan Roongta 0badba032b Merge remote-tracking branch 'origin/development' into dynamic-C 2021-11-18 10:29:33 +01:00
Sharan Roongta 55d6b1dd1a preparing for temperature dependent C by calling it dynamically 2021-11-17 21:35:39 +01:00
Test User 52d0ba4a74 [skip ci] updated version information after successful test of v3.0.0-alpha5-135-ga3f74994b 2021-11-17 19:56:38 +01:00
Franz Roters a3f74994be Merge branch 'pretty-print-init' into 'development'
Pretty print init

See merge request damask/DAMASK!454
2021-11-17 13:20:37 +00:00
Test User b2fd78b639 [skip ci] updated version information after successful test of v3.0.0-alpha5-128-g5a901a42f 2021-11-17 13:45:27 +01:00
Martin Diehl 5a901a42ff bugfixes
- performance repo was not updated due to wrong folder
- wrong version was used when updating the master branch
2021-11-17 09:14:51 +01:00
Franz Roters 262ff03b9f more consistent formatting of loops 2021-11-17 09:11:30 +01:00
Martin Diehl 59b6b4bb2b Merge branch 'clean-CI' into development 2021-11-16 23:38:14 +01:00
Test User 3a3fc35d5b [skip ci] Merge branch 'master' into development 2021-11-16 23:32:19 +01:00
Test User c1ebd5110f Merge commit 'v3.0.0-alpha5-114-gbc8c6a9d1' 2021-11-16 23:32:14 +01:00
Test User bc8c6a9d10 [skip ci] updated version information after successful test of v3.0.0-alpha5-113-g3c7598c18 2021-11-16 23:32:14 +01:00
Test User b51174214c [skip ci] Merge branch 'master' into development 2021-11-16 19:56:51 +01:00
Test User adeff2c5a4 [skip ci] updated version information after successful test of v3.0.0-alpha5-109-g58410709b 2021-11-16 19:56:11 +01:00
Philip Eisenlohr e23b07be94 Merge branch 'grid-reporting' into 'development'
improved grid reporting

See merge request damask/DAMASK!456
2021-11-16 18:56:08 +00:00
Philip Eisenlohr 4ebf14317a Merge branch 'development' into pretty-print-init 2021-11-16 12:56:38 -05:00
Franz Roters 3c7598c189 Merge branch 'Marc-spelling' into 'development'
following official naming and website

See merge request damask/DAMASK!453
2021-11-16 16:33:05 +00:00
Franz Roters 58410709b9 Merge branch '136-skip-plasticity-calculations-for-purely-elastic' into 'development'
reduce computation effort for plasticity==none

Closes #136

See merge request damask/DAMASK!452
2021-11-16 16:28:25 +00:00
Philip Eisenlohr 66f9c771dd correct unit for size 2021-11-16 10:28:23 -05:00
Martin Diehl 259dda63df do not overwrite executable 2021-11-16 14:41:46 +01:00
Martin Diehl e2e80b9706 cleaning tests 2021-11-16 11:24:04 +01:00
Martin Diehl fd0a3f58fa improved grid reporting
- a-b-c vs. x-y-z confusing and not needed
- unit is helpful (got a request on the helpdesk)
2021-11-16 09:17:32 +01:00
Test User 7347e26204 [skip ci] updated version information after successful test of v3.0.0-alpha5-105-g020759996 2021-11-16 06:39:38 +01:00
Philip Eisenlohr 0207599961 Merge branch 'initial-eigenstrain' into 'development'
option to initialize F_i

See merge request damask/DAMASK!455
2021-11-16 03:51:58 +00:00
Philip Eisenlohr 2320b8166a use polished init-eigenstrain test 2021-11-15 17:37:51 -05:00
Martin Diehl 49a1cd6850 fix Marc and split for higher speedup 2021-11-15 22:26:41 +01:00
Philip Eisenlohr eda6a401ba fixed wrong solver object name 2021-11-15 19:52:25 +01:00