Compare commits

...

2586 Commits

Author SHA1 Message Date
achalhp 82e6cff42e ph_mech without current state update 2024-05-07 17:23:10 +05:30
achalhp fe34aef061 Discrete twinning flag applied globally 2024-04-14 16:33:09 +05:30
achalhp eee852fe38 Created a flag to turn off discrete twin model 2024-04-08 09:34:55 +05:30
achalhp 5f0ff71236 Growth criteria 2024-03-17 09:13:32 +05:30
achalhp 117135de08 Grain boundary elements for nucleation code 2024-03-16 15:52:41 +05:30
achalhp 46da81c77d Deltas updated in deltastate subroutine 2024-03-15 16:20:11 +05:30
achalhp 45f4f56764 updated phase_mechanical_plastic 2024-03-11 11:49:57 +05:30
achalhp 2a4dc6f65d Updated Readme 2024-03-04 12:25:10 +05:30
achalhp 508c7148fe Correspondence Matrix applied 2024-03-04 11:50:03 +05:30
Test User 23a9db6f09 [skip ci] updated version information after successful test of v3.0.0-beta-45-gbd2fba288 2024-03-02 13:31:24 +05:30
Martin Diehl 89bb790be8 revert use of container for oneAPI to save space
still need to remove many packages from the Ubuntu installation.
2024-03-02 13:31:24 +05:30
Test User d2b9524c8f [skip ci] updated version information after successful test of v3.0.0-beta-42-g665abb805 2024-03-02 13:31:24 +05:30
Philip Eisenlohr 80c31ac20e Add period to sentences. 2024-03-02 13:31:24 +05:30
Martin Diehl 1d19d4242c more robust implementation
use abs() for situations with negative numbers, allow to explicitly
specify precision.
max_denominator and default N_significant are determined empirical
2024-03-02 13:31:24 +05:30
Test User 044e97cbd5 [skip ci] updated version information after successful test of v3.0.0-beta-38-gff1e8b733 2024-03-02 13:31:24 +05:30
Martin Diehl 94365b3160 is available on website 2024-03-02 13:31:24 +05:30
Test User b94b29acd6 [skip ci] updated version information after successful test of v3.0.0-beta-35-gfea5ffd41 2024-03-02 13:31:24 +05:30
Martin Diehl d6b1423c20 enable type hints for Colormap
custom constructor ensures that type of color is always an np.ndarray
2024-03-02 13:31:24 +05:30
Test User 74413859ab [skip ci] updated version information after successful test of v3.0.0-beta-32-g71cd72949 2024-03-02 13:31:24 +05:30
Philip Eisenlohr e3f27a7eb3 reversed operator order to allow for proper blending in misorientation 2024-03-02 13:31:24 +05:30
Philip Eisenlohr 608063a8e5 suggested renaming of rmComment 2024-03-02 13:31:24 +05:30
Martin Diehl 2e5f00ffbc adjust description to variable names 2024-03-02 13:31:24 +05:30
Martin Diehl e6f48b7ca7 only needed by MSC.Marc
if related functionality is need, an approach using F23s "tokenize"
should be implemented
2024-03-02 13:31:24 +05:30
Martin Diehl 12d7ee165b legacy read function, only needed by MSC.Marc 2024-03-02 13:31:24 +05:30
Martin Diehl d153925973 helpful error message in case of non-matching length 2024-03-02 13:31:24 +05:30
Martin Diehl f3884d9291 better name 2024-03-02 13:31:24 +05:30
Martin Diehl 8b24fd6b70 broadcast scalars when getting list with known size
this makes old material configurations backward compatible and allows to
shorten configurations in case that the same value is used for multiple
families
2024-03-02 13:31:24 +05:30
Martin Diehl 5dbe3f109c not used
comment signs depend on file format, so better implement specific
variants if needed instead of relying on central functionality
2024-03-02 13:31:24 +05:30
Martin Diehl 4f60ded80d unexpected and undocument functionality 2024-03-02 13:31:24 +05:30
Martin Diehl 0eb37fa4c0 make clear that functionality is YAML specific
'#' as comment sign is not universal
2024-03-02 13:31:24 +05:30
Martin Diehl 883aed9092 naming scheme as in Python library 2024-03-02 13:31:24 +05:30
Martin Diehl 30ca657706 more appropriate name (conceptually not coupled to YAML) 2024-03-02 13:31:24 +05:30
Test User 2f5a2f4bef [skip ci] updated version information after successful test of v3.0.0-beta-17-g62cdc1a53 2024-03-02 13:31:24 +05:30
Daniel Otto de Mentock 6a91c2855e not needed 2024-03-02 13:31:24 +05:30
Daniel Otto de Mentock 76912da8bf standard batch multiplication can be done with @ 2024-03-02 13:31:24 +05:30
Daniel Otto de Mentock dffc567ba0 requested can be str 2024-03-02 13:31:24 +05:30
Martin Diehl 28a83d6b69 use scipy.linalg.polar
unfortunately, it does not support arbitrary dimensions, so use it as
reference in testing only
2024-03-02 13:31:24 +05:30
Test User dccecf6753 [skip ci] updated version information after successful test of v3.0.0-beta-11-g094e18396 2024-03-02 13:31:24 +05:30
Martin Diehl b749beaa6c adjusting tolerance
1e-10 led to failing tests on GitHub Actions
2024-03-02 13:31:24 +05:30
Martin Diehl 8d93079801 restrict test to reasonable values 2024-03-02 13:31:24 +05:30
Test User a0e6742197 [skip ci] updated version information after successful test of v3.0.0-beta-7-gb8cc4af9c 2024-03-02 13:31:24 +05:30
Martin Diehl ce7bf418bc include latest tests, removed old code 2024-03-02 13:31:24 +05:30
Test User 640dbea274 [skip ci] updated version information after successful test of v3.0.0-beta-4-gc5ebeb85f 2024-03-02 13:31:24 +05:30
Martin Diehl 7f0c782602 avoid repeated allocation of a_nS
leads to segmentation fault
2024-03-02 13:31:24 +05:30
Test User 2b547e2048 [skip ci] updated version information after successful test of v3.0.0-beta-1-g300a57d5f 2024-01-24 15:55:19 +01:00
Martin Diehl 300a57d5f2
restored working test 2024-01-23 19:54:50 +01:00
Martin Diehl 6bed86488d
v3.0.0-beta 2024-01-23 15:17:28 +01:00
Martin Diehl 2e2e44dbc1
preparing for release 2024-01-23 15:14:16 +01:00
Test User 710a6efead [skip ci] updated version information after successful test of v3.0.0-alpha8-294-g7d8a6d054 2024-01-22 16:44:39 +01:00
Philip Eisenlohr 7d8a6d054b Merge branch 'sophisticated-return-type' into 'development'
Sophisticated return type

See merge request damask/DAMASK!898
2024-01-22 13:47:12 +00:00
Test User 9d1b96d3bb [skip ci] updated version information after successful test of v3.0.0-alpha8-277-ge139a68d8 2024-01-17 18:52:44 +01:00
Martin Diehl e139a68d81 Merge branch 'fix-Mg-interaction-parameters' into 'development'
marked wrong entries as unused

See merge request damask/DAMASK!899
2024-01-17 14:55:47 +00:00
Martin Diehl f68f4c6edf
marked wrong entries as unused 2024-01-17 12:45:17 +01:00
Martin Diehl db263c3af7
consistent naming 2024-01-17 09:42:44 +01:00
Martin Diehl 27a8b63a3d
safer reduction
MPI_SUM can lead to invalid/undefined values for enum
2024-01-15 23:59:02 +01:00
Martin Diehl 712b22b678
only needed for older (broken) ifort 2024-01-13 17:31:21 +01:00
Martin Diehl 1d60ce29c6
systematic naming of status code enums 2024-01-13 08:27:17 +01:00
Martin Diehl 9d3b4a270f
reasonable order 2024-01-12 07:30:37 +01:00
Martin Diehl 7ca02b3f3d
consistently use status code as return value 2024-01-11 14:59:30 +01:00
Martin Diehl 0384f93d46
propagate non-binary status information 2024-01-10 00:36:22 +01:00
Philip Eisenlohr 89ebad19d5 consistent ordering of status logical tests 2024-01-09 10:00:42 -05:00
Martin Diehl 48a38f3cf5
harmonize status reporting 2024-01-09 14:45:41 +01:00
Martin Diehl 5e7565f99f
status needs to be passed 2024-01-09 14:45:11 +01:00
Martin Diehl 62bce163cd
better status propagation 2024-01-09 13:52:57 +01:00
Martin Diehl 845d3eed33
harmonize status reporting 2024-01-09 13:52:39 +01:00
Martin Diehl 70e720c032
better to understand and more flexible 2024-01-09 07:26:28 +01:00
Martin Diehl 0ad1a14e3f
sophisticasted error handling 2024-01-08 23:35:06 +01:00
Martin Diehl 5343aecd6f
non-binary status allows to transfer more information 2024-01-08 23:34:56 +01:00
Test User 3cfcf44f9a [skip ci] updated version information after successful test of v3.0.0-alpha8-274-g9c796001e 2024-01-08 18:20:15 +01:00
Philip Eisenlohr 9c796001e7 Merge branch 'less-terminallyIll' into 'development'
removed terminallyIll as global variable

See merge request damask/DAMASK!895
2024-01-08 15:22:21 +00:00
Martin Diehl 1f9a372aa7 removed terminallyIll as global variable 2024-01-08 15:22:21 +00:00
Test User fdcea09133 [skip ci] updated version information after successful test of v3.0.0-alpha8-271-g460c660c3 2024-01-08 13:18:10 +01:00
Yi Hu 460c660c37 Merge branch 'numerics-config' into 'development'
PETSc options can be defined for every field solver

See merge request damask/DAMASK!894
2024-01-08 10:23:43 +00:00
Test User 4b21fb0b87 [skip ci] updated version information after successful test of v3.0.0-alpha8-268-g364a98258 2024-01-06 15:57:41 +01:00
Martin Diehl 364a982582 Merge branch 'Marc2023.4-clean' into 'development'
support Marc2023.4

See merge request damask/DAMASK!897
2024-01-06 12:59:59 +00:00
Franz Roters c4e450fe34 make Marc2023.4 default and unse it for testing 2024-01-04 15:23:50 +01:00
Franz Roters 725158970a add support for Marc2023.4 2024-01-04 15:22:09 +01:00
Test User 5fc006e212 [skip ci] updated version information after successful test of v3.0.0-alpha8-264-gee007b376 2024-01-04 13:02:13 +01:00
Martin Diehl ee007b3765 Merge branch 'github-actions-update' into 'development'
Github actions update

See merge request damask/DAMASK!896
2024-01-04 09:13:10 +00:00
Martin Diehl 9f6464319e
use LLVM compiler wrappers 2024-01-04 07:44:06 +01:00
Martin Diehl 24eee8d14c
run mesh test 2024-01-04 07:22:13 +01:00
Martin Diehl ae0e2a805b
most recent PETSc 2024-01-04 06:47:09 +01:00
Test User e8a3fee221 [skip ci] updated version information after successful test of v3.0.0-alpha8-259-g303061fb9 2024-01-03 19:10:00 +01:00
Philip Eisenlohr 303061fb96 Merge branch '285-attributes-of-damask-result-should-depend-on-view' into 'development'
attributes should depend on view

Closes #285

See merge request damask/DAMASK!877
2024-01-03 15:59:50 +00:00
Philip Eisenlohr 877dc43ffe use updated PRIVATE 2024-01-02 11:44:36 -05:00
Philip Eisenlohr 5da7ff56b9 Merge branch 'development' into 285-attributes-of-damask-result-should-depend-on-view 2024-01-02 09:37:59 -05:00
Sharan Roongta 68d5acc645 PETSc options can be defined for every field solver 2024-01-02 14:46:35 +01:00
Test User 53a04bcb70 [skip ci] updated version information after successful test of v3.0.0-alpha8-246-g112b5be1a 2024-01-02 13:31:04 +01:00
Sharan Roongta 112b5be1ad Merge branch 'nonlocal-compatibility-in-dependent-state' into 'development'
Nonlocal compatibility in dependent state

See merge request damask/DAMASK!891
2024-01-02 10:35:01 +00:00
Test User 2b74365b44 [skip ci] updated version information after successful test of v3.0.0-alpha8-236-gf57924e9f 2024-01-01 21:39:44 +01:00
Javier Velo f57924e9fe Merge branch 'mesh-clean' into 'development'
Mesh clean

See merge request damask/DAMASK!889
2024-01-01 18:43:09 +00:00
Martin Diehl c6dae711c5
Merge remote-tracking branch 'origin/development' into nonlocal-compatibility-in-dependent-state 2023-12-31 19:06:33 +01:00
Test User 14bafc62db [skip ci] updated version information after successful test of v3.0.0-alpha8-228-g10a2b58f8 2023-12-31 01:16:00 +01:00
Sharan 42dd33d14c not needed 2023-12-30 23:46:09 +01:00
Martin Diehl 10a2b58f86 Merge branch 'use-central-MPIerror-check' into 'development'
use central functionality

See merge request damask/DAMASK!893
2023-12-30 22:15:34 +00:00
Test User fb1852e6fa [skip ci] updated version information after successful test of v3.0.0-alpha8-225-g714b161de 2023-12-30 21:01:17 +01:00
Martin Diehl 714b161def Merge branch 'CMake-Programming' into 'development'
avoid hardcoding (requires/ensures systematic naming)

See merge request damask/DAMASK!892
2023-12-30 17:49:43 +00:00
Martin Diehl ebb2e3ca85
avoid hardcoding (requires/ensures systematic naming) 2023-12-30 16:02:00 +01:00
Martin Diehl 20fdcb91d9
use central functionality 2023-12-30 15:48:04 +01:00
Test User e39a9610d8 [skip ci] updated version information after successful test of v3.0.0-alpha8-222-g19eaf4a27 2023-12-30 05:56:52 +01:00
Sharan Roongta 19eaf4a27f Merge branch 'solver-cleanup' into 'development'
separate mechanics and thermal

See merge request damask/DAMASK!890
2023-12-30 00:23:26 +00:00
Martin Diehl ce7182dd6d
unused variables 2023-12-30 00:46:18 +01:00
Martin Diehl 0d2ff12894
compatibility is a dependent state of nonlocal 2023-12-29 23:17:24 +01:00
Martin Diehl e042f0311a
more favorable arguments 2023-12-29 22:48:29 +01:00
Martin Diehl 305c6e1b83
easier access pattern 2023-12-29 22:41:51 +01:00
Martin Diehl 62d5b45788
use modern access pattern 2023-12-29 22:33:42 +01:00
Martin Diehl f697182971
only mobile dislocations (t=1,2,3,4) are used 2023-12-29 22:30:04 +01:00
Martin Diehl 3b57143662
nonlocal works only with single constituents 2023-12-29 22:10:47 +01:00
Martin Diehl 1f1baa8b48
more systematic naming 2023-12-29 22:05:11 +01:00
Test User 47868c5829 [skip ci] updated version information after successful test of v3.0.0-alpha8-219-gb07c2a319 2023-12-29 18:43:19 +01:00
Martin Diehl c5d71168be
separate mechanics and thermal 2023-12-29 18:29:56 +01:00
Sharan Roongta 977cb83ef6 better name 2023-12-29 17:52:58 +01:00
Sharan Roongta 2368200138 not used 2023-12-29 17:38:41 +01:00
Sharan Roongta 2179530d5f Merge remote-tracking branch 'origin/development' into mesh-clean 2023-12-29 17:36:31 +01:00
Sharan Roongta b07c2a3191 Merge branch 'solver-cleanup' into 'development'
Solver cleanup

See merge request damask/DAMASK!888
2023-12-29 15:30:36 +00:00
Test User 8797af49ae [skip ci] updated version information after successful test of v3.0.0-alpha8-211-gccf4867e0 2023-12-29 11:19:04 +01:00
Martin Diehl 936328ae8b
re-enabled support for older CMake 2023-12-29 08:32:52 +01:00
Martin Diehl 376d3f6986
Merge remote-tracking branch 'origin/development' into solver-cleanup 2023-12-29 08:13:21 +01:00
Martin Diehl ccf4867e0c Merge branch 'modern-CMake-preprocessing' into 'development'
Modern CMake preprocessing

See merge request damask/DAMASK!887
2023-12-29 07:05:37 +00:00
Test User 9ebb2d4ddd [skip ci] updated version information after successful test of v3.0.0-alpha8-207-ga80fce410 2023-12-29 00:04:44 +01:00
Martin Diehl b2b3a3f3f0
loop over cells, not (element, IP) 2023-12-28 21:28:57 +01:00
Philip Eisenlohr a80fce4108 Merge branch 'modernize-nonlocal' into 'development'
Modernize nonlocal

See merge request damask/DAMASK!883
2023-12-28 18:57:49 +00:00
Martin Diehl 04fdac6556
standard access pattern 2023-12-28 19:51:22 +01:00
Martin Diehl f89e33a726 Merge branch 'solver-cleanup' into 'development'
Solver cleanup

See merge request damask/DAMASK!886
2023-12-28 18:34:15 +00:00
Martin Diehl aae99156b4
not needed 2023-12-28 19:18:25 +01:00
Martin Diehl 77e1c5a8a7
standard indexing: ce(ll) instead of element and integration point 2023-12-28 19:15:26 +01:00
Martin Diehl e4e0840479
simplified 2023-12-28 09:28:04 +01:00
Martin Diehl af7f73f379
CMake knows compiler flags 2023-12-27 15:07:04 +01:00
Martin Diehl 0d747ae5e4
(incomplete) split: spectral/FFT vs mech functionality 2023-12-24 13:26:32 +01:00
Martin Diehl 395b6b5438
don't rely on data stored in homogenization 2023-12-24 13:26:29 +01:00
Test User e1ca6bbed6 [skip ci] updated version information after successful test of v3.0.0-alpha8-199-g0f69eff16 2023-12-24 12:39:38 +01:00
Sharan Roongta 0f69eff160 Merge branch 'solver-cleanup' into 'development'
was a 'write-only' variable

See merge request damask/DAMASK!885
2023-12-24 09:42:39 +00:00
Martin Diehl 169bc977d7
was a 'write-only' variable 2023-12-23 22:39:23 +01:00
Test User 1bf16951ee [skip ci] updated version information after successful test of v3.0.0-alpha8-196-gaed2643af 2023-12-23 21:38:33 +01:00
Franz Roters aed2643af7 Merge branch 'F2023-tokenize' into 'development'
F2023 tokenize

See merge request damask/DAMASK!879
2023-12-23 18:14:49 +00:00
Philip Eisenlohr b22251a2b9 Merge branch 'properly-close-files' into 'development'
use context manager to ensure that opened files are closed

See merge request damask/DAMASK!884
2023-12-23 17:49:54 +00:00
Test User 14d73fc528 [skip ci] updated version information after successful test of v3.0.0-alpha8-189-g598b0b238 2023-12-23 18:20:44 +01:00
Franz Roters 598b0b2386 Merge branch 'fix-DREAM3Dtest-Windows' into 'development'
use OS-independent separators

See merge request damask/DAMASK!882
2023-12-23 15:12:11 +00:00
Martin Diehl a8e979e904
ensure that files are closed automatically
reported by Karo Sedighiani
2023-12-23 07:07:12 +01:00
Martin Diehl e7543fd715
can be stored as dependent state 2023-12-22 23:45:34 +01:00
Martin Diehl a603e153db
simplified 2023-12-22 23:29:46 +01:00
Martin Diehl 696cccaa66
rho_forest is a dependent state 2023-12-22 22:54:20 +01:00
Martin Diehl 0c56711032
use OS-independent separators
fix tests on Windows
2023-12-22 19:06:02 +01:00
Test User 0e4c20a430 [skip ci] updated version information after successful test of v3.0.0-alpha8-186-gaf5bbed00 2023-12-21 22:10:08 +01:00
Martin Diehl af5bbed003 Merge branch 'mesh-load-YAML' into 'development'
Mesh load yaml

See merge request damask/DAMASK!876
2023-12-21 18:38:36 +00:00
Test User 1933c896b2 [skip ci] updated version information after successful test of v3.0.0-alpha8-179-gb9d166652 2023-12-21 12:41:31 +01:00
Martin Diehl b9d1666524 Merge branch 'experimental-Flang' into 'development'
starting to support new LLVM compiler

See merge request damask/DAMASK!881
2023-12-21 09:44:13 +00:00
Martin Diehl 0518cc6730
slighly polished yaml files 2023-12-21 07:54:20 +01:00
Martin Diehl bdb30118fb
starting to support new LLVM compiler
does not work yet, but good to have for testing once in a while.
Current version is 17, require minimum 19 to make clear that it does not
work
2023-12-21 06:30:46 +01:00
Test User 808ab09053 [skip ci] updated version information after successful test of v3.0.0-alpha8-175-g5c71238bc 2023-12-21 00:13:10 +01:00
Philip Eisenlohr 5c71238bc4 Merge branch '367-string-to-real-integer-conversion' into 'development'
simplified string conversion and related error handling

Closes #367

See merge request damask/DAMASK!880
2023-12-20 20:34:51 +00:00
Philip Eisenlohr 42a752aa6b Merge branch 'development' into '285-attributes-of-damask-result-should-depend-on-view'
# Conflicts:
#   python/damask/_result.py
2023-12-20 19:14:40 +00:00
Martin Diehl 8458ea5ecf
simplified string conversion and related error handling
checking for valid characters is not sufficient because signs and
exponents are allowed to appear only at specific locations. Since
Fortrans internal file read will anyways complain about invalid
characters, the check doesn't even have a value.

reduced number of error codes by grouping all conversion related errors
2023-12-20 18:44:21 +01:00
Martin Diehl c0b9280218
variables in stop code not supported by older compilers 2023-12-20 18:41:16 +01:00
Test User 4e3b9e6586 [skip ci] updated version information after successful test of v3.0.0-alpha8-172-gec624a86a 2023-12-20 16:58:04 +01:00
Daniel Otto de Mentock ec624a86ad Merge branch '362-damask-result-hide-invalid-functionality' into 'development'
hide impossible operations

Closes #362

See merge request damask/DAMASK!875
2023-12-20 13:58:09 +00:00
Martin Diehl 51bccd98d5
check is already done centrally 2023-12-20 11:27:57 +01:00
Martin Diehl ace7d8f003
use tokenize (F2023) 2023-12-19 21:19:57 +01:00
Martin Diehl c4d061ba0a
F2023 tokenize (second form) 2023-12-19 21:19:22 +01:00
Martin Diehl 7245aa24d4
use NotImplementedError to indicate non-implemented combinations 2023-12-19 18:39:47 +01:00
Philip Eisenlohr e93618bc89 Correct docstring 2023-12-18 23:02:02 +00:00
Martin Diehl 809f5f455b
test new functionality 2023-12-18 23:30:05 +01:00
Sharan Roongta bd0eb0f154 load -> yaml 2023-12-18 17:23:05 +01:00
Martin Diehl 939d5070b3
matching name
and leave write protection status unchanged
2023-12-17 15:45:34 +01:00
Martin Diehl 95e45ab073
avoid inconsistencies 2023-12-17 13:18:21 +01:00
Martin Diehl db09ca37e6
convenient shortcut 2023-12-17 13:17:52 +01:00
Martin Diehl 7544e81349
dictionary of visible items should not be exposed to users
getters for individual items are easier to understand
Note: increments_in_range and times_in_range operate now only on the
visible increments
2023-12-17 13:16:48 +01:00
Martin Diehl 8def54c862
fixed getters for visible entities
storing time information as dictionary simplifies many operations
2023-12-17 06:55:14 +01:00
Sharan Roongta 0798548f0f this structure seems cleaner, i.e., BC per face 2023-12-17 00:04:55 +01:00
Sharan Roongta e4ad5a94a5 better names 2023-12-16 18:28:17 +01:00
Martin Diehl 38f9c1977c
attributes should depend on view
hidden attributes contain the view-independent variables, getter for
currently visible quantities
2023-12-16 16:06:35 +01:00
Amrit Jena 8828783bd4 run updated tests 2023-12-15 18:24:10 +01:00
Sharan Roongta 9a1cf1a04e first changes for YAML mesh load case, and simplification of code 2023-12-15 16:03:39 +01:00
Test User 84af516cdb [skip ci] updated version information after successful test of v3.0.0-alpha8-169-g85191cd02 2023-12-14 15:02:08 +01:00
Sharan Roongta 85191cd021 Merge branch 'CLI-improvements' into 'development'
Cli improvements

See merge request damask/DAMASK!873
2023-12-14 12:03:12 +00:00
Martin Diehl 55d08fdd6f Cli improvements 2023-12-14 12:03:11 +00:00
Test User 0ede07614d [skip ci] updated version information after successful test of v3.0.0-alpha8-166-gcc0f2d477 2023-12-13 17:54:34 +01:00
Philip Eisenlohr cc0f2d477e Merge branch 'export_DAMASK_to_DREAM3D' into 'development'
Export Dream3D output

See merge request damask/DAMASK!835
2023-12-13 14:55:47 +00:00
Test User 89c98dce67 [skip ci] updated version information after successful test of v3.0.0-alpha8-107-g5a994a522 2023-12-12 20:58:33 +01:00
Sharan Roongta 5a994a5223 Merge branch 'flexible-YAML-1Dget' into 'development'
flexible YAML get 1D

See merge request damask/DAMASK!872
2023-12-12 17:36:41 +00:00
Sharan Roongta 02acab1b5c Merge branch 'working-mesh-examples' into 'development'
Working mesh examples

See merge request damask/DAMASK!867
2023-12-12 17:10:51 +00:00
Test User cd41c6b7fc [skip ci] updated version information after successful test of v3.0.0-alpha8-98-g419e6f8f5 2023-12-12 00:14:17 +01:00
Philip Eisenlohr 419e6f8f51 Merge branch '359-io_color' into 'development'
Resolve "IO_color"

Closes #359

See merge request damask/DAMASK!870
2023-12-11 21:17:09 +00:00
Martin Diehl 127ff97a24
make internals visible 2023-12-11 15:18:43 +01:00
Martin Diehl 4320e9847d
more systematic handling of colored output
isatty for Fortran needs to translate the units/file descriptors
2023-12-11 06:58:37 +01:00
Test User 223790862b [skip ci] updated version information after successful test of v3.0.0-alpha8-90-gc277dce81 2023-12-11 00:35:45 +01:00
Martin Diehl 1b60bc14e8
more flexibility for setting default values 2023-12-10 22:22:19 +01:00
Philip Eisenlohr c277dce816 Merge branch '353-testing-euler-angles' into 'development'
correctly handling ambiguity if Phi approx pi

Closes #353

See merge request damask/DAMASK!866
2023-12-10 20:28:51 +00:00
Martin Diehl bfb207d34d
use original DREAM.3D file as reference
current loop runs over all datasets (except those that should be
ignored).
2023-12-10 19:46:09 +01:00
Martin Diehl c6ecd6d977
avoid internal compiler error for ifort/ifx 2023-12-10 12:50:22 +01:00
Martin Diehl d02c74cdd6
get flattened array from scalar or potentially ragged nested list
rather special case, but handy for flexible definition of values per
slip system
2023-12-10 12:14:57 +01:00
Philip Eisenlohr afa80bab68 use numpy intrinsics 2023-12-09 12:03:24 -05:00
Philip Eisenlohr efc76f1f19 shortened code 2023-12-09 12:03:05 -05:00
Martin Diehl f3e7f51bb4 centralized functionality for handling of colors 2023-12-09 16:56:09 +01:00
Martin Diehl 65c0a2d5ca more logical split 2023-12-09 15:19:27 +01:00
Martin Diehl 456b3fb76d functionality to check whether STDERR/STDOUT are redirected 2023-12-09 15:17:52 +01:00
Martin Diehl 5d07851d60 use stdout but do nothing if redirected 2023-12-09 14:43:29 +01:00
Martin Diehl 7063c59b6a consistent capitalization 2023-12-09 14:22:14 +01:00
Test User cd1b0a62b8 [skip ci] updated version information after successful test of v3.0.0-alpha8-85-gcacbeea03 2023-12-07 19:04:33 +01:00
Philip Eisenlohr cacbeea03f Merge branch '357-lattice-basis-disagrees-with-initialization' into 'development'
lowered tolerance

Closes #357

See merge request damask/DAMASK!868
2023-12-07 15:12:32 +00:00
Sharan Roongta 78de3e6bde Merge branch 'no-defaults-phenopowerlaw' into 'development'
No defaults phenopowerlaw

See merge request damask/DAMASK!863
2023-12-07 13:19:00 +00:00
Martin Diehl 7fc09d3413 adjusted to current situation 2023-12-07 13:30:20 +01:00
Martin Diehl 5c87435f1a small examples for testing purposes 2023-12-07 13:29:10 +01:00
Martin Diehl 255017d5be examples are too large and don't compile 2023-12-07 13:06:41 +01:00
Martin Diehl c350009479 lowered tolerance
avoid failing tests
2023-12-07 12:49:59 +01:00
Sharan Roongta b5f71d2328 Merge branch 'early-PetscOptionsClear' into 'development'
Early petsc options clear

See merge request damask/DAMASK!862
2023-12-07 11:13:29 +00:00
Martin Diehl beb58b76f2 correctly handling ambiguity if Phi approx pi 2023-12-06 22:07:57 +01:00
Test User 224ee5afdc [skip ci] updated version information after successful test of v3.0.0-alpha8-73-g34efdc56e 2023-12-06 12:12:31 +01:00
Daniel Otto de Mentock 34efdc56ec Merge branch 'SPPARKS-real-data' into 'development'
enforce little endian

See merge request damask/DAMASK!864
2023-12-06 08:38:32 +00:00
Daniel Otto de Mentock 75e9d6823f Merge branch '352-systematic-naming-of-pre-processing-modules' into 'development'
more systematic naming

Closes #352

See merge request damask/DAMASK!865
2023-12-06 08:37:27 +00:00
Martin Diehl 8ace3411b4 restore correct behavior 2023-12-05 15:58:06 +01:00
Martin Diehl 7bfb081106 more systematic naming
YAML is the base class for ConfigMaterial and LoadcaseGrid
2023-12-05 10:34:05 +01:00
Martin Diehl 8e5f5cc124 simplifying tests 2023-12-05 07:14:14 +01:00
Martin Diehl 660b472747 centralized function for ones/zeros 2023-12-04 23:38:58 +01:00
Martin Diehl 1995934371 improved handling of phases without orientation
inactive phases and phases without orientation will get 999 numerical
values
2023-12-04 23:16:24 +01:00
Martin Diehl 5923aa2493 ensure closing of file 2023-12-04 22:53:35 +01:00
Martin Diehl b5e34e7949 Merge remote-tracking branch 'origin/development' into export_DAMASK_to_DREAM3D 2023-12-04 22:37:05 +01:00
Martin Diehl ecf68db814 handle missing orientation data 2023-12-04 22:35:44 +01:00
Martin Diehl 1245ec7d94 grouped 2023-12-04 22:25:28 +01:00
Martin Diehl ffd3cfe951 simplified 2023-12-04 22:16:31 +01:00
Martin Diehl 213e8aa4be avoid monkey patching 2023-12-04 21:50:02 +01:00
Martin Diehl 7a5e08c14d consistent name 2023-12-04 19:59:01 +01:00
Martin Diehl faedb49a20 simplified 2023-12-04 19:33:40 +01:00
Martin Diehl ab24d444fc limit to structures available in DAMASK 2023-12-04 19:25:41 +01:00
Martin Diehl a5b5972e9a already documented 2023-12-04 16:48:09 +01:00
Martin Diehl 1621473d99 should not have default values 2023-12-04 16:44:57 +01:00
Martin Diehl 731057f7e0 consistent with other plasticity laws 2023-12-04 16:25:31 +01:00
Vitesh Shah 9e51ab160c ditching the patched copy approach
Further details or things to look at:
2a48bf504e (note_12028)
2023-12-01 12:34:59 +01:00
Test User ad60193502 [skip ci] updated version information after successful test of v3.0.0-alpha8-67-g9f8ecd44b 2023-11-30 09:28:19 +01:00
Martin Diehl 4d436f7ed9 realistic SPPARKS file
should not matter because reading is delegated to VTK, but better safe
than sorry
2023-11-30 07:05:09 +01:00
Martin Diehl 5ffe9ce943 enforce little endian
default on common systems, but the only format the Fortran parser
understands
2023-11-30 07:04:33 +01:00
Daniel Otto de Mentock 9f8ecd44b0 Merge branch '351-damask-grid-load_spparks' into 'development'
load data from SPPARKS

Closes #351

See merge request damask/DAMASK!861
2023-11-29 14:01:14 +00:00
Test User 59793168be [skip ci] updated version information after successful test of v3.0.0-alpha8-58-gd8900558c 2023-11-29 03:35:55 +01:00
Cathy Bing d8900558cd Merge branch 'climb_stress_free' into 'development'
edge dipole annihilation via climb is not disabled anymore when stress is zero

See merge request damask/DAMASK!860
2023-11-29 00:38:41 +00:00
Cathy Bing 4542d97725 merged the newest development 2023-11-28 17:28:58 -05:00
Martin Diehl 89ba785938 using correct name (confirmed by user with original request) 2023-11-28 21:08:53 +01:00
Martin Diehl 38c7e6a8e4 consistent code 2023-11-28 20:57:24 +01:00
Philip Eisenlohr 118247111b slightly shorter code 2023-11-28 12:31:47 -05:00
Philip Eisenlohr 7e56abf41c language polish 2023-11-28 17:21:06 +00:00
Martin Diehl 59765ab0df typo: do not overwrite 'label' 2023-11-28 14:40:14 +01:00
Vitesh Shah 338fce8b5d nested methods and attributes need to added individually 2023-11-28 12:52:57 +01:00
Test User 33b1d7902d [skip ci] updated version information after successful test of v3.0.0-alpha8-53-g05c4fcbea 2023-11-28 12:31:38 +01:00
Martin Diehl 9aa68e83a2 new delete function for VTK
follows 'damask.Table' and makes GeomGrid.load_SPPARKS easier
2023-11-28 11:51:14 +01:00
Martin Diehl 9710ec11f0 load data from SPPARKS
https://spparks.github.io/
2023-11-28 10:29:45 +01:00
Vitesh Shah 05da811afe adding ._hl method to modified h5py class
Simple loading of module from importlib misses the extra methods and
attributes associated with h5py.
For h5py._hl is missing which is needed for nullterm strings in
attributes.
2023-11-28 09:45:51 +01:00
Sharan Roongta 05c4fcbeaf Merge branch 'Grid2GeomGrid' into 'development'
more systematic name

See merge request damask/DAMASK!859
2023-11-28 07:23:50 +00:00
Cathy Bing b0ba1e78b7 two-step math_clip 2023-11-28 01:09:20 -05:00
Cathy Bing 779a6e7a05 edge dipole annihilation via climb is not disabled anymore when stress is zero 2023-11-28 00:15:18 -05:00
Test User 8427adcaec [skip ci] updated version information after successful test of v3.0.0-alpha8-50-gf02c1dc44 2023-11-28 01:40:16 +01:00
Martin Diehl 4c5f980d00 more systematic name 2023-11-27 23:14:23 +01:00
Sharan Roongta f02c1dc44a Merge branch 'no-lc-for-parameters' into 'development'
use consistently case-sensitive parameters

See merge request damask/DAMASK!858
2023-11-27 22:09:35 +00:00
Test User 558ab1c98b [skip ci] updated version information after successful test of v3.0.0-alpha8-47-gf86d4be18 2023-11-27 15:53:09 +01:00
Vitesh Shah 1cf8696cbb correct crystal structure array shape 2023-11-27 15:51:02 +01:00
Vitesh Shah 986d6a5973 compare the bytes types better 2023-11-27 15:34:02 +01:00
Vitesh Shah e3d85e09c8 even with patched copy the class needs to called 2023-11-27 14:00:17 +01:00
Daniel Otto de Mentock f86d4be18a Merge branch 'more-tests' into 'development'
More tests

See merge request damask/DAMASK!857
2023-11-27 12:53:54 +00:00
Vitesh Shah b1c2e51528 name correction 2023-11-27 11:10:37 +01:00
Martin Diehl 1fb5e159ad larger tolerance (test failed on Intel) 2023-11-27 06:41:13 +01:00
Martin Diehl 2018b623ce wrong capitalization 2023-11-26 19:09:34 +01:00
Martin Diehl a38ec385c7 test simple tensor operations 2023-11-26 19:03:17 +01:00
Martin Diehl 246e708e5b systematic testing of read/write 2023-11-26 13:05:39 +01:00
Martin Diehl 8bc5b30e54 dim 6 and 7 are not used
trivial do add if needed
2023-11-26 12:49:34 +01:00
Martin Diehl 1cf1f9df31 test more dimensions 2023-11-26 12:38:35 +01:00
Martin Diehl 4749b36ae9 simplified 2023-11-26 12:23:37 +01:00
Martin Diehl 3c62af3fe5 test 2D arrays and read-only file opening 2023-11-26 08:16:24 +01:00
Martin Diehl d1432e5bd8 allow MPI parallel execution 2023-11-26 08:15:40 +01:00
Martin Diehl 57ee7e86e4 better name 2023-11-26 07:50:22 +01:00
Martin Diehl 690d63734a avoid message about unused parameters 2023-11-25 20:39:39 +01:00
Martin Diehl 4d525c35bc use consistently case-sensitive parameters 2023-11-25 16:21:00 +01:00
Martin Diehl febbddd36a starting to test system_routines 2023-11-25 16:12:37 +01:00
Test User 4fa292ad20 [skip ci] updated version information after successful test of v3.0.0-alpha8-34-g24864f2f2 2023-11-25 15:44:30 +01:00
Martin Diehl 665e2d5b38 test IO_read and IO_readlines 2023-11-25 15:26:41 +01:00
Martin Diehl 24864f2f22 Merge branch 'github-actions-PETSc-3.20.1' into 'development'
PETSc 3.20.1

See merge request damask/DAMASK!856
2023-11-25 11:37:27 +00:00
Martin Diehl c21afafce5 PETSc 3.20.1 2023-11-25 10:27:08 +01:00
Test User 0ec8317202 [skip ci] updated version information after successful test of v3.0.0-alpha8-31-gbfa1cf677 2023-11-24 12:14:27 +01:00
Daniel Otto de Mentock bfa1cf6773 Merge branch 'char-twin-simplification2' into 'development'
Char twin simplification2

See merge request damask/DAMASK!855
2023-11-24 09:16:04 +00:00
Vitesh Shah 30b546f2dd message in case of unstructured grids and more constituents 2023-11-24 08:03:16 +01:00
Vitesh Shah fb823c81e7 not needed since patched copy of module is used 2023-11-24 07:55:41 +01:00
Vitesh Shah 2a48bf504e attempting patched copy of h5py
https://stackoverflow.com/questions/11170949/how-to-make-a-copy-of-a-python-module-at-runtime
2023-11-24 07:55:41 +01:00
Vitesh Shah 597175d8fd tests for PhaseName and CrystalStructure datasets and their attributes 2023-11-24 07:55:41 +01:00
Vitesh Shah 66dc5af5e0 needs specific datatype to write string arrays 2023-11-24 07:55:40 +01:00
Vitesh Shah 5dd9445f58 polishing 2023-11-24 07:55:03 +01:00
Martin Diehl b9e41732d4 documented 2023-11-23 11:29:18 +01:00
Martin Diehl f9c34e799e indicator not needed 2023-11-22 20:32:28 +01:00
Martin Diehl eaf65e5665 loop not needed 2023-11-22 20:31:35 +01:00
Martin Diehl 34db73b068 more logical order 2023-11-22 20:22:05 +01:00
Test User f6c463d2a6 [skip ci] updated version information after successful test of v3.0.0-alpha8-25-g0a73cd886 2023-11-22 18:40:02 +01:00
Sharan Roongta 0a73cd8869 Merge branch 'no-restart-for-mesh' into 'development'
restart (currently) not supported for mesh solver

See merge request damask/DAMASK!850
2023-11-22 15:05:14 +00:00
Daniel Otto de Mentock 0e626490df Merge branch 'char-twin-simplification' into 'development'
no need to expand, is a property of the family

See merge request damask/DAMASK!851
2023-11-22 15:02:52 +00:00
Test User 46a087e9ed [skip ci] updated version information after successful test of v3.0.0-alpha8-20-g1aa698c46 2023-11-22 13:06:13 +01:00
Martin Diehl 1aa698c46a Merge branch 'improve-github-actions' into 'development'
Improve github actions

See merge request damask/DAMASK!854
2023-11-22 10:08:49 +00:00
Martin Diehl 40c0fbf9aa was fixed 2023-11-22 08:02:31 +01:00
Martin Diehl 19005faa9d include most recent GNU compiler 2023-11-22 08:01:30 +01:00
Test User e3e6aa2fc8 [skip ci] updated version information after successful test of v3.0.0-alpha8-16-g1be424b69 2023-11-21 17:18:39 +01:00
Martin Diehl 1be424b697 Merge branch 'pyton3.12-github' into 'development'
include most recent Python version

See merge request damask/DAMASK!853
2023-11-21 13:17:08 +00:00
Test User d2b80c350e [skip ci] updated version information after successful test of v3.0.0-alpha8-13-gb85a754ae 2023-11-21 08:55:48 +01:00
Martin Diehl b85a754aec Merge branch 'oneapi-image-github' into 'development'
use container with oneapi installation

See merge request damask/DAMASK!852
2023-11-21 05:57:58 +00:00
Martin Diehl 693f3cf07e include most recent Python version 2023-11-21 00:05:40 +01:00
Test User 71a7d8e3d6 [skip ci] updated version information after successful test of v3.0.0-alpha8-10-gb63dd758d 2023-11-21 00:03:21 +01:00
Martin Diehl eddeb8b695 use container with oneapi installation
avoids long installation
2023-11-20 23:58:34 +01:00
Martin Diehl b63dd758dd Merge branch 'no-Intel-classic' into 'development'
icc does not exist anymore

See merge request damask/DAMASK!849
2023-11-20 20:07:13 +00:00
Martin Diehl b77a4145d0 no need to expand, is a property of the family 2023-11-20 19:31:56 +01:00
Philip Eisenlohr 56ae726f05 Merge branch 'fix-C66-twin' into 'development'
bugfix: used wrong definition

See merge request damask/DAMASK!848
2023-11-20 17:57:54 +00:00
Martin Diehl 5d6fcd497b icc does not exist anymore 2023-11-20 16:47:39 +01:00
Martin Diehl 5db4c3ecf6 document 2023-11-20 16:19:20 +01:00
Philip Eisenlohr 873ca78b8c Merge branch 'avoid-nan-cast-warning' into 'development'
Silence Runtime warning when casting (masking) NaN values to color

See merge request damask/DAMASK!847
2023-11-20 14:51:31 +00:00
Martin Diehl fbdab24f4b bugfix: used wrong definition
looks like a copy and paste error
2023-11-20 13:27:34 +01:00
Martin Diehl c0a97a93fe do not overwrite input, use specialized function 2023-11-20 12:27:23 +01:00
Martin Diehl 39dacbc972 easier to understand 2023-11-20 11:49:59 +01:00
Martin Diehl 57fab5db1c restart (currently) not supported for mesh solver 2023-11-20 09:39:59 +01:00
Philip Eisenlohr d8baf3c754 reset field to average of bounds avoiding casting masked NaNs 2023-11-18 20:06:15 -05:00
Test User 9a12bf5ee7 [skip ci] updated version information after successful test of v3.0.0-alpha8 2023-11-14 21:15:45 +01:00
Martin Diehl b642c9cf00 v3.0.0-alpha8 2023-11-14 16:54:25 +01:00
Test User 2f66a86830 [skip ci] updated version information after successful test of v3.0.0-alpha7-924-g66b36d471 2023-11-14 14:52:26 +01:00
Daniel Otto de Mentock 66b36d4711 Merge branch 'new-elastic-constants' into 'development'
new temperature-dependent elastic constants

See merge request damask/DAMASK!845
2023-11-14 11:17:33 +00:00
Martin Diehl cc6f2250d3 Merge branch 'corrected-legacy-script' into 'development'
corrected and adapted script for Marc2023.x

See merge request damask/DAMASK!846
2023-11-14 10:16:55 +00:00
Vitesh Shah 56a9dd843c polishing 2023-11-10 12:56:18 +01:00
Vitesh Shah 562e2ea932 updated the files 2023-11-10 12:45:02 +01:00
Vitesh Shah df697981ee avoid file duplication 2023-11-10 12:45:02 +01:00
Vitesh Shah a257fe3e1f updated the resource files 2023-11-10 12:45:02 +01:00
Vitesh Shah 27168f2234 get crystal structure info from DADF5 2023-11-10 12:45:01 +01:00
Vitesh Shah 796e1ae2d5 increment number with leading zeroes 2023-11-10 12:45:01 +01:00
Test User f8f8e3b441 [skip ci] updated version information after successful test of v3.0.0-alpha7-919-g5877eafa6 2023-11-07 21:23:41 +01:00
Martin Diehl 5877eafa61 Merge branch 'fix-relationship-operations' into 'development'
proper bi-directional orientation relationships

Closes #333 and #322

See merge request damask/DAMASK!841
2023-11-07 18:23:57 +00:00
Martin Diehl b332fd2b30 restored type hints
for some strange reason, ignore is needed for damask.Crystal.__eq__
2023-11-07 11:32:40 +01:00
Martin Diehl fbfe2affb7 Merge remote-tracking branch 'origin/master' into fix-relationship-operations 2023-11-07 10:27:29 +01:00
Martin Diehl 1855bafd6a additional, self-explanatory tests 2023-11-07 01:09:25 +01:00
Martin Diehl f687e0a433 helpful error message 2023-11-06 23:42:11 +01:00
Test User 7ea8f5a7da [skip ci] updated version information after successful test of v3.0.0-alpha7-908-g8ff6e28c9 2023-11-06 23:29:17 +01:00
Daniel Otto de Mentock 8ff6e28c91 Merge branch 'fix-mesh-for-new-PETSc' into 'development'
mesh works again for PETSc >= 3.19

Closes #320

See merge request damask/DAMASK!843
2023-11-06 20:30:56 +00:00
Philip Eisenlohr 50d47908fb clearer help 2023-11-06 10:00:07 -05:00
Philip Eisenlohr d38ab0e07a signed direction as in KS paper; added Pitsch and Burgers references 2023-11-03 18:51:57 -04:00
Martin Diehl bb234938cc whitespace polishing 2023-11-02 15:43:11 +01:00
Martin Diehl 5a5f1cfc5b mesh works again for PETSc >= 3.19
needs also bugfix in PETSc: https://gitlab.com/petsc/petsc/-/merge_requests/6986
2023-11-02 15:41:20 +01:00
Martin Diehl 80c6823777 new temperature-dependent elastic constants 2023-10-30 00:40:41 +01:00
Test User 51526b6ae4 [skip ci] updated version information after successful test of v3.0.0-alpha7-904-g2a00de5fb 2023-10-27 19:56:50 +02:00
Franz Roters f67660902c corrected and adapted script for Marc2023.x 2023-10-27 17:18:02 +02:00
Franz Roters 2a00de5fbb Merge branch '344-readme-md-outlining-different-repositories' into 'development'
Update README.md with repository locations

Closes #344

See merge request damask/DAMASK!842
2023-10-27 15:09:00 +00:00
Philip Eisenlohr 80061fafd6 Update README.md with repository locations 2023-10-27 15:09:00 +00:00
Philip Eisenlohr 934835f93c proper return value when lacking lattice information 2023-10-24 15:00:19 -04:00
Philip Eisenlohr 926d86935f added typehinting 2023-10-24 14:39:17 -04:00
Philip Eisenlohr 199b84d096 proper bi-directional orientation relationships 2023-10-23 22:53:27 -04:00
Test User ff2c66f8f0 [skip ci] updated version information after successful test of v3.0.0-alpha7-901-ga25d1b1b9 2023-10-21 08:43:41 +02:00
Martin Diehl a25d1b1b94 Merge branch 'libfyaml0.9-compatibility' into 'development'
Libfyaml0.9 compatibility

See merge request damask/DAMASK!839
2023-10-21 04:45:56 +00:00
Test User 3268ed2eb0 [skip ci] updated version information after successful test of v3.0.0-alpha7-898-g7d3692317 2023-10-21 03:24:36 +02:00
Martin Diehl 7d36923178 Merge branch 'new-Marc-versions' into 'development'
New marc versions

See merge request damask/DAMASK!838
2023-10-20 23:26:18 +00:00
Martin Diehl 2cfcac67ce updated to 2023.3 2023-10-20 23:29:09 +02:00
Test User 15cfeff898 [skip ci] updated version information after successful test of v3.0.0-alpha7-891-g72fa02f58 2023-10-20 20:04:54 +02:00
Martin Diehl d1807b1860 libfyaml 0.9 has a list of libraries 2023-10-20 17:30:28 +02:00
Philip Eisenlohr 72fa02f586 Merge branch 'fix-seeds-from_grid' into 'development'
correct calculation for origin

See merge request damask/DAMASK!837
2023-10-20 15:16:42 +00:00
Franz Roters 755fa7e5d8 make Marc 2023.3 the default version and use it for testing 2023-10-18 16:21:29 +02:00
Franz Roters ab41273df7 make Marc 2023.2 and use it for testing with new reference results 2023-10-18 13:56:27 +02:00
Franz Roters 7eb16ddc75 add support for Marc2023.3 2023-10-18 13:54:15 +02:00
Franz Roters e5864efb8a add support for Marc2023.2 2023-10-18 13:53:23 +02:00
Test User 0bcea6d9b0 [skip ci] updated version information after successful test of v3.0.0-alpha7-888-g5bb7e54df 2023-10-16 18:59:38 +02:00
Martin Diehl 467638e952 do not include origin into calculation 2023-10-16 15:33:57 +02:00
Daniel Otto de Mentock 5bb7e54dfc Merge branch '308-fortran-type-for-result-and-hdf5_utilities-not-found-when-using-classic-intel-compiler' into 'development'
fix issues with compilation

Closes #308

See merge request damask/DAMASK!822
2023-10-16 12:59:20 +00:00
Martin Diehl 134e640ffe Merge branch '336-performance-degradation-for-new-non-schmid-formulation' into 'development'
no merge in hot loop

See merge request damask/DAMASK!833
2023-10-16 12:53:40 +00:00
Test User 2e153086c9 [skip ci] updated version information after successful test of v3.0.0-alpha7-883-g3517c7dee 2023-10-13 16:41:08 +02:00
Vitesh f71b1c4dc3 Merge branch 'development' into 'export_DAMASK_to_DREAM3D'
# Conflicts:
#   python/damask/_result.py
2023-10-13 12:21:46 +00:00
Daniel Otto de Mentock 3517c7dee3 Merge branch 'petsc-3.20' into 'development'
PETSc 3.20

See merge request damask/DAMASK!834
2023-10-13 11:14:57 +00:00
Vitesh Shah 556ac6bfed legacy code not needed anymore 2023-10-13 11:27:35 +02:00
Vitesh Shah 8bb193cc70 reset the attribute manager to default 2023-10-09 20:20:34 +02:00
Martin Diehl 57e02bb991 PETSc 3.20 2023-10-09 20:10:05 +02:00
Test User c48cee1af2 [skip ci] updated version information after successful test of v3.0.0-alpha7-880-g3644fe586 2023-10-09 17:09:09 +02:00
Philip Eisenlohr 3644fe586a Merge branch 'test_YAML_types' into 'development'
testing YAML_types

See merge request damask/DAMASK!832
2023-10-09 13:04:59 +00:00
Test User 0c7384b95d [skip ci] updated version information after successful test of v3.0.0-alpha7-877-g5fc3b23cc 2023-10-07 02:22:05 +02:00
Martin Diehl 5fc3b23cc4 Merge branch 'smart-blend' into 'development'
robust Rotation/Orientation blending

See merge request damask/DAMASK!831
2023-10-06 22:14:31 +00:00
Philip Eisenlohr 51a35dd17c correct in_disorientation_FZ 2023-10-06 09:41:36 -04:00
Test User 23ec58fb4a [skip ci] updated version information after successful test of v3.0.0-alpha7-871-g4f2c726b9 2023-10-06 14:10:11 +02:00
Daniel Otto de Mentock 4f2c726b95 Merge branch 'result-typehints' into 'development'
more specific typehints

See merge request damask/DAMASK!825
2023-10-06 08:43:37 +00:00
Martin Diehl b26398319b testing YAML_types 2023-10-05 22:58:31 +02:00
Martin Diehl 0e353d9feb no merge in hot loop
results in measureable run time decrease for Intel and GNU compilers
2023-10-05 17:13:46 +02:00
Philip Eisenlohr 634f9fd1f5 extended slicing types, but have to ignore..! 2023-10-04 10:38:03 -04:00
Philip Eisenlohr afe2094c65 remove debug print 2023-10-04 10:29:55 -04:00
Philip Eisenlohr 550c757cdc overall smart blending; more robust disFZ 2023-10-04 09:42:09 -04:00
Philip Eisenlohr 983a376f45 bugfix; serial string use 2023-10-04 09:10:11 -04:00
Martin Diehl a0dc25c16e more specific typehints 2023-10-03 23:02:12 +02:00
Vitesh Shah 85010a8d6d the monkey patch should be used only for export Dream3D
Initially  it got activated at the start of _result.py
This led to failure of other tests.
Use the patch only when needed.
2023-10-02 15:11:02 +02:00
Test User 05e675bbdb [skip ci] updated version information after successful test of v3.0.0-alpha7-867-g026dd3c14 2023-09-29 18:53:37 +02:00
Franz Roters 026dd3c14b Merge branch 'large-tmp' into 'development'
TMPDIR controls the behavior of mktemp

See merge request damask/DAMASK!829
2023-09-29 14:50:40 +00:00
Vitesh Shah fc44112109 change of variable name after merge 2023-09-29 09:23:58 +02:00
Vitesh Shah 5ba83fd05b Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-09-29 08:00:23 +02:00
Test User 77675e5890 [skip ci] updated version information after successful test of v3.0.0-alpha7-864-g9cf37c493 2023-09-28 15:32:49 +02:00
Martin Diehl baf04ad5eb TMPDIR controls the behavior of mktemp 2023-09-28 11:52:34 +02:00
Martin Diehl 9cf37c4939 Merge branch 'test-polynomials' into 'development'
add polynomials to DAMASK_test

See merge request damask/DAMASK!827
2023-09-28 09:36:44 +00:00
Martin Diehl f1b0f68000 do not report "self coverage" 2023-09-28 07:20:09 +02:00
Philip Eisenlohr dab5ba1e60 call polynomials_selfTest in DAMASK_test 2023-09-28 07:07:49 +02:00
Martin Diehl 8489658cb4 avoid use of unitialized variable (x_ref)
further polishing for better readability
2023-09-27 20:56:49 +02:00
Franz Roters a5a4ba0a54 Merge branch 'small-dislotwin-fix' into 'development'
fix erroneous check for N_tr

See merge request damask/DAMASK!826
2023-09-27 12:23:44 +00:00
Philip Eisenlohr f8cead9e0a Merge branch 'no-FMA' into 'development'
let the compiler do the work

See merge request damask/DAMASK!824
2023-09-27 12:06:35 +00:00
Test User 03259c8895 [skip ci] updated version information after successful test of v3.0.0-alpha7-854-g44916cfc4 2023-09-27 12:52:14 +02:00
Daniel Otto de Mentock 44916cfc45 Merge branch 'better-gfortran-debug' into 'development'
simplify debugging

See merge request damask/DAMASK!799
2023-09-27 08:12:36 +00:00
Franz Roters 68ed6937cb Merge branch 'nonSchmid-adaptation' into 'development'
Non-Schmid adaptation

Closes #324

See merge request damask/DAMASK!817
2023-09-27 07:05:34 +00:00
Philip Eisenlohr 836ddb4ba5 easier to understand (and maybe failsafe against empty coef) 2023-09-26 22:27:28 +00:00
Philip Eisenlohr f7e06660b1 Merge branch 'development' into nonSchmid-adaptation 2023-09-26 17:57:30 -04:00
Philip Eisenlohr 5f2b73f815 use merged PRIVATE 2023-09-26 09:44:48 -04:00
Philip Eisenlohr 3621f0e8a1 check for N_tr, not twice N_tw 2023-09-26 09:17:25 -04:00
Test User 96ee2af279 [skip ci] updated version information after successful test of v3.0.0-alpha7-837-gc3d3ea658 2023-09-25 21:01:01 +02:00
Daniel Otto de Mentock c3d3ea6588 Merge branch '272-parallel-post-processing' into 'development'
no multiprocessing for adding datasets

Closes #272

See merge request damask/DAMASK!820
2023-09-25 15:31:43 +00:00
Daniel Otto de Mentock 1750e5cc30 Merge branch 'nicer-assert-allclose' into 'development'
Nicer assert allclose

See merge request damask/DAMASK!818
2023-09-25 14:14:42 +00:00
Martin Diehl 28cb72ced0 simplified 2023-09-25 13:58:17 +02:00
Test User eff54f9566 [skip ci] updated version information after successful test of v3.0.0-alpha7-824-g5b6aeaf4b 2023-09-24 23:43:25 +02:00
Martin Diehl 5b6aeaf4b3 Merge branch 'shaped-rotation-application' into 'development'
Shaped rotation application

See merge request damask/DAMASK!819
2023-09-24 18:49:41 +00:00
Martin Diehl c619bed975 let the compiler do the work
compilers are aware of the FMA instruction and use it
2023-09-24 06:31:36 +02:00
Test User a99daf5e14 [skip ci] updated version information after successful test of v3.0.0-alpha7-817-g57d8a6c43 2023-09-24 03:16:13 +02:00
Philip Eisenlohr 57d8a6c438 Merge branch 'load-DREAM3d-improvements' into 'development'
Load dream3d improvements

See merge request damask/DAMASK!821
2023-09-23 23:14:03 +00:00
Martin Diehl 8b421ba7a7 simplified 2023-09-23 06:20:25 +02:00
Martin Diehl ac898be888 fix issues with compilation
preprocessor statement or unsupported private/public statemens for
modules seem to confuse CMake
2023-09-22 20:24:58 +02:00
Martin Diehl 4a943ff844 ensure closed file 2023-09-22 15:18:29 +02:00
Martin Diehl 36d2ae1c2a avoid repeated opening of files 2023-09-22 15:17:58 +02:00
Martin Diehl d832d4cf17 improved documentation 2023-09-22 15:17:28 +02:00
Martin Diehl ee4cfe4b24 new name
'prod' was introduced in numpy 1.7, 'product' will be removed in 2.0
2023-09-22 11:46:39 +02:00
Martin Diehl 36c13d2e58 no need to have this as class method
definition as class method was needed to be visible in multiprocessing
2023-09-22 10:58:25 +02:00
Martin Diehl b0bb904c89 no multiprocessing for adding datasets
multiprocessing was not reliable on different platform and caused all
kinds of weird behavior
2023-09-22 08:36:34 +02:00
Martin Diehl d7a9b76ba9 better debug for Intel LLVM compiler 2023-09-22 07:17:57 +02:00
Martin Diehl 7c2e870d17 polishing 2023-09-22 07:10:08 +02:00
Philip Eisenlohr 23c6270d4a added examples 2023-09-21 17:27:38 -04:00
Martin Diehl eeb5de0531 easier to understand 2023-09-21 22:32:38 +02:00
Philip Eisenlohr 177da6e2cb use clean PRIVATE 2023-09-21 08:15:56 -04:00
Philip Eisenlohr 108ef2a954 reflect updated shape blending 2023-09-19 18:05:12 -04:00
Philip Eisenlohr 4c4c1fbcc8 small polish 2023-09-19 18:03:55 -04:00
Philip Eisenlohr 0704f1122e result (and object interpretation) "flows" from rotation and data shapes 2023-09-19 17:50:28 -04:00
Philip Eisenlohr b3f98ab877 more flexible shapeblending 2023-09-19 17:43:27 -04:00
Philip Eisenlohr 4b6f66b254 new PRIVATE content 2023-09-19 09:17:06 -04:00
Philip Eisenlohr 16b029cf39 bug fix: used wrong index for slip family-dependent coeffs 2023-09-18 09:44:52 -04:00
Philip Eisenlohr 6a75a1ad23 avoid uninitialized mem access 2023-09-18 14:49:53 +02:00
Philip Eisenlohr 4d34c40733 use correct plastic_detect_changes test 2023-09-16 15:04:05 -04:00
Philip Eisenlohr e4fee4aba4 updated PRIVATE 2023-09-16 14:30:24 -04:00
Philip Eisenlohr fbeb5a15f0 include updated conftest.py in PRIVATE 2023-09-15 21:53:42 -04:00
Philip Eisenlohr 6d2b175018 removed obsolete function 2023-09-15 21:41:37 -04:00
Philip Eisenlohr ee058c53ec extended math_expand docstring 2023-09-15 21:21:50 -04:00
Philip Eisenlohr dd3d5483d6 adapted dislotungsten; does not converge with large(r) coefficients... 2023-09-15 21:20:55 -04:00
Test User 0604e510ec [skip ci] updated version information after successful test of v3.0.0-alpha7-812-g96699f994 2023-09-15 22:52:14 +02:00
Philip Eisenlohr 715bc1bb83 adapted nonlocal 2023-09-15 13:15:55 -04:00
Martin Diehl 96699f994f Merge branch 'nonSchmid-fix' into 'development'
corrected sign definition of <111>{110} slip systems

See merge request damask/DAMASK!816
2023-09-15 16:56:32 +00:00
Philip Eisenlohr 7ac552ee49 adapted kinehardening 2023-09-15 11:13:58 -04:00
Philip Eisenlohr 2a88285088 adapted phenopowerlaw 2023-09-15 10:50:41 -04:00
Martin Diehl 4de21b5f86 more systematic name 2023-09-15 00:28:40 +02:00
Philip Eisenlohr a2b571c1fc corrected sign definition of <111>{110} slip systems
Breaking change: Sign of shear differs
2023-09-15 00:21:04 +02:00
Martin Diehl 0396332b7b needed for fixed non-Schmid behavior 2023-09-14 22:46:12 +02:00
Test User f08b4db7b8 [skip ci] updated version information after successful test of v3.0.0-alpha7-807-g104efaed5 2023-09-12 11:29:45 +02:00
Franz Roters 104efaed5c use general server name, i.e. damsk.mpie.de 2023-09-12 09:28:16 +02:00
Test User 49051a7b52 [skip ci] updated version information after successful test of v3.0.0-alpha7-805-g0051bacaa 2023-09-11 18:45:07 +02:00
Franz Roters 0051bacaa7 Merge branch 'improved-PRIVATE-error-reporting' into 'development'
improved reporting of assert_allclose in PRIVATE/testing

See merge request damask/DAMASK!815
2023-09-11 13:34:00 +00:00
Test User 60b6e59272 [skip ci] updated version information after successful test of v3.0.0-alpha7-799-g2f8680e04 2023-09-07 19:33:34 +02:00
Philip Eisenlohr ef55df6c40 Merge branch 'development' into improved-PRIVATE-error-reporting 2023-09-07 10:49:31 -04:00
Philip Eisenlohr 2f8680e045 Merge branch 'restructure-numerics' into 'development'
Restructure numerics

Closes #271 and #63

See merge request damask/DAMASK!790
2023-09-07 14:30:33 +00:00
Philip Eisenlohr 7c907fb05d modified PRIVATE 2023-09-06 16:08:28 -04:00
Philip Eisenlohr af955df891 added phi_min back to example; more consistency in code syntax 2023-09-06 15:11:48 -04:00
Sharan 925da8aad4 Merge remote-tracking branch 'origin/numerics-comment-format' into restructure-numerics 2023-09-06 20:14:58 +02:00
Sharan 9c4fa16c7d new mech dict 2023-09-06 19:57:40 +02:00
Sharan eacdf38482 Merge remote-tracking branch 'origin/development' into restructure-numerics 2023-09-06 12:17:13 +02:00
Sharan 252128a863 updated private repo 2023-09-06 12:16:58 +02:00
Sharan e101b5cca8 correct pointer 2023-09-06 11:17:39 +02:00
Philip Eisenlohr 1de0b62eab use corrected conftest.py in PRIVATE 2023-09-05 23:34:27 -04:00
Philip Eisenlohr 2434c322ca more sensible sorting of sections; additional polish 2023-09-05 13:14:20 -04:00
Philip Eisenlohr 68218672fe use updated PRIVATE 2023-09-05 11:44:45 -04:00
Test User a0335aa0c4 [skip ci] updated version information after successful test of v3.0.0-alpha7-784-g69239661c 2023-09-04 22:38:03 +02:00
Franz Roters 69239661cf Merge branch 'sanity-check-rho' into 'development'
thermal sanity checks

See merge request damask/DAMASK!813
2023-09-04 17:39:11 +00:00
Philip Eisenlohr 8399a11703 more extensive numerics.yaml documentation 2023-09-04 11:39:45 -04:00
Cathy Bing 288aa73047 added sanity check for positive rho,C_p,K in thermal 2023-09-01 17:30:37 -04:00
Test User 30464c2d9b [skip ci] updated version information after successful test of v3.0.0-alpha7-781-gbe87d9eed 2023-09-01 18:04:50 +02:00
Martin Diehl be87d9eed8 Merge branch '326-faster-euler-to-quaternion' into 'development'
adopt faster quaternion-to-Euler algorithm

Closes #326

See merge request damask/DAMASK!812
2023-09-01 14:04:54 +00:00
Martin Diehl 9b0a051737 standardized citation 2023-09-01 13:05:28 +02:00
Test User 8728491988 [skip ci] updated version information after successful test of v3.0.0-alpha7-777-g76f7f2d2b 2023-08-31 21:32:40 +02:00
Philip Eisenlohr 96137f6768 use 30% faster algorithm 2023-08-31 15:29:48 -04:00
Philip Eisenlohr 76f7f2d2bc Merge branch 'improved-large-strain-thermal-test' into 'development'
better test for thermal large strain grid

See merge request damask/DAMASK!811
2023-08-31 17:32:14 +00:00
Philip Eisenlohr dab72465bd use updated PRIVATE 2023-08-31 11:31:41 -04:00
Test User 7eabc17dc9 [skip ci] updated version information after successful test of v3.0.0-alpha7-773-g8748af5dc 2023-08-30 20:42:03 +02:00
Martin Diehl 8e8fe810a4 better test for thermal large strain grid 2023-08-30 20:41:44 +02:00
Franz Roters 8748af5dc5 Merge branch 'reporting-references-before-phases' into 'development'
report references before phase count

See merge request damask/DAMASK!808
2023-08-30 14:58:54 +00:00
Franz Roters a765074a1f Merge branch 'fix-bct-slip-systems' into 'development'
bugfix: wrong definition of bct slip systems

See merge request damask/DAMASK!806
2023-08-30 13:16:09 +00:00
Daniel Otto de Mentock 0520c10c27 Merge branch 'custom-allclose-in-testing' into 'development'
switch to symmetric allclose in testing

See merge request damask/DAMASK!810
2023-08-30 13:02:14 +00:00
Philip Eisenlohr 82c96c9573 use corresponding PRIVATE 2023-08-29 15:47:10 -04:00
Martin Diehl 3f8a561465 testing tI slip systems 2023-08-29 14:18:16 +02:00
Test User bc1d7f850c [skip ci] updated version information after successful test of v3.0.0-alpha7-765-gb11807486 2023-08-29 09:21:10 +02:00
Martin Diehl b118074864 Merge branch 'remove-obsolete-kinematics-active2' into 'development'
Delete obsolete kinematics_active2

See merge request damask/DAMASK!807
2023-08-29 05:13:36 +00:00
Philip Eisenlohr aa651e04ae reverse order of printing 2023-08-28 21:43:21 -04:00
Philip Eisenlohr b0809a8afe function is obsolete 2023-08-28 17:59:37 -04:00
Martin Diehl 6958829343 might help during debugging 2023-08-28 22:05:51 +02:00
Test User edd71a0908 [skip ci] updated version information after successful test of v3.0.0-alpha7-762-g0cda7af7e 2023-08-28 18:00:44 +02:00
Philip Eisenlohr 0cda7af7ed Merge branch 'documenting-symmetry' into 'development'
document source of symmetry operations

See merge request damask/DAMASK!803
2023-08-28 12:50:10 +00:00
Martin Diehl ea8359ddc8 Merge branch 'compose-broadcasted-rotations' into 'development'
Numpy-intrinsic broadcasting for "outer" rotation compositions

See merge request damask/DAMASK!804
2023-08-28 12:49:45 +00:00
Martin Diehl 854211a71f bugfix: wrong definition of bct slip systems 2023-08-18 21:46:44 +02:00
Test User f80a8e7f49 [skip ci] updated version information after successful test of v3.0.0-alpha7-756-g32c1711b4 2023-08-18 17:59:32 +02:00
Philip Eisenlohr 32c1711b44 Merge branch 'lattice-naming' into 'development'
there is no "crystal lattice", what we define are the 14 Bravais lattices

See merge request damask/DAMASK!802
2023-08-18 13:52:07 +00:00
Philip Eisenlohr 0393bdb214 added broadcasting test for composite rotations 2023-08-17 21:21:16 +00:00
Philip Eisenlohr fb2d49741a self.shape does not equal broadcastable shape 2023-08-17 21:10:26 +00:00
Martin Diehl e944ece5ec document source of symmetry operations 2023-08-17 14:41:46 +02:00
Sharan 09f3b2063d Merge remote-tracking branch 'origin/development' into restructure-numerics 2023-08-17 12:09:10 +02:00
Martin Diehl cc8790908c there is no "crystal lattice", what we define are the 14 Bravais
lattices
2023-08-16 22:01:20 +02:00
Test User 71b5b95450 [skip ci] updated version information after successful test of v3.0.0-alpha7-753-gaa28fe677 2023-08-14 21:18:44 +02:00
Daniel Otto de Mentock aa28fe677e Merge branch 'no-line-length-limit' into 'development'
avoid issues with long lines

See merge request damask/DAMASK!796
2023-08-14 17:08:51 +00:00
Test User 214376c102 [skip ci] updated version information after successful test of v3.0.0-alpha7-749-g92a500797 2023-08-14 13:49:15 +02:00
Franz Roters 92a5007975 Merge branch '318-per-family-parameters-in-kinehardening' into 'development'
per-family parameters for kinehardening

Closes #318

See merge request damask/DAMASK!800
2023-08-14 09:35:30 +00:00
Test User fc3c4c0be7 [skip ci] updated version information after successful test of v3.0.0-alpha7-746-gc93309ed0 2023-08-11 17:48:55 +02:00
Philip Eisenlohr e161ef40b3 per-family parameters for kinehardening 2023-08-11 10:36:03 -04:00
Philip Eisenlohr c93309ed06 Merge branch 'use-IO-in-CLI' into 'development'
Use IO in CLI

See merge request damask/DAMASK!798
2023-08-11 13:30:19 +00:00
Test User 0bd826bf4d [skip ci] updated version information after successful test of v3.0.0-alpha7-742-ge8534d6ff 2023-08-11 12:09:01 +02:00
Franz Roters e8534d6ff6 Merge branch 'math-improvements' into 'development'
Math improvements

See merge request damask/DAMASK!794
2023-08-11 08:01:55 +00:00
Martin Diehl a1eb7829ee Math improvements 2023-08-11 08:01:55 +00:00
Test User 5cff94c370 [skip ci] updated version information after successful test of v3.0.0-alpha7-739-g81066f22c 2023-08-11 00:54:06 +02:00
Martin Diehl 7d08286192 clearer error message 2023-08-10 23:49:20 +02:00
Martin Diehl fe2cf94d70 use central functionality 2023-08-10 23:06:31 +02:00
Martin Diehl 81066f22cf Merge branch 'CLI-report-numerics' into 'development'
Report optional numerics config file

See merge request damask/DAMASK!797
2023-08-10 20:21:43 +00:00
Philip Eisenlohr 82a55ee28d report optional numerics config file 2023-08-10 12:52:27 -04:00
Test User 651d0d989b [skip ci] updated version information after successful test of v3.0.0-alpha7-736-g91bb315d3 2023-08-10 18:24:08 +02:00
Franz Roters 91bb315d3c Merge branch 'phenopower-parameters-per-family' into 'development'
phenopowerlaw slip family-dependent

See merge request damask/DAMASK!793
2023-08-10 14:16:33 +00:00
Martin Diehl 26ad83a29b unused 2023-08-08 09:22:07 +02:00
Martin Diehl 98fe38a505 avoid issues with long lines
line length <= 132 is already enforced in pre-receive hook
2023-08-08 07:20:45 +02:00
Test User 05e7ca3ebe [skip ci] updated version information after successful test of v3.0.0-alpha7-730-g0e7b05799 2023-08-07 18:14:58 +02:00
Franz Roters 0e7b057990 Merge branch 'test-output-polish' into 'development'
DAMASK_test output polish

See merge request damask/DAMASK!795
2023-08-07 14:08:07 +00:00
Philip Eisenlohr aa2a20ba1d DAMASK_test output polish 2023-08-07 14:08:07 +00:00
Philip Eisenlohr 2e27236d35 use updated PRIVATE 2023-08-05 22:30:17 -04:00
Philip Eisenlohr 9d3de05816 corrected test resource; more informative error 2023-08-05 14:56:02 -04:00
Philip Eisenlohr 81d0002a49 corrected remaining instances of phenopowerlaw configuration 2023-08-05 11:50:03 -04:00
Test User 57b2816d31 [skip ci] updated version information after successful test of v3.0.0-alpha7-727-g7d1adebde 2023-08-05 00:15:11 +02:00
Martin Diehl 7d1adebde9 Merge branch 'mesh_compile' into 'development'
Petsc Destroy interfaces are not included in version<=3.16.x yet

See merge request damask/DAMASK!792
2023-08-04 19:58:16 +00:00
Daniel Otto de Mentock cc77d5c69b interfaces are not included in petsc version<=3.16.x yet 2023-08-04 19:16:47 +02:00
Philip Eisenlohr ffdf478b62 all parameters as slip family-dependent 2023-08-04 13:07:42 -04:00
Test User d428024d4d [skip ci] updated version information after successful test of v3.0.0-alpha7-724-ga2c9cfbbe 2023-08-04 17:56:57 +02:00
Franz Roters a2c9cfbbea Merge branch 'avoid-race-condition' into 'development'
avoid race conditions

See merge request damask/DAMASK!791
2023-08-04 13:38:30 +00:00
Martin Diehl fe3b58e501 avoid race conditions 2023-08-04 09:54:59 +02:00
Test User ab2711390b [skip ci] updated version information after successful test of v3.0.0-alpha7-721-g1d0cd6826 2023-08-03 16:44:57 +02:00
Franz Roters 1d0cd6826e during update revision update development first then master to minimize critical time frame 2023-08-03 14:35:07 +02:00
Franz Roters b789d7ec14 Merge branch 'master' into development 2023-08-03 14:29:29 +02:00
Test User e25db6830f [skip ci] updated version information after successful test of v3.0.0-alpha7-716-g23cd3fc1f 2023-08-02 18:31:49 +02:00
Sharan Roongta 99292c5081 prefix not required 2023-08-02 16:02:51 +02:00
Daniel Otto de Mentock 23cd3fc1fb Merge branch 'more-Fortran-test' into 'development'
include more unit tests for Fortran

See merge request damask/DAMASK!789
2023-08-02 13:35:34 +00:00
Sharan Roongta c960f8ed58 space needed to add new option + marc changes 2023-08-02 14:21:47 +02:00
Sharan Roongta ac63ee3600 marc and other minor changes 2023-08-02 14:18:54 +02:00
Sharan Roongta 482ba98b18 mesh numerics changes 2023-08-02 13:28:50 +02:00
Test User 72845dce07 [skip ci] updated version information after successful test of v3.0.0-alpha7-713-gd73f76901 2023-08-01 22:30:08 +02:00
Philip Eisenlohr d73f769013 Merge branch 'restructure-numerics' into 'development'
Restructure numerical parameters RGC

See merge request damask/DAMASK!788
2023-08-01 18:23:31 +00:00
Sharan Roongta 485839b651 consistent names 2023-08-01 18:03:00 +02:00
Sharan Roongta 4191762a41 seems redundant 2023-08-01 11:07:07 +02:00
Sharan Roongta 6b85ee47d4 new names 2023-08-01 10:49:43 +02:00
Franz Roters 649a520b33 [skip ci] Merge branch 'development' 2023-08-01 09:35:58 +02:00
Test User 4d03d1ab89 [skip ci] updated version information after successful test of v3.0.0-alpha7-706-g43b58c93e 2023-07-31 17:54:55 +02:00
Test User 1b5f4000bd [skip ci] updated version information after successful test of v3.0.0-alpha7-702-g39f4bc44e 2023-07-31 15:05:14 +02:00
Philip Eisenlohr 43b58c93ee Merge branch 'Marc2023.1' into 'development'
Marc2023.1

See merge request damask/DAMASK!786
2023-07-31 13:04:50 +00:00
Martin Diehl efeed13d8f include more unit tests for Fortran 2023-07-31 11:04:58 +02:00
Martin Diehl 39f4bc44e1 Merge branch '282-setup-for-fortran-unit-testing' into 'development'
Resolve "setup for Fortran unit testing"

Closes #282

See merge request damask/DAMASK!783
2023-07-31 08:51:15 +00:00
Martin Diehl dbad2a7413 hints from gfortran 2023-07-30 23:17:21 +02:00
Sharan Roongta a113492600 example file updated 2023-07-28 11:21:27 +02:00
Sharan Roongta 7923f48fa0 update RGC numerical parameters 2023-07-28 11:07:45 +02:00
Test User e9eb34692c [skip ci] updated version information after successful test of v3.0.0-alpha7-696-gd2e279da1 2023-07-27 01:43:03 +02:00
Philip Eisenlohr d2e279da16 Merge branch 'restructure-numerics' into 'development'
numerical parameters related to phase state and stress integration

See merge request damask/DAMASK!785
2023-07-26 21:37:22 +00:00
Philip Eisenlohr 776d75379c use modified numerics in test 2023-07-26 12:59:33 -04:00
Sharan Roongta af2a4c6e72 more readable 2023-07-26 16:32:47 +02:00
Sharan Roongta 2547d4a25c clear names 2023-07-25 23:04:29 +02:00
Test User d4019ec0ef [skip ci] updated version information after successful test of v3.0.0-alpha7-687-gee8876abd 2023-07-25 15:09:59 +02:00
Sharan Roongta 4f59fac81d Merge remote-tracking branch 'origin/development' into restructure-numerics 2023-07-25 11:05:22 +02:00
Sharan Roongta c4134f2358 updated examples 2023-07-25 11:04:38 +02:00
Philip Eisenlohr ee8876abdb Merge branch 'grid-solver-polishing' into 'development'
Grid solver polishing

See merge request damask/DAMASK!781
2023-07-25 08:51:15 +00:00
Franz Roters 94cd462c84 safe_cray_pointer is deprecheated 2023-07-25 10:42:35 +02:00
Sharan Roongta 33e0048010 subStep ---> step 2023-07-24 21:03:35 +02:00
Martin Diehl 039d5e0fce improved comments and naming 2023-07-24 18:46:06 +02:00
Martin Diehl d953e6bedf unified style 2023-07-24 18:29:36 +02:00
Franz Roters d8a1d28797 actually use new version 2023-07-24 17:06:07 +02:00
Sharan Roongta 59ae287564 numerical parameters related to phase state and stress integration 2023-07-24 10:04:22 +02:00
Franz Roters 96871350e4 add files to support Marc2023.1 2023-07-24 09:34:11 +02:00
Test User 040b58f795 [skip ci] updated version information after successful test of v3.0.0-alpha7-671-g0cace1ef8 2023-07-22 22:27:09 +02:00
Philip Eisenlohr dafd39566d can only have one instance per thermal source 2023-07-22 15:30:09 -04:00
Philip Eisenlohr 2d0b64e00d better variable names 2023-07-22 15:30:09 -04:00
Philip Eisenlohr 4086f40a16 pull "constants" out of inner loops 2023-07-22 14:01:53 -04:00
Philip Eisenlohr 0cace1ef86 Merge branch 'improved_CI' into 'development'
ensure performance plots are updated only when performance test is (successfully) completetd

See merge request damask/DAMASK!782
2023-07-22 17:20:01 +00:00
Martin Diehl 289dceb584 simple coverage report 2023-07-21 11:46:21 +02:00
Martin Diehl 1fdc5443b2 avoid code (loop) duplication 2023-07-21 08:39:46 +02:00
Martin Diehl 8da3736d42 extending test suite 2023-07-20 21:16:31 +02:00
Martin Diehl 5c2cc1d91d include Fortran test suite 2023-07-20 21:13:57 +02:00
Franz Roters 808960104e ensure performance plots are updated only when performance test is (successfully) completetd 2023-07-20 09:14:11 +02:00
Test User d104f4810e [skip ci] updated version information after successful test of v3.0.0-alpha7-668-gbfc2a76a0 2023-07-19 11:20:03 +02:00
Franz Roters bfc2a76a0e Merge branch 'Marc-use-IO' into 'development'
avoid duplicate lc function

See merge request damask/DAMASK!780
2023-07-19 07:13:15 +00:00
Martin Diehl 535ccf1378 clearer name 2023-07-19 04:19:57 +02:00
Martin Diehl ef5fe61ff6 limit scope length 2023-07-19 02:58:08 +02:00
Martin Diehl 5b56b13c64 report information on staggered iterations 2023-07-19 02:34:37 +02:00
Martin Diehl 5e9162b073 Merge remote-tracking branch 'origin/development' into untangle-homog-phase 2023-07-18 21:15:46 +02:00
Martin Diehl dc9d4bb5a9 centralized ID handling to enable cross-talking 2023-07-18 21:15:34 +02:00
Martin Diehl 26014aec1f 'true' kinematics first 2023-07-18 21:15:34 +02:00
Martin Diehl 2ae1f1f829 simplified 2023-07-18 21:15:34 +02:00
Martin Diehl d85ad0b554 improved naming 2023-07-18 21:13:23 +02:00
Test User 5bd9531577 [skip ci] updated version information after successful test of v3.0.0-alpha7-665-g341119d70 2023-07-18 20:27:34 +02:00
Philip Eisenlohr 341119d706 Merge branch 'solver-simplification' into 'development'
simplified thermal and damage solvers

See merge request damask/DAMASK!778
2023-07-18 16:05:43 +00:00
Martin Diehl d88b2e713d avoid duplicate lc function 2023-07-18 15:33:33 +02:00
Test User a5a533d2dc [skip ci] updated version information after successful test of v3.0.0-alpha7-659-gaab541218 2023-07-18 07:32:13 +02:00
Martin Diehl aab5412180 Merge branch 'restructure-numerics' into 'development'
grid solver related changes

See merge request damask/DAMASK!775
2023-07-18 02:23:31 +00:00
Martin Diehl a8f222f4a2 Merge branch 'performance-to-statistics' into 'development'
rename performance.git to statistics.git

See merge request damask/DAMASK!779
2023-07-17 23:37:29 +00:00
Martin Diehl 37c0b59afd clearer name for (non-general) postfix 2023-07-18 01:36:52 +02:00
Sharan Roongta 8117e9f54c correct hierarchy 2023-07-17 19:07:03 +02:00
Martin Diehl 497974ccbb adjusted tests 2023-07-17 18:48:56 +02:00
Martin Diehl 9651f3e486 examples follow current implementation
small polishing/consistent capitalization
2023-07-17 18:03:31 +02:00
Martin Diehl 0479db85ae indicate constant with CAPITALS 2023-07-17 17:51:34 +02:00
Martin Diehl 6f3b409a25 enable FFTW planner flags in CAPITALS 2023-07-17 17:48:47 +02:00
Philip Eisenlohr 223d321a94 concatenated error reporting 2023-07-17 11:37:52 -04:00
Sharan Roongta 2bd216ab3a avoid confusion with config module 2023-07-17 17:28:03 +02:00
Sharan Roongta 78431783ba capitalisation indicate constants 2023-07-17 17:26:11 +02:00
Philip Eisenlohr 3d9e637f6e rename performance.git to statistics.git 2023-07-17 13:39:22 +00:00
Martin Diehl ddeb218728 unified naming scheme with damage/thermal 2023-07-17 05:56:06 +02:00
Martin Diehl 8682df0e86 avoiding double storage of phi
general adjustments of damage solver to follow thermal solver
2023-07-17 02:38:16 +02:00
Sharan a1f797de3e consistency 2023-07-16 22:43:10 +02:00
Sharan 45dd387527 polarisation --> polarization 2023-07-16 22:04:18 +02:00
Martin Diehl b54cf03d6d allgather instead of allreduce+sum with contribution from 1 proc 2023-07-16 19:29:45 +02:00
Test User 4cd1587f71 [skip ci] updated version information after successful test of v3.0.0-alpha7-640-g6770bedb7 2023-07-16 18:43:37 +02:00
Sharan Roongta 054f548f4c Merge remote-tracking branch 'origin/development' into restructure-numerics 2023-07-16 15:41:37 +02:00
Sharan Roongta 915d03f2bf updated tests 2023-07-16 15:41:32 +02:00
Sharan Roongta 6770bedb7d point to development in PRIVATE 2023-07-16 15:38:37 +02:00
Sharan Roongta 85ba5414c0 Merge branch 'rename-lattice-to-crystal' into 'development'
consistent naming with Python module

See merge request damask/DAMASK!777
2023-07-16 09:20:28 +00:00
Sharan Roongta 5882d4210d Merge branch 'universal-error+warning-formatting' into 'development'
CLI errors with IO_error

See merge request damask/DAMASK!774
2023-07-16 09:17:33 +00:00
Martin Diehl 09b0cc3101 avoid duplicated storage of solution vector/T
polished variable names and simplified expressions
2023-07-16 05:22:16 +02:00
Martin Diehl e1630e4057 consistent naming with Python module 2023-07-15 23:10:29 +02:00
Test User 15b490fd87 [skip ci] updated version information after successful test of v3.0.0-alpha7-630-ga63fe8d02 2023-07-15 23:05:01 +02:00
Martin Diehl a63fe8d027 Merge branch 'untangle-reporting' into 'development'
Use universal Performance repository

See merge request damask/DAMASK!776
2023-07-15 18:53:12 +00:00
Philip Eisenlohr 7427b9b2d0 Use universal Performance repository 2023-07-15 18:53:12 +00:00
Philip Eisenlohr b235742472 clearer error messages 2023-07-14 10:23:23 -04:00
Daniel Otto de Mentock b578859ec9 Merge branch '302-dimension-mismatch-when-passing-a-flattened-f-array-to-utilities_updatecoords' into 'development'
reshape to expected shape

Closes #302

See merge request damask/DAMASK!771
2023-07-14 08:55:05 +00:00
Sharan Roongta 35b8d5fc7f missing parameters of grid added to the current structure 2023-07-13 22:03:29 +02:00
Sharan Roongta 12cb043d6d grid solver related changes 2023-07-12 23:14:46 +02:00
Test User 159506b5e3 [skip ci] updated version information after successful test of v3.0.0-alpha7-624-g61f1cdf70 2023-07-12 18:27:26 +02:00
Philip Eisenlohr 7c875371a6 Merge branch 'development' into universal-error+warning-formatting 2023-07-12 09:31:37 -04:00
Philip Eisenlohr 61f1cdf70d Merge branch '300-further-command-line-arguments' into 'development'
option to specify numerics configuration file and jobname

Closes #300

See merge request damask/DAMASK!772
2023-07-12 13:24:00 +00:00
Martin Diehl d9cf3983b4 more generic error codes
allow label without ID in IO_error
2023-07-12 12:47:52 +02:00
Philip Eisenlohr d452a9ce3f use IO_error in CLI 2023-07-11 17:15:03 -04:00
Philip Eisenlohr 4d8fc08a2f shorter logic for addSetupFile 2023-07-11 16:11:59 -04:00
Martin Diehl 0e7c9f101c avoid file name clashes 2023-07-11 20:45:20 +02:00
Philip Eisenlohr 83db176e1b specific error per missing mandatory argument 2023-07-11 13:19:31 -04:00
Philip Eisenlohr 32810cbe8b error formatting through function 2023-07-11 13:16:00 -04:00
Philip Eisenlohr 70817606db shorter logic for missing arguments 2023-07-11 12:35:23 -04:00
Martin Diehl 295b5348f3 update tests (could fail due to random input) 2023-07-11 17:32:04 +02:00
Test User 3dafb26bb1 [skip ci] updated version information after successful test of v3.0.0-alpha7-614-gad6220c26 2023-07-11 15:13:06 +02:00
Martin Diehl 162a009aa9 helpful error messages 2023-07-11 15:11:17 +02:00
Sharan Roongta 9b349bb912 Merge remote-tracking branch 'origin/development' into 302-dimension-mismatch-when-passing-a-flattened-f-array-to-utilities_updatecoords 2023-07-11 14:27:39 +02:00
Sharan Roongta ad6220c263 Merge branch 'simplify-PETSc-access' into 'development'
Simplify pet sc access

See merge request damask/DAMASK!773
2023-07-11 10:42:13 +00:00
Martin Diehl 15e5bce7e4 indicate read-only access 2023-07-10 20:50:24 +02:00
Martin Diehl cf74a687c5 not needed 2023-07-10 20:40:22 +02:00
Martin Diehl 4a1c6e7b4f unified code 2023-07-10 20:34:06 +02:00
Martin Diehl 3af61233c9 option to specify numerics configuration file and jobname
default jobname now includes all CLI arguments (for mesh/grid only)
2023-07-10 20:24:03 +02:00
Martin Diehl 40b4062b83 reshape to expected shape 2023-07-06 14:39:36 +02:00
Test User bb49289b76 [skip ci] updated version information after successful test of v3.0.0-alpha7-610-g716600299 2023-07-05 18:47:49 +02:00
Martin Diehl 716600299f Merge branch '284-more-friendly-output-name-of-add_strain-or-a-better-presentation-in-documentation-webpage' into 'development'
Resolve "more friendly output name of `add_strain()` or a better presentation in documentation webpage"

Closes #284

See merge request damask/DAMASK!770
2023-07-05 14:40:35 +00:00
Vitesh Shah 2729e3f4a0 complying with yaml standards 2023-07-05 15:21:39 +02:00
Vitesh Shah e4b793cf77 Merge branch 'development' into export_DAMASK_to_DREAM3D 2023-07-05 15:04:08 +02:00
Yi Hu bd0a35a946 upd PRIVATE 2023-07-04 18:30:06 +02:00
Yi Hu 09858317d8 add m=0 (default) case in docstring 2023-07-04 16:44:31 +02:00
Yi Hu 0e9e37bfb3 Merge branch 'development' into 284-more-friendly-output-name-of-add_strain-or-a-better-presentation-in-documentation-webpage 2023-07-04 16:07:48 +02:00
Test User 5c08794bbf [skip ci] updated version information after successful test of v3.0.0-alpha7-604-g65fa62b3f 2023-06-30 12:04:27 +02:00
Franz Roters 65fa62b3f1 Merge branch 'PR3-plot-commit-history-ignores-n-option' into 'development'
Iterative API calls for commit history

See merge request damask/DAMASK!769
2023-06-30 07:55:42 +00:00
Philip Eisenlohr 75042e918b Iterative API calls for commit history 2023-06-30 07:55:41 +00:00
Test User b0c2701a4f [skip ci] updated version information after successful test of v3.0.0-alpha7-601-g1abd03bbf 2023-06-28 22:01:20 +02:00
Philip Eisenlohr 1abd03bbf9 restore accidental PRIVATE advance 2023-06-28 13:11:51 -04:00
Philip Eisenlohr 37e89c8692 use updated PRIVATE with corrected plot_commithistory 2023-06-28 09:55:21 -04:00
Test User 8c52eb7212 [skip ci] updated version information after successful test of v3.0.0-alpha7-598-ga8875677c 2023-06-28 14:31:24 +02:00
Franz Roters a8875677cd Merge branch 'language-polish' into 'development'
Additional language polish

See merge request damask/DAMASK!765
2023-06-28 10:23:00 +00:00
Philip Eisenlohr d2c374624e Additional language polish 2023-06-28 10:23:00 +00:00
Test User 18913b498b [skip ci] updated version information after successful test of v3.0.0-alpha7-595-g4cf3aca52 2023-06-28 01:28:37 +02:00
Martin Diehl 4cf3aca527 include material.yaml argument 2023-06-27 20:10:51 +02:00
Test User 4ace99cbda [skip ci] updated version information after successful test of v3.0.0-alpha7-593-g5f82e975c 2023-06-27 19:41:48 +02:00
Franz Roters 5f82e975c8 Merge branch '298-forest-projections' into 'development'
Resolve "Forest projections"

Closes #298

See merge request damask/DAMASK!768
2023-06-27 15:33:57 +00:00
Test User 55af0b7e1b [skip ci] updated version information after successful test of v3.0.0-alpha7-586-gb9062c942 2023-06-26 16:07:47 +02:00
Daniel Otto de Mentock b9062c9425 github actions has issues with interpretation of function calls inside assert statements 2023-06-26 14:00:01 +02:00
Philip Eisenlohr 6e8c819da7 including CLI changes in PRIVATE 2023-06-24 00:39:03 -04:00
Philip Eisenlohr 453f0cdd7e Merge branch 'development' into 298-forest-projections 2023-06-23 23:31:11 -04:00
Test User 4cb3d9cd6b [skip ci] updated version information after successful test of v3.0.0-alpha7-584-gaf7452edd 2023-06-24 00:42:23 +02:00
Franz Roters af7452edde Merge branch 'Thompson-fcc-labels' into 'development'
Thompson tetrahedron notation for fcc slip systems

See merge request damask/DAMASK!767
2023-06-23 13:45:47 +00:00
Test User f29e136108 [skip ci] updated version information after successful test of v3.0.0-alpha7-580-g3bb5319f7 2023-06-23 13:31:07 +02:00
Sharan Roongta 3bb5319f79 Merge branch 'CLI-material' into 'development'
CLI-material

See merge request damask/DAMASK!763
2023-06-23 09:22:18 +00:00
Martin Diehl e34ee25597 avoid access to unused variable, no need for nested function 2023-06-23 08:56:34 +02:00
Philip Eisenlohr 4e7d953fe9 indent by format string; provide full commandline call 2023-06-22 22:59:44 -04:00
Philip Eisenlohr 86e0a8c2a5 updated reference results for dislotungsten/twin 2023-06-22 22:11:15 -04:00
Test User 6ebff3ecda [skip ci] updated version information after successful test of v3.0.0-alpha7-562-g04f9b3d16 2023-06-23 01:26:04 +02:00
Martin Diehl efc9391ca7 simplified 2023-06-23 00:06:44 +02:00
Martin Diehl a38a860783 fixed tests (for people having a user name that starts with m) 2023-06-22 23:56:44 +02:00
Martin Diehl e197e45566 use existing functionality 2023-06-22 23:25:25 +02:00
Martin Diehl a4c52fb119 no CamelCasing 2023-06-22 23:19:36 +02:00
Martin Diehl fff811edd9 following Python (os.path.normpath, os.path.relpath) 2023-06-22 23:13:45 +02:00
Martin Diehl 04f9b3d161 Merge branch 'phenopower-inline-expansion' into 'development'
Single-step parameter expansion over slip systems

See merge request damask/DAMASK!766
2023-06-22 21:13:35 +00:00
Martin Diehl 5053c53ee4 don't rely on upper bound estimates for string length 2023-06-22 22:49:25 +02:00
Philip Eisenlohr a35d445294 consistent phase name reporting 2023-06-22 15:05:54 -04:00
Philip Eisenlohr 28ebc8ef1a inline math_expand for other constitutive laws 2023-06-22 14:50:18 -04:00
Philip Eisenlohr 96de1abc04 forest projection of both edge and screw character with adjustment parameter f_edge 2023-06-22 14:16:27 -04:00
Philip Eisenlohr d4d3178717 Corrected labeling of {111} planes 2023-06-22 15:27:46 +00:00
Philip Eisenlohr 0842bd503a immediate parameter expansion over slip systems 2023-06-21 16:21:52 -04:00
Philip Eisenlohr e4a0b07225 removed confusing Schmid-Boas in favor of cleaner Thompson tetrahedron notation 2023-06-21 11:21:44 -04:00
Test User 379c8550d0 [skip ci] updated version information after successful test of v3.0.0-alpha7-558-gf6c7fd280 2023-06-21 13:45:40 +02:00
Franz Roters f6c7fd2809 Merge branch 'language-polish' into 'development'
Reporting language polishing

See merge request damask/DAMASK!764
2023-06-21 09:37:01 +00:00
Philip Eisenlohr da51fa5fdc Reporting language polishing 2023-06-21 09:37:00 +00:00
Philip Eisenlohr cb6b1b30f5 shortened CLI reporting; condensed repeated CLI functions 2023-06-16 12:09:53 -04:00
Sharan Roongta 342b33c17f Merge remote-tracking branch 'origin/development' into CLI-material 2023-06-13 12:59:39 +02:00
Sharan Roongta 21c958c427 adjusted test 2023-06-13 12:59:23 +02:00
Test User f824ed360e [skip ci] updated version information after successful test of v3.0.0-alpha7-555-gf424d54f5 2023-06-13 12:56:45 +02:00
Sharan Roongta f424d54f5e Merge branch '256-grid-geometry-displacement-reconstruction' into 'development'
Resolve "grid geometry/displacement reconstruction"

Closes #256

See merge request damask/DAMASK!762
2023-06-13 08:48:35 +00:00
Martin Diehl 137c4e3b03 easier to understand 2023-06-12 20:38:14 +02:00
Sharan Roongta 1d8939efad adjusted tests 2023-06-12 17:35:08 +02:00
Sharan Roongta d00bf2d3d5 causes problem for MARC
to be removed later
2023-06-09 14:10:31 +02:00
Sharan Roongta a767008444 gtid and mesh tests updated with new command line argument 2023-06-07 15:43:01 +02:00
Sharan Roongta 582f72377a Merge remote-tracking branch 'origin/development' into CLI-material 2023-06-07 12:53:20 +02:00
Test User bafbba4b58 [skip ci] updated version information after successful test of v3.0.0-alpha7-544-g58ee3312c 2023-06-06 23:45:19 +02:00
Philip Eisenlohr 58ee3312c7 Merge branch '289-consistent-name-for-base-datatypes-in-fortran' into 'development'
Resolve "consistent name for base datatypes in Fortran"

Closes #289

See merge request damask/DAMASK!761
2023-06-06 17:32:19 +00:00
Martin Diehl 1a4c171109 checking correctness of displacements for 1D strain 2023-06-06 19:25:44 +02:00
Martin Diehl d42318cafc new test for grid displacements 2023-06-06 19:00:32 +02:00
Sharan Roongta 2d0c7b2335 reading material.yaml from command line 2023-06-06 10:53:53 +02:00
Martin Diehl 11530c19bb Merge remote-tracking branch 'origin/development' into 289-consistent-name-for-base-datatypes-in-fortran 2023-06-05 15:02:50 +02:00
Martin Diehl 947cb15260 Merge remote-tracking branch 'origin/development' into 256-grid-geometry-displacement-reconstruction 2023-06-05 11:04:19 +02:00
Test User fd55fe2b9f [skip ci] updated version information after successful test of v3.0.0-alpha7-537-g1eee3d3ee 2023-06-05 10:24:19 +02:00
Yi Hu 1eee3d3ee3 Merge branch '258-damage-driving-force-and-damage-tests-need-update' into 'development'
f_phi factor corrected

Closes #258

See merge request damask/DAMASK!760
2023-06-05 06:15:12 +00:00
Martin Diehl 898aaf1068 shortened 2023-06-04 23:46:35 +02:00
Martin Diehl 11c4be008f analytic solution for displacement calculation 2023-06-04 22:54:31 +02:00
Martin Diehl d64b64ed05 bugfix: fluct displacement were wrongly scaled 2023-06-04 22:20:44 +02:00
Martin Diehl 5b8194d8eb Merge remote-tracking branch 'origin/development' into 256-grid-geometry-displacement-reconstruction 2023-06-04 14:26:31 +02:00
Martin Diehl 0324e7ece1 parameters should be spelled in capitals 2023-06-04 13:52:31 +02:00
Martin Diehl 319489fad8 consistent with usage in other modules 2023-06-04 13:52:23 +02:00
Martin Diehl ca1c22874b consistent and short 2023-06-04 13:51:05 +02:00
Martin Diehl d00a530d2d f_phi factor corrected 2023-06-04 13:42:00 +02:00
Martin Diehl d0b832e6f1 consistent with naming in HDF5_utilities 2023-06-03 17:06:32 +02:00
Test User a5a391688e [skip ci] updated version information after successful test of v3.0.0-alpha7-534-g51210a05e 2023-06-01 21:15:18 +02:00
Sharan Roongta 51210a05e0 Merge branch 'load_neper_fix' into 'development'
don't change Neper material ID definition

See merge request damask/DAMASK!759
2023-06-01 17:07:06 +00:00
Test User 98068ba57a [skip ci] updated version information after successful test of v3.0.0-alpha7-531-ga5ce0f9b1 2023-05-31 15:23:00 +02:00
Martin Diehl a5ce0f9b1e self test failed once, relaxing tolerances 2023-05-31 13:13:26 +02:00
Martin Diehl cfdf33e4b1 don't change Neper material ID definition
Neper material ID start at 0 if a buffer layer is added
(run "neper -T -n 100 -tesrsize 320:320:320 -domain "cylinder(20,10)"  -format vtk"),
otherwise at 1.

Hence, leave the IDs untouched and let the user change the
numbering (either by a constant offset or by re-numbering): "explicit is better than implicit"
2023-05-22 17:32:39 +02:00
Vitesh Shah 2c6e8a56d0 remove unnecessary modules 2023-05-04 13:39:07 +02:00
Vitesh Shah 7ec3d1da8a fixing invalid yaml
Strange that material.yaml made by ConfigMaterial class is creating
problems
2023-05-04 13:36:33 +02:00
Vitesh Shah b5b6c2d695 fixed typos and other python warnings 2023-05-04 12:59:56 +02:00
Vitesh Shah 8de19f0c3b better checks for values 2023-05-04 11:03:19 +02:00
Vitesh Shah c4baca0cb6 fixed typo 2023-05-04 10:49:11 +02:00
Test User 85a06c3ed7 [skip ci] updated version information after successful test of v3.0.0-alpha7-529-g4eb557765 2023-05-01 17:24:59 +02:00
Philip Eisenlohr 4eb5577652 Merge branch '254-testing-resources-folder-name' into 'development'
more reasonable name

Closes #254

See merge request damask/DAMASK!758
2023-05-01 12:35:56 +00:00
Philip Eisenlohr da9b3c5bcd Merge branch 'drop-old-DADF5-support' into 'development'
drop support for older DADF5 versions

See merge request damask/DAMASK!757
2023-05-01 12:31:30 +00:00
Vitesh Shah 9193085913 added more reference files 2023-04-28 13:11:18 +02:00
Test User 45bd58f6d8 [skip ci] updated version information after successful test of v3.0.0-alpha7-522-g289765cae 2023-04-28 02:48:45 +02:00
Martin Diehl 289765cae3 better values and documentation 2023-04-28 00:39:52 +02:00
Martin Diehl e62d1ac693 new directory layout for testing 2023-04-26 20:17:53 +02:00
Vitesh Shah 767ba5a421 test for export_DREAM3D 2023-04-26 13:01:18 +02:00
Vitesh Shah 3462d41d8e consistent dataset naming eases testing 2023-04-26 12:56:34 +02:00
Vitesh Shah 45cebe3aee better variable naming and splitext 2023-04-26 10:28:17 +02:00
Martin Diehl f36a175867 binary VTK file
does not need EOL@EOF
2023-04-24 07:17:34 +02:00
Martin Diehl 17ce0b9aec more reasonable name
folder contains all test resources, not just reference results
2023-04-24 07:16:45 +02:00
Vitesh Shah 66df416891 added input dream3D file for 2 phase microstructure 2023-04-21 12:18:43 +02:00
Test User b5770cf797 [skip ci] updated version information after successful test of v3.0.0-alpha7-520-g3071d5bf1 2023-04-21 00:38:04 +02:00
Martin Diehl 62eda982fd drop support for older DADF5 versions
simplifies code a little and 0.14 was already used in alpha5
2023-04-20 19:32:23 +02:00
Martin Diehl 3071d5bf10 small change in PRIVATE 2023-04-20 17:12:31 +02:00
Test User a9b6b65b57 [skip ci] updated version information after successful test of v3.0.0-alpha7-518-gf1f6b0aff 2023-04-20 15:33:09 +02:00
Franz Roters f1f6b0affd Merge branch '281-python-vtk-supported-versions' into 'development'
vtk7 is no longer supported

Closes #281

See merge request damask/DAMASK!755
2023-04-20 11:25:25 +00:00
Vitesh Shah 5dddf792e1 pathlib can give name of the file directly 2023-04-20 10:52:08 +02:00
Test User 5935cc3a8c [skip ci] updated version information after successful test of v3.0.0-alpha7-515-g6addc5eb9 2023-04-19 14:53:20 +02:00
Daniel Otto de Mentock 6addc5eb98 Merge branch 'spectral-utilities-cleaning' into 'development'
Spectral utilities cleaning

See merge request damask/DAMASK!754
2023-04-19 10:45:35 +00:00
Martin Diehl 7caf483dd9 standard documentation style (following numpy doc) 2023-04-19 07:51:54 +02:00
Martin Diehl f8875db044 unused leftover 2023-04-19 06:58:33 +02:00
Test User 7cd169b542 [skip ci] updated version information after successful test of v3.0.0-alpha7-511-gf6c254403 2023-04-19 00:22:38 +02:00
Martin Diehl f6c254403b Merge branch 'hdf5-error-check' into 'development'
positive values are ok

See merge request damask/DAMASK!753
2023-04-18 20:14:06 +00:00
Martin Diehl d32d088ed7 positive values are ok
from the description:
Returns a non-negative value if successful; otherwise returns a negative value.
2023-04-18 12:01:03 +02:00
Vitesh Shah 029b830156 corrected the looping and target dir 2023-04-17 08:03:44 +02:00
Test User b8518e2875 [skip ci] updated version information after successful test of v3.0.0-alpha7-508-g7b158f5ec 2023-04-15 00:13:32 +02:00
Sharan Roongta 7b158f5ec4 Merge branch 'regrid-result' into 'development'
regrid/map when exporting DADF5

See merge request damask/DAMASK!748
2023-04-14 20:05:30 +00:00
Test User ac6d754a87 [skip ci] updated version information after successful test of v3.0.0-alpha7-505-g4acf5e10f 2023-04-14 18:20:34 +02:00
Franz Roters 4acf5e10f1 Merge branch '288-tests-for-misc' into 'development'
testing misc functionality

Closes #288

See merge request damask/DAMASK!752
2023-04-14 14:01:08 +00:00
Philip Eisenlohr b827b26278 Merge branch 'support-pandas-2.0' into 'development'
support for pandas >= 2.0

See merge request damask/DAMASK!751
2023-04-14 12:07:29 +00:00
Martin Diehl 563f908d0c testing misc functionality 2023-04-14 11:17:29 +02:00
Martin Diehl 29a968b3a8 support for pandas >= 2.0 2023-04-14 08:37:40 +02:00
Test User c8476cebf6 [skip ci] updated version information after successful test of v3.0.0-alpha7-500-ga42cf6199 2023-04-14 00:28:28 +02:00
Martin Diehl a42cf61998 Merge branch 'PETSc-3.19' into 'development'
PETSc 3.19 is out

See merge request damask/DAMASK!750
2023-04-13 20:20:03 +00:00
Martin Diehl 7d1433875d PETSc 3.19 is out 2023-04-13 20:13:01 +02:00
Test User ea818b6a8d [skip ci] updated version information after successful test of v3.0.0-alpha7-497-gd9d611b5a 2023-04-13 18:37:23 +02:00
Franz Roters d9d611b5a0 Merge branch 'optional-not-needed' into 'development'
optional propagates

See merge request damask/DAMASK!749
2023-04-13 14:30:02 +00:00
Martin Diehl 58141210a2 optional propagates 2023-04-12 05:56:11 +02:00
Vitesh Shah 2ae1a20443 seems to read the data correctly 2023-04-06 21:42:34 +02:00
Vitesh Shah f619cf4ff2 making export DREAM3D compatible with results class 2023-04-06 20:56:42 +02:00
Test User a8c508276f [skip ci] updated version information after successful test of v3.0.0-alpha7-494-ge087cd439 2023-03-31 22:03:09 +02:00
Martin Diehl e087cd4399 Merge branch 'polish-kinehardening' into 'development'
Polish kinehardening

See merge request damask/DAMASK!732
2023-03-31 17:54:25 +00:00
Philip Eisenlohr eeb0825e63 adjusting to original publication
Our implementation is using synonymous names for parameters compared to the paper by J.A. Wollmershauser, B. Clausen, and S.R. Agnew.

'xi_inf' and 'chi_inf' are not strictly "asymptotic values", but stresses that correspond to the back-extrapolation from the terminal linear hardening stage (characterized by 'h_inf_xi/chi').

All parameters are referenced back to their counterparts in the paper by J.A. Wollmershauser, B. Clausen, and S.R. Agnew.
2023-03-31 17:54:25 +00:00
Test User 62c1fe3584 [skip ci] updated version information after successful test of v3.0.0-alpha7-491-g344372511 2023-03-27 21:41:10 +02:00
Philip Eisenlohr 3443725114 Merge branch 'grid-load' into 'development'
Grid loadcase

See merge request damask/DAMASK!734
2023-03-27 17:33:12 +00:00
Martin Diehl 03768e14dc Grid loadcase 2023-03-27 17:33:11 +00:00
Martin Diehl d2e85ef15b regrid/map when exporting DADF5 2023-03-25 07:40:21 +01:00
Martin Diehl b11ad8c774 helpful information on strain calculation 2023-03-24 12:34:51 +01:00
Test User 1955d98474 [skip ci] updated version information after successful test of v3.0.0-alpha7-488-gf6c761980 2023-03-22 13:48:39 +01:00
Yi Hu f6c761980d Merge branch 'anisobrittle-unit' into 'development'
correct unit

See merge request damask/DAMASK!747
2023-03-22 10:02:49 +00:00
Martin Diehl 043d48d4d3 correct unit 2023-03-21 22:41:52 +01:00
Test User 69e4d17be2 [skip ci] updated version information after successful test of v3.0.0-alpha7-485-g19f5b3351 2023-03-14 11:32:51 +01:00
Yi Hu 19f5b33515 Merge branch '268-name-of-output-label-of-damage-model' into 'development'
notation following paper

Closes #268

See merge request damask/DAMASK!746
2023-03-14 08:09:22 +00:00
Martin Diehl 13630325c3 notation following paper
https://doi.org/10.1016/j.jmps.2016.10.012
DAMASK paper
2023-03-13 17:23:28 +01:00
Vitesh Shah 12c39c0977 [skip sc][skip ci] using pathlib and reduced the number of args 2023-03-13 13:00:29 +01:00
Martin Diehl c1cb6a72c1 loops instead of code duplication 2023-03-12 13:40:45 +01:00
Martin Diehl 132640eed5 simplified 2023-03-12 13:40:45 +01:00
Test User 73206ae2b5 [skip ci] updated version information after successful test of v3.0.0-alpha7-479-g8ce51dc4d 2023-03-10 17:29:18 +01:00
Franz Roters 8ce51dc4d8 Merge branch 'unit-test-Fortran' into 'development'
Unit test fortran

See merge request damask/DAMASK!744
2023-03-10 14:20:46 +00:00
Martin Diehl b0427584cb label and description were wrong 2023-03-10 06:34:59 +01:00
Test User 9df178b8cc [skip ci] updated version information after successful test of v3.0.0-alpha7-475-gc7f8647cf 2023-03-08 21:11:30 +01:00
Martin Diehl fdafe19355 vtk7 is no longer supported 2023-03-08 20:13:49 +01:00
Martin Diehl c7f8647cfd Merge branch '277-python-vtkmodules-import' into 'development'
Resolve "python vtk: import"

Closes #277

See merge request damask/DAMASK!742
2023-03-08 18:03:23 +00:00
Philip Eisenlohr 782a593bf2 separate import of vtk modules
vtk is a collection of modules. Some are missing in some installations, so it is recommended to import only the functionality that is needed.
2023-03-08 18:03:22 +00:00
Test User c879fb933c [skip ci] updated version information after successful test of v3.0.0-alpha7-472-gaa678c8a5 2023-03-04 15:22:56 +01:00
Martin Diehl aa678c8a5b Merge branch 'oneAPI-debug' into 'development'
causes internal compiler error on oneAPI

See merge request damask/DAMASK!743
2023-03-04 12:14:41 +00:00
Martin Diehl 6d3e3a580f causes internal compiler error on oneAPI
anyways not recommended according to Steve Lionel
2023-03-04 10:42:25 +01:00
Test User ec7535d91e [skip ci] updated version information after successful test of v3.0.0-alpha7-469-gcb590381e 2023-03-02 22:16:19 +01:00
Martin Diehl cb590381e6 Merge branch 'docstringer_improvements' into 'development'
Docstringer improvements

See merge request damask/DAMASK!738
2023-03-02 18:46:00 +00:00
Daniel Otto de Mentock ad39577ea4 improvements to docstrings (in `damask.Rotation`) 2023-03-02 18:46:00 +00:00
Test User 293d994e30 [skip ci] updated version information after successful test of v3.0.0-alpha7-466-g4e53061b6 2023-03-02 12:39:42 +01:00
Daniel Otto de Mentock 4e53061b69 Merge branch '95-report-origin-of-configuration-file' into 'development'
Resolve "Report origin of configuration file"

Closes #95

See merge request damask/DAMASK!736
2023-03-02 09:31:04 +00:00
Philip Eisenlohr f3da19a8e2 drop little-used variables 2023-02-28 15:09:23 -05:00
Philip Eisenlohr a40524da02 rename to wrapLines; additional formatting options; whitespace trimming 2023-02-28 14:59:30 -05:00
Test User 4e3dc69762 [skip ci] updated version information after successful test of v3.0.0-alpha7-457-gae8e1c179 2023-02-28 19:30:08 +01:00
Martin Diehl ae8e1c1791 Merge branch '276-ang-file-inflexibility' into 'development'
Resolve "ANG file inflexibility"

Closes #276

See merge request damask/DAMASK!739
2023-02-28 15:35:31 +00:00
Philip Eisenlohr b15096c2f6 flexibility for non-standard ANG headers. 2023-02-28 15:35:31 +00:00
Martin Diehl fc543629f5 Merge branch 'oneAPIfix' into 'development'
restore caching, ifx problem seems to be related to openMP

See merge request damask/DAMASK!740
2023-02-28 15:11:48 +00:00
Martin Diehl 95a953d25b more reasonable name 2023-02-28 07:58:10 +01:00
Martin Diehl 4f18b21111 Merge remote-tracking branch 'origin/development' into 95-report-origin-of-configuration-file 2023-02-28 07:36:36 +01:00
Martin Diehl 949bc39173 polishing 2023-02-28 07:34:11 +01:00
Martin Diehl 4df794e06c restore caching, ifx problem seems to be related to openMP 2023-02-28 07:13:22 +01:00
Shah Vitesh f15d1da169 [skip sc][skip ci] newer code structure to create DREAM3d files 2023-02-27 14:51:37 +01:00
Test User 12f7d055f6 [skip ci] updated version information after successful test of v3.0.0-alpha7-452-g11b83a5ec 2023-02-27 14:42:15 +01:00
Martin Diehl 11b83a5ec9 Merge branch 'deallocate-numerics' into 'development'
Deallocate numerics

See merge request damask/DAMASK!737
2023-02-27 11:34:03 +00:00
Martin Diehl f4f2176561 Deallocate numerics configuration 2023-02-27 11:34:03 +00:00
Martin Diehl 9418664604 report origin of configuration if given 2023-02-25 15:17:13 +01:00
Test User fbbd21a1ca [skip ci] updated version information after successful test of v3.0.0-alpha7-449-g87e74ef79 2023-02-25 12:41:46 +01:00
Martin Diehl 04db45f5c0 functionality to report references in material.yaml 2023-02-25 12:13:27 +01:00
Martin Diehl 87e74ef792 docstring polishing 2023-02-25 10:07:38 +01:00
Martin Diehl 6e23ddcfbf also test new Python version 2023-02-25 10:07:08 +01:00
Martin Diehl d3b4226c74 LLVM test failed, could be related to caching 2023-02-25 10:06:50 +01:00
Martin Diehl 7dcfb036f9 more complicated test setup 2023-02-25 08:39:22 +01:00
Martin Diehl 2147ac3a12 base framework for unit testing in Fortran 2023-02-24 22:27:56 +01:00
Test User 0a8b1040e1 [skip ci] updated version information after successful test of v3.0.0-alpha7-445-g8e32e8c0e 2023-02-24 19:32:24 +01:00
Martin Diehl 8e32e8c0ea Merge branch 'example-typo' into 'development'
typo in example

See merge request damask/DAMASK!735
2023-02-24 16:13:35 +00:00
Martin Diehl 32e9b7ed77 make ifx work again 2023-02-24 14:48:16 +01:00
Sharan Roongta 95017b252f typo in example 2023-02-24 14:16:16 +01:00
Test User 6d0d066eb0 [skip ci] updated version information after successful test of v3.0.0-alpha7-441-g5bf53d98f 2023-02-23 21:56:32 +01:00
Martin Diehl 5bf53d98f3 Merge branch '263-keyword-arguments-for-orientation' into 'development'
Resolve "keyword arguments for Orientation"

Closes #263

See merge request damask/DAMASK!733
2023-02-23 18:49:08 +00:00
Martin Diehl c40b446854 add keywords to signature of Orientation functions that inherit from Rotation 2023-02-23 18:49:08 +00:00
Shah Vitesh d70a41a059 starting to maintain DAMASK to Dream3D code 2023-02-23 14:59:24 +01:00
Test User 133dae2cce [skip ci] updated version information after successful test of v3.0.0-alpha7-438-g9530a7b93 2023-02-22 23:25:47 +01:00
Martin Diehl 9530a7b931 Merge branch 'error-stop-macros' into 'development'
Shorthand subroutines for standard HDF/MPI error checking

See merge request damask/DAMASK!726
2023-02-22 15:50:11 +00:00
Philip Eisenlohr dd4390fb75 Shorthand subroutines for standard HDF/MPI error checking to avoid code duplication 2023-02-22 15:50:10 +00:00
Test User 01df331632 [skip ci] updated version information after successful test of v3.0.0-alpha7-435-gf7b0ae204 2023-02-22 14:42:30 +01:00
Sharan Roongta f7b0ae2041 Merge branch 'long-YAML-files' into 'development'
strlen returns 'size_t'

See merge request damask/DAMASK!723
2023-02-22 11:34:24 +00:00
Test User 06bd74e43b [skip ci] updated version information after successful test of v3.0.0-alpha7-425-g538770278 2023-02-21 20:12:36 +01:00
Franz Roters 538770278f Merge branch 'improved-docstrings' into 'development'
Improvements to Python docstrings

See merge request damask/DAMASK!729
2023-02-21 15:27:08 +00:00
Philip Eisenlohr 06201da5e2 Improvements to Python docstrings 2023-02-21 15:27:06 +00:00
Franz Roters 045352b8d2 Merge branch 'consistent-subroutine-calls' into 'development'
Consistent use of () in subroutine calling

See merge request damask/DAMASK!730
2023-02-21 15:18:17 +00:00
Philip Eisenlohr dde60ec53f Consistent use of () in subroutine calling 2023-02-21 15:18:17 +00:00
Test User a344b6058a [skip ci] updated version information after successful test of v3.0.0-alpha7-420-g71e383bfc 2023-02-21 10:33:40 +01:00
Philip Eisenlohr 71e383bfc8 test for ValueError 2023-02-20 14:44:40 -05:00
Philip Eisenlohr 6aa566760f shorter calculation of Seth–Hill strains 2023-02-20 14:42:31 -05:00
Test User bcab153b94 [skip ci] updated version information after successful test of v3.0.0-alpha7-417-g64b133e67 2023-02-20 03:21:47 +01:00
Martin Diehl 64b133e679 Merge branch 'fix-thermal-dissipation' into 'development'
calculate plastic dissipation based on M_p not S

See merge request damask/DAMASK!719
2023-02-20 00:13:45 +00:00
Martin Diehl ca2d184007 Merge remote-tracking branch 'origin/development' into long-YAML-files 2023-02-19 16:04:30 +01:00
Test User cae1395df5 [skip ci] updated version information after successful test of v3.0.0-alpha7-414-g23f896631 2023-02-18 23:39:56 +01:00
Philip Eisenlohr 23f896631e Merge branch '219-function-to-handle-default-of-optional-arguments' into 'development'
Resolve "function to handle default of optional arguments"

Closes #219

See merge request damask/DAMASK!721
2023-02-18 20:30:57 +00:00
Martin Diehl 8f3d9a9183 Resolve "function to handle default of optional arguments" 2023-02-18 20:30:57 +00:00
Test User f3aafb0911 [skip ci] updated version information after successful test of v3.0.0-alpha7-411-ga335e2db6 2023-02-18 07:38:36 +01:00
Philip Eisenlohr a335e2db6d Merge branch 'fix-ravel-docstring' into 'development'
sphinx does not handle white spaces properly

See merge request damask/DAMASK!727
2023-02-18 03:26:50 +00:00
Test User 5b4e93e070 [skip ci] updated version information after successful test of v3.0.0-alpha7-408-g6fd30dd26 2023-02-17 16:09:12 +01:00
Daniel Otto de Mentock 6fd30dd266 Merge branch 'extra-documentation' into 'development'
improved docstrings

See merge request damask/DAMASK!722
2023-02-17 12:58:09 +00:00
Philip Eisenlohr 4485e1045c proper indication of transpose; polish 2023-02-16 15:12:10 -05:00
Martin Diehl e501e76d84 sphinx does not handle white spaces properly 2023-02-16 19:40:09 +01:00
Martin Diehl eefa2c29a2 more details 2023-02-16 19:32:15 +01:00
Philip Eisenlohr 61f2ae295b switch to physics macros 2023-02-16 11:59:19 -05:00
Test User be3138cf39 [skip ci] updated version information after successful test of v3.0.0-alpha7-401-g15f15c1d7 2023-02-16 04:31:38 +01:00
Martin Diehl 15f15c1d78 Merge branch 'LFCR-check' into 'development'
one more CRLF check

See merge request damask/DAMASK!725
2023-02-15 23:51:56 +00:00
Philip Eisenlohr 01719874ea one more CRLF check 2023-02-15 16:36:20 -05:00
Test User 58ffe960a8 [skip ci] updated version information after successful test of v3.0.0-alpha7-398-g1fd479556 2023-02-15 12:32:17 +01:00
Daniel Otto de Mentock 1fd4795560 Merge branch 'no-setuptools' into 'development'
should not be in here

See merge request damask/DAMASK!720
2023-02-15 09:16:04 +00:00
Martin Diehl 0698c17ff2 improved documentation 2023-02-14 17:37:43 +01:00
Martin Diehl 3eb9545573 Merge branch 'development' into long-YAML-files 2023-02-14 17:33:48 +01:00
Martin Diehl 66b0b2e9dc using latex to improve documentation 2023-02-14 17:11:52 +01:00
Martin Diehl 4cd84ab8ce return was missing 2023-02-14 12:54:51 +01:00
Test User d89850adc9 [skip ci] updated version information after successful test of v3.0.0-alpha7-395-gb4e706f09 2023-02-14 11:29:21 +01:00
Franz Roters b4e706f099 Merge branch '260-remove-debug-yaml-assocciated-code-tests' into 'development'
debug.yaml causes more work than it saves

Closes #260

See merge request damask/DAMASK!717
2023-02-14 08:12:59 +00:00
Martin Diehl e5b7ad335f debug.yaml causes more work than it saves 2023-02-13 22:26:58 +01:00
Test User 59512cf5c6 [skip ci] updated version information after successful test of v3.0.0-alpha7-392-gc9bd2c88a 2023-02-13 18:45:16 +01:00
Franz Roters 4c65047612 calculate plastic dissipation based on M_p not S 2023-02-13 17:59:22 +01:00
Martin Diehl 24ebc465c4 should not be in here
https://stackoverflow.com/questions/58521386
2023-02-12 09:20:46 +01:00
Philip Eisenlohr c9bd2c88a9 Merge branch 'orthography_checks' into 'development'
minor orthography adjustments

See merge request damask/DAMASK!718
2023-02-11 14:30:12 +00:00
Daniel Otto de Mentock 335f61eec3 minor orthography adjustments 2023-02-11 14:30:12 +00:00
Martin Diehl 9e4db451d9 enable to write large strings
SIZE_T is the correct type (and 64bit instead of 32bit as for HSIZE_T)
for H5Tset_size_f
2023-02-11 08:11:35 +01:00
Martin Diehl 3e439503fe enable strings > 2Gb 2023-02-10 22:37:11 +01:00
Martin Diehl a2bde4a0f0 correct check for CRLF
old attempt tried to look only at forst occurence of LF but reported
CRLF also for LF endings.
2023-02-09 23:32:39 +01:00
Martin Diehl 4e57df9576 handle strings/YAML files > 2Gb (32 bit limit) 2023-02-08 08:49:08 +01:00
Martin Diehl 58c905d318 strlen returns 'size_t'
this is unsinged and on 64bit Linux (LP64) 64bit
2023-02-08 08:37:10 +01:00
Test User 4389ba25f2 [skip ci] updated version information after successful test of v3.0.0-alpha7-389-g4ae3274ac 2023-02-06 20:37:20 +01:00
Daniel Otto de Mentock 4ae3274ac4 Merge branch '250-configmaterial-material_add-simplifications' into 'development'
several improvements to ConfigMaterial and Config

Closes #250

See merge request damask/DAMASK!714
2023-02-06 16:52:14 +00:00
Test User 5b720c3536 [skip ci] updated version information after successful test of v3.0.0-alpha7-380-g430084cf3 2023-02-06 16:29:00 +01:00
Daniel Otto de Mentock 430084cf35 Merge branch '249-mark-dadf5-file-format-as-stable' into 'development'
DADF5 v1.0

Closes #249

See merge request damask/DAMASK!715
2023-02-06 11:36:05 +00:00
Daniel Otto de Mentock 354232ab09 Merge branch '264-termination-of-jobs-with-signal-testing' into 'development'
avoid long running zombie processes on test server

Closes #264

See merge request damask/DAMASK!716
2023-02-06 09:46:35 +00:00
Martin Diehl ec2171a91a avoid long running zombie processes on test server 2023-02-05 00:16:09 +01:00
Martin Diehl f401c51e22 update to DADF5 v1.0 2023-02-04 15:22:39 +01:00
Martin Diehl 12d1e9be65 pipeline was failing with decode error
I could not reproduce it, maybe this helps
2023-02-04 12:42:56 +01:00
Martin Diehl b818ec6885 include more files 2023-02-04 11:47:54 +01:00
Martin Diehl 29933a6618 includes unit of 'O', which was corrected 2023-02-04 11:44:12 +01:00
Martin Diehl e49090b26b update to DADF5 v1.0 2023-02-04 11:14:03 +01:00
Martin Diehl 89817d1bc1 not needed 2023-02-04 11:09:27 +01:00
Martin Diehl 780fc8a050 new/correct unit for quaternions 2023-02-04 10:23:01 +01:00
Martin Diehl 42495942b1 updated to DADF5 v1.0 2023-02-04 10:22:19 +01:00
Martin Diehl 8002f982c2 unused variable (leftover from stroring *.C_ref) 2023-02-04 09:58:58 +01:00
Martin Diehl a45a86cfbf mark DADF5 file layout as stable 2023-02-04 09:55:23 +01:00
Test User d2ac306d2b [skip ci] updated version information after successful test of v3.0.0-alpha7-366-g805fd06a8 2023-02-03 14:41:03 +01:00
Daniel Otto de Mentock 805fd06a8a Merge branch 'systematic-name' into 'development'
more systematic name

See merge request damask/DAMASK!708
2023-02-03 10:36:25 +00:00
Martin Diehl 7420c779d7 checking for invalid volume fractions 2023-02-02 22:13:17 +01:00
Martin Diehl aa11e1aca3 easier to understand 2023-02-02 08:59:44 +01:00
Martin Diehl 6682f58f86 explicit arguments to guide the user 2023-02-02 08:38:50 +01:00
Martin Diehl 008d3cca6f limits hold for sum and individual 2023-02-02 08:35:46 +01:00
Martin Diehl 46ad436d76 check for invalid materialpoint configuration 2023-02-01 22:48:43 +01:00
Test User 197284afcb [skip ci] updated version information after successful test of v3.0.0-alpha7-363-g13081dd65 2023-02-01 22:46:26 +01:00
Martin Diehl 13081dd655 relaxed tolerances needed on maws05 2023-02-01 19:27:04 +01:00
Martin Diehl fd84406903 guide the user with explicit keywords 2023-02-01 15:03:30 +01:00
Martin Diehl 8895e7a36f more logical behavior
explicit keywords are more important than existing one
2023-02-01 14:59:00 +01:00
Test User 7334772f74 [skip ci] updated version information after successful test of v3.0.0-alpha7-361-g750a0443a 2023-01-31 20:57:17 +01:00
Daniel Otto de Mentock 750a0443ad Merge branch 'YAML-class-improvements' into 'development'
some improvements to the YAML-related classes in Python

See merge request damask/DAMASK!710
2023-01-31 17:42:34 +00:00
Test User 1326303b70 [skip ci] updated version information after successful test of v3.0.0-alpha7-358-g6c0f605e8 2023-01-27 15:59:29 +01:00
Franz Roters 6c0f605e89 Merge branch 'autodoc_adjustments' into 'development'
small modifications for autodoc feature

See merge request damask/DAMASK!713
2023-01-27 11:33:30 +00:00
Daniel Otto de Mentock 786127af10 add some descriptions and correct wrong uppercase 2023-01-27 10:25:41 +01:00
Test User 176ce8106e [skip ci] updated version information after successful test of v3.0.0-alpha7-355-g19d856759 2023-01-27 00:29:01 +01:00
Martin Diehl 19d8567593 include most recent version of PRIVATE 2023-01-26 22:21:32 +01:00
Test User a6b131190c [skip ci] updated version information after successful test of v3.0.0-alpha7-353-g5e0377aac 2023-01-25 19:33:29 +01:00
Yi Hu 5e0377aac4 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into 258-damage-driving-force-and-damage-tests-need-update 2023-01-25 13:08:06 +01:00
Test User 02766bc510 [skip ci] updated version information after successful test of v3.0.0-alpha7-349-g02221da3e 2023-01-24 17:56:26 +01:00
Yi Hu b1ffef55e7 add missed test param change for isobrittle rW corr 2023-01-24 15:08:57 +01:00
Franz Roters 02221da3e8 Merge branch 're-fit-phenopowerlaw' into 'development'
re-fit phenopowerlaw example data

Closes #224

See merge request damask/DAMASK!709
2023-01-24 13:44:24 +00:00
Martin Diehl ce6c86dd6d essentially same behavior as before,
but better documentation, a few simplifications, and typehints
2023-01-24 11:26:14 +01:00
Martin Diehl 532ec2d26f Merge remote-tracking branch 'origin/development' into re-fit-phenopowerlaw 2023-01-23 21:57:32 +01:00
Martin Diehl f427b85967 re-fit for new phenopowerlaw formulation 2023-01-23 21:51:08 +01:00
Martin Diehl 9b7a827d3f use common notation 2023-01-23 21:43:45 +01:00
Martin Diehl 83ef5ad0e0 consistent indexing 2023-01-23 21:43:45 +01:00
Martin Diehl acbc5e090e better to understand 2023-01-23 21:43:45 +01:00
Test User 183a2f7671 [skip ci] updated version information after successful test of v3.0.0-alpha7-316-g8a7655a9e 2023-01-23 21:43:45 +01:00
Martin Diehl 461bf53320 macos installation of PETSc does not work 2023-01-23 21:43:45 +01:00
Martin Diehl 2662bec55f only valid/needed for GNU 2023-01-23 21:43:45 +01:00
Martin Diehl eff2789bc2 not needed 2023-01-23 21:43:45 +01:00
Martin Diehl 4f801259ca ensure recent compiler 2023-01-23 21:43:45 +01:00
Philip Eisenlohr c5a0103246 Resolve "naming for classes" 2023-01-23 21:43:45 +01:00
Test User daea65e12a [skip ci] updated version information after successful test of v3.0.0-alpha7-307-g6ee31e2ab 2023-01-23 21:43:45 +01:00
Test User 6e139a8941 [skip ci] updated version information after successful test of v3.0.0-alpha7-302-g56ff8c769 2023-01-23 21:43:45 +01:00
Philip Eisenlohr 4c2fa82436 Option to normalize rotation matrix 2023-01-23 21:43:45 +01:00
Test User 6cf4bfe384 [skip ci] updated version information after successful test of v3.0.0-alpha7-299-g1b8f3292f 2023-01-23 21:43:45 +01:00
Daniel Otto de Mentock b101af7152 test was not using parametrized values 2023-01-23 21:43:45 +01:00
Test User a79339d13e [skip ci] updated version information after successful test of v3.0.0-alpha7-297-g22de899aa 2023-01-23 21:43:45 +01:00
Martin Diehl 80943ec188 white space and style adjustments 2023-01-23 21:43:44 +01:00
Martin Diehl fa9feda3a4 string length is not know, avoid overflow 2023-01-23 21:43:44 +01:00
Test User d5a2173ba3 [skip ci] updated version information after successful test of v3.0.0-alpha7-326-g510f59b4b 2023-01-23 17:29:58 +01:00
Yi Hu dd74fa2d1d corr rW (use 0.5 prefactor) in isobrittle and related test upd 2023-01-23 15:27:44 +01:00
Daniel Otto de Mentock 510f59b4b5 Merge branch 'clean-MPI-exit' into 'development'
Clean MPI exit

See merge request damask/DAMASK!707
2023-01-23 13:10:33 +00:00
Martin Diehl 210dd8b497 report errors to STDERR 2023-01-23 11:45:03 +01:00
Daniel Otto de Mentock d11aca5fd4 Merge branch 'polish-grid' into 'development'
Polished grid code

See merge request damask/DAMASK!706
2023-01-23 09:56:52 +00:00
Martin Diehl 0880649dd9 more systematic name 2023-01-23 08:31:59 +01:00
Martin Diehl 68b583e4da Merge branch 'development' into clean-MPI-exit 2023-01-20 07:08:38 +01:00
Test User 7049137654 [skip ci] updated version information after successful test of v3.0.0-alpha7-316-g8a7655a9e 2023-01-19 23:17:35 +01:00
Daniel Otto de Mentock 8a7655a9e3 Merge branch 'fix-github-actions' into 'development'
Fix github actions

See merge request damask/DAMASK!703
2023-01-19 17:29:55 +00:00
Sharan Roongta 4af29d0393 Merge branch '247-naming-for-classes' into 'development'
Resolve "naming for classes"

Closes #247

See merge request damask/DAMASK!699
2023-01-19 16:37:45 +00:00
Philip Eisenlohr b4a500a194 Resolve "naming for classes" 2023-01-19 16:37:45 +00:00
Test User ae7709584e [skip ci] updated version information after successful test of v3.0.0-alpha7-307-g6ee31e2ab 2023-01-19 12:08:28 +01:00
Franz Roters 6ee31e2ab3 Merge branch 'allocatable-strings' into 'development'
string length is not known, avoid overflow

See merge request damask/DAMASK!701
2023-01-19 08:06:00 +00:00
Martin Diehl 923ce05802 Merge remote-tracking branch 'origin/development' into allocatable-strings 2023-01-19 05:37:12 +01:00
Martin Diehl 327992871b white space and style adjustments 2023-01-18 18:50:01 +01:00
Test User 19f27e51cc [skip ci] updated version information after successful test of v3.0.0-alpha7-302-g56ff8c769 2023-01-17 04:07:43 +01:00
Sharan Roongta 56ff8c769b Merge branch 'from_basis-normalize' into 'development'
Option to normalize rotation matrix

See merge request damask/DAMASK!705
2023-01-16 23:53:49 +00:00
Philip Eisenlohr 5edd001d4c Option to normalize rotation matrix 2023-01-16 23:53:49 +00:00
Test User bdf5faf40a [skip ci] updated version information after successful test of v3.0.0-alpha7-299-g1b8f3292f 2023-01-16 17:31:38 +01:00
Daniel Otto de Mentock 1b8f3292f0 test was not using parametrized values 2023-01-16 11:45:09 +01:00
Martin Diehl 907b01e9f3 simple test setup 2023-01-15 13:45:39 +01:00
Test User 1924df6c3e [skip ci] updated version information after successful test of v3.0.0-alpha7-297-g22de899aa 2023-01-15 05:31:39 +01:00
Martin Diehl 1174e94486 re-fit
- new phenopowerlaw formulation for hardening
- physics-based interactions (scaled DDD results such that
  self-hardening is 1.0)
2023-01-15 01:34:30 +01:00
Martin Diehl 6c1edaeaac new data for Aluminum 2023-01-15 01:33:50 +01:00
Martin Diehl e91c52f518 use common notation 2023-01-14 22:55:33 +01:00
Martin Diehl 1643fdf9fa consistent indexing 2023-01-14 22:46:00 +01:00
Martin Diehl 9464279eb5 better to understand 2023-01-14 22:34:05 +01:00
Martin Diehl 22de899aaa Merge remote-tracking branch 'origin/229-improved-handling-of-reference-stiffness' into development 2023-01-14 15:06:43 +01:00
Test User b83a545401 [skip ci] updated version information after successful test of v3.0.0-alpha7-294-g1330a4cfc 2023-01-11 21:53:20 +01:00
Martin Diehl f6be4e11e8 Merge remote-tracking branch 'github-md/fix-github-actions' into development 2023-01-11 21:31:34 +01:00
Sharan Roongta 1330a4cfc4 Merge branch '253-fix-lattice-test' into 'development'
avoid failing tests

Closes #253

See merge request damask/DAMASK!702
2023-01-11 16:50:22 +00:00
Martin Diehl da0a15f63a string length is not know, avoid overflow 2023-01-10 11:54:13 +01:00
Test User e9eda1fb18 [skip ci] updated version information after successful test of v3.0.0-alpha7-291-gd2ad37e7f 2023-01-10 06:20:57 +01:00
Sharan 7b6abafbb7 store data directly in HDF5 2023-01-10 02:03:32 +01:00
Martin Diehl 102d1b7995 avoid failing tests
stiffness matrices should have non-zero diagonal entries, for this
situation the implemented functionality works as expected
2023-01-09 23:38:51 +01:00
Martin Diehl d2ad37e7ff Merge branch 'clean-author-list' into 'development'
Clean author list

See merge request damask/DAMASK!698
2023-01-09 22:18:25 +00:00
Franz Roters 235cbd3158 Clean author list 2023-01-09 22:18:25 +00:00
Test User ac11e9d99f [skip ci] updated version information after successful test of v3.0.0-alpha7-288-g214ee7b2f 2023-01-09 16:47:02 +01:00
Sharan Roongta 214ee7b2f8 Merge branch 'material_add-no-kwargs' into 'development'
kwargs flexibility not needed

See merge request damask/DAMASK!694
2023-01-09 11:27:14 +00:00
Franz Roters 545b813ec3 Merge branch 're-fit-temperature-dependent-parameters' into 'development'
re-fit temperature dependend parameters

See merge request damask/DAMASK!696
2023-01-09 11:19:36 +00:00
Test User f882ee5a9b [skip ci] updated version information after successful test of v3.0.0-alpha7-274-g46b640826 2023-01-09 02:04:02 +01:00
Martin Diehl 46b640826b Merge branch 'update-year' into 'development'
Update year

See merge request damask/DAMASK!697
2023-01-08 22:27:11 +00:00
Martin Diehl 93e05aed29 should always point to the most recent version 2023-01-08 20:46:07 +01:00
Martin Diehl 444303a000 the year of DAMASK 3.0 2023-01-08 20:45:15 +01:00
Test User 1a717390da [skip ci] updated version information after successful test of v3.0.0-alpha7-270-gdf9983782 2023-01-08 20:33:31 +01:00
Yi Hu df99837820 Merge branch '200-correct-strain-calculation' into 'development'
correct calculation of strain

Closes #200

See merge request damask/DAMASK!695
2023-01-08 17:03:08 +00:00
Martin Diehl 695d78eb35 have EOL and EOF 2023-01-08 14:32:13 +01:00
Martin Diehl 384bb8a262 avoid failing tests cause by limited floating point precision 2023-01-08 14:31:58 +01:00
Martin Diehl 47e29f47fb re-fit
using higher order polynomial where appropriate. Code for fitting in
"parameters" repository
2023-01-08 14:31:54 +01:00
Martin Diehl 976cfd501a thermal expansion coefficients for SiC
this material was the initial motivation for adding fourth order
polynomials, but I could not find a reliable source for the graphs send
to damask@mpie.de. It seems that the CTE levels off for even higher
temperature which calls for a higher order polynomial
2023-01-08 14:31:43 +01:00
Martin Diehl eb74d5a097 polishing 2023-01-08 11:54:42 +01:00
Martin Diehl 64fbfbb206 re-fit with correct conversion between Celsius and Kelvin
procedure is documented in the 'parameters' repository
2023-01-08 10:58:01 +01:00
Martin Diehl b9195a121f commonly used scaling 2023-01-08 10:57:36 +01:00
Martin Diehl 1711bf3220 re-fit using correct scaling
code is in 'parameters' repository
2023-01-08 10:57:06 +01:00
Martin Diehl 81870a6111 re-fit data
some small adjustments, procedure is now reproducible using "parameters"
repository
2023-01-08 00:25:43 +01:00
Martin Diehl 8d9df30090 legacy example
- undocumented
- not atomic
2023-01-07 22:01:03 +01:00
Martin Diehl cdaddf8e6f kwargs flexibility not needed
the number of supported entries is rather limited, so guide the user
using explicit arguments
2023-01-07 14:32:05 +01:00
Martin Diehl 0185eda888 correct calculation of strain
was introduced when changing to Voigt notation in fa8218124a
2023-01-07 13:03:12 +01:00
Test User 3fd34c6e05 [skip ci] updated version information after successful test of v3.0.0-alpha7-267-g09c8632eb 2023-01-03 16:53:07 +01:00
Franz Roters 09c8632eb5 updated access token in PRIVAT 2023-01-03 12:02:11 +01:00
Yi Hu 12c0919566 Merge branch '245-no-need-for-multiple-damage-mechanisms' into 'development'
competing damage models are not implemented

Closes #245

See merge request damask/DAMASK!689
2023-01-02 15:43:53 +00:00
Franz Roters 45811ba838 Merge branch '246-result-add_strain' into 'development'
guide choice of strain measure that makes sense

Closes #246

See merge request damask/DAMASK!692
2023-01-02 10:40:39 +00:00
Martin Diehl d3d904955a Merge branch 'Marc2022.4' into 'development'
Marc2022.4

See merge request damask/DAMASK!690
2022-12-31 08:08:04 +00:00
Franz Roters 71bd8efaa8 Marc2022.4 2022-12-31 08:08:04 +00:00
Test User 4b0fcc5140 [skip ci] updated version information after successful test of v3.0.0-alpha7-259-g28ba8bb4a 2022-12-30 04:48:29 +01:00
Martin Diehl e658f3126b guide choice of strain measure that makes sense 2022-12-29 20:29:13 +01:00
Martin Diehl 28ba8bb4ae Merge branch '141-solver-should-not-solve-for-field-if-homogenization-is-missing' into 'development'
solver should not solve for field if homogenization description is absent

Closes #141

See merge request damask/DAMASK!680
2022-12-29 19:08:05 +00:00
Sharan Roongta 5c221e16e1 solver should not solve for field if homogenization description is absent 2022-12-29 19:08:05 +00:00
Test User 13b1a610b2 [skip ci] updated version information after successful test of v3.0.0-alpha7-256-ga2a4054a3 2022-12-25 19:48:27 +01:00
Martin Diehl a2a4054a37 give explanation of unexpected code 2022-12-25 16:36:01 +01:00
Test User 8fabf58f26 [skip ci] updated version information after successful test of v3.0.0-alpha7-254-g53d6c7746 2022-12-22 21:57:54 +01:00
Franz Roters 53d6c7746c use correct Marc version in patches 2022-12-22 16:07:28 +01:00
Test User e1f6195276 [skip ci] updated version information after successful test of v3.0.0-alpha7-252-g38e6f4b49 2022-12-20 19:39:04 +01:00
Martin Diehl 38e6f4b49b Merge remote-tracking branch 'origin/select-mu' into development 2022-12-20 00:47:24 +01:00
Martin Diehl c2d63532df macos installation of PETSc does not work 2022-12-18 09:45:33 +01:00
Martin Diehl 4f69c7630d competing damage models are not implemented
while there might be the chance that we need this, we better focus on
today's capabilities and don't make the material.yaml syntax more
complicated in anticipation of potential changes
2022-12-18 09:34:25 +01:00
Martin Diehl 3a643d04c4 only valid/needed for GNU 2022-12-17 16:13:35 +01:00
Martin Diehl 548857c6a6 not needed 2022-12-17 16:10:25 +01:00
Martin Diehl 42329a4ca4 ensure recent compiler 2022-12-17 14:52:41 +01:00
Test User 902f9d2e97 [skip ci] updated version information after successful test of v3.0.0-alpha7-242-g5f8ef4ac7 2022-12-16 21:27:46 +01:00
Martin Diehl 5f8ef4ac71 Merge branch 'grid-FEM-simplifications' into 'development'
style polishing

See merge request damask/DAMASK!686
2022-12-16 12:32:21 +00:00
Test User fd42f810d0 [skip ci] updated version information after successful test of v3.0.0-alpha7-239-g9bacd2ed5 2022-12-16 12:41:30 +01:00
Franz Roters 9bacd2ed5e Merge branch '233-unit-testing-for-yaml' into 'development'
a few more tests

Closes #233 and #239

See merge request damask/DAMASK!679
2022-12-16 08:40:31 +00:00
Test User 32d78d38a2 [skip ci] updated version information after successful test of v3.0.0-alpha7-236-g5d2d61189 2022-12-13 23:06:46 +01:00
Philip Eisenlohr 5d2d611898 Merge branch '238-tail_repack-behavior-and-use' into 'development'
simplifications of Python code

Closes #238

See merge request damask/DAMASK!684
2022-12-13 18:32:19 +00:00
Martin Diehl dcdc4acbd5 Unified object.comments as list[str]; simplifications of Python code 2022-12-13 18:32:19 +00:00
Martin Diehl 42a6014614 Merge branch 'axis-angle-rename' into 'development'
consistent naming

See merge request damask/DAMASK!685
2022-12-13 15:09:46 +00:00
Philip Eisenlohr 213d082fce Merge branch '209-small-improve-CLI-for-restart' into 'development'
minor change in CLI help for restart

Closes #209

See merge request damask/DAMASK!688
2022-12-13 13:43:26 +00:00
Yi Hu 0c989ef03e add short text for better understanding in CLI help for restart 2022-12-12 16:40:42 +01:00
Martin Diehl ede04c0264 style polishing 2022-12-11 18:16:13 +01:00
Martin Diehl 0e48f04d0f consistent naming 2022-12-11 16:09:54 +01:00
Test User c4883e2557 [skip ci] updated version information after successful test of v3.0.0-alpha7-229-g99b2a509d 2022-12-10 21:33:49 +01:00
Martin Diehl 99b2a509d9 Merge branch '231-no-petscscalar-and-_range' into 'development'
Resolve "no PetscScalar and ?_RANGE"

Closes #231

See merge request damask/DAMASK!668
2022-12-10 18:06:16 +00:00
Martin Diehl e6c2e73e03 Merge remote-tracking branch 'origin/development' into 231-no-petscscalar-and-_range 2022-12-10 14:54:02 +01:00
Test User 353d55c9a7 [skip ci] updated version information after successful test of v3.0.0-alpha7-220-g85115d12f 2022-12-10 10:48:29 +01:00
Martin Diehl 85115d12ff Merge branch 'scipy_performance_improvements_numba' into 'development'
Improving grid.vicinity_offset performance with numba

See merge request damask/DAMASK!677
2022-12-10 07:22:22 +00:00
Daniel Otto de Mentock e03ad0db11 Improving grid.vicinity_offset performance optionally with numba 2022-12-10 07:22:22 +00:00
Test User 219ca8d14e [skip ci] updated version information after successful test of v3.0.0-alpha7-217-g265572ffd 2022-12-10 02:04:31 +01:00
Philip Eisenlohr 265572ffde Merge branch 'Marc2022.3' into 'development'
Marc2022.3

See merge request damask/DAMASK!670
2022-12-09 20:04:36 +00:00
Philip Eisenlohr 45fe1e48a7 Merge branch '201-external-heat-syntax' into 'development'
Resolve "external heat: Syntax"

Closes #201 and #107

See merge request damask/DAMASK!683
2022-12-09 19:59:30 +00:00
Philip Eisenlohr 4830ea19c9 bug fix;more elaborate self test 2022-12-09 10:00:00 -05:00
Martin Diehl a9cb81b1cb functions are meant for proper files (ending with EOL) 2022-12-09 06:48:38 +01:00
Martin Diehl a3128d4021 avoid failing tests 2022-12-09 06:48:29 +01:00
Martin Diehl cca5d6d495 impoved naming 2022-12-09 06:48:16 +01:00
Test User 4400c83da3 [skip ci] updated version information after successful test of v3.0.0-alpha7-203-g8c6593985 2022-12-09 00:02:14 +01:00
Daniel Otto de Mentock 8c6593985c Merge branch 'yaml-emit-numpy-scalar' into 'development'
single elements of numpy arrays are not of native type

See merge request damask/DAMASK!681
2022-12-08 12:03:54 +00:00
Test User 3509d7c9bf [skip ci] updated version information after successful test of v3.0.0-alpha7-200-ga4e2702af 2022-12-08 06:06:53 +01:00
Martin Diehl 7b986f6f77 using new table functionality 2022-12-07 21:55:20 +01:00
Martin Diehl 06f8697bd1 manage tabulated data with linear interpolation in-between points 2022-12-07 21:44:44 +01:00
Martin Diehl a4e2702afb Merge branch 'fortran-style-adjustments' into 'development'
Fortran style adjustments

See merge request damask/DAMASK!682
2022-12-07 17:29:04 +00:00
Martin Diehl aaae8a701b Fortran style adjustments 2022-12-07 17:29:03 +00:00
Daniel Otto de Mentock e8aeb4435d polishing 2022-12-07 14:33:33 +01:00
Martin Diehl b6610f4499 a few more tests 2022-12-07 13:03:42 +01:00
Sharan Roongta dc54f5935c lattice is an optional parameter;
argument order changed to reflect that
2022-12-07 12:53:22 +01:00
Test User 0b24a17a4b [skip ci] updated version information after successful test of v3.0.0-alpha7-197-g418e2f022 2022-12-07 01:50:56 +01:00
Martin Diehl 418e2f022b Merge branch '242-optional-numba-for-yaml-emitter' into 'development'
yaml.CSafeDumper can be subclassed

Closes #242

See merge request damask/DAMASK!678
2022-12-06 20:17:24 +00:00
Daniel Otto de Mentock ba2062e4ed CSafeDumper is significantly faster and can be subclassed for custom extensions. 2022-12-06 20:17:23 +00:00
Test User 9cb1d75d05 [skip ci] updated version information after successful test of v3.0.0-alpha7-194-g4717536f1 2022-12-06 18:52:28 +01:00
Sharan Roongta 4717536f1a Merge branch '241-same-quaternion-but-different-ipfs-calculated-by-damask-and-orix-python-package' into 'development'
lower exponent gives smoother gradients

Closes #241

See merge request damask/DAMASK!675
2022-12-06 14:15:35 +00:00
Test User e295ea5c75 [skip ci] updated version information after successful test of v3.0.0-alpha7-190-g65cb9d599 2022-12-06 06:48:40 +01:00
Philip Eisenlohr 7b8fce8db0 help polish 2022-12-05 18:29:03 -05:00
Martin Diehl ce2e0a01f5 single elements of numpy arrays are not of native type 2022-12-05 20:29:08 +01:00
Philip Eisenlohr 65cb9d5997 Merge branch 'development' into 228-unit-tests-for-spectral-functionality 2022-12-05 11:07:43 -05:00
Philip Eisenlohr 71a75f1cc2 more informative error stop messages 2022-12-05 11:01:06 -05:00
Philip Eisenlohr f8ec873e54 == syntax consistency 2022-12-05 11:00:23 -05:00
Martin Diehl 1b4f12887f PRIVATE including merge commit for damage testing 2022-12-05 14:02:05 +01:00
Martin Diehl bcded82787 Merge branch 'damage_restart_yi_clean' into 'development'
add back and clean damage restart functionality with checked tests

See merge request damask/DAMASK!629
2022-12-05 10:52:59 +00:00
Yi Hu b9ee401ff5 add damage restart functionality and associated tests 2022-12-05 10:52:59 +00:00
Daniel Otto de Mentock 7c6c46c2db return value of fftw function is defined as cdouble 2022-12-05 10:39:42 +01:00
Daniel Otto de Mentock c2e78158c8 petsc macros can be omitted with use of preal 2022-12-05 10:38:36 +01:00
Test User f585160e12 [skip ci] updated version information after successful test of v3.0.0-alpha7-177-g30998d667 2022-12-05 07:20:16 +01:00
Martin Diehl 30998d6670 Merge branch 'test-rotation-multidim' into 'development'
Increase uniformity in from_X(as_X) tests

See merge request damask/DAMASK!676
2022-12-05 02:08:31 +00:00
Philip Eisenlohr 5127dfe90b from/as tests use rotation-array; separate bounds checks 2022-12-05 02:08:31 +00:00
Martin Diehl c7cb56fc18 lower exponent gives smoother gradients 2022-12-02 22:55:22 +01:00
Martin Diehl f61273c062 standard style 2022-12-02 20:41:47 +01:00
Test User 1f624ddbf5 [skip ci] updated version information after successful test of v3.0.0-alpha7-174-g934147d80 2022-12-02 18:58:56 +01:00
Daniel Otto de Mentock 934147d803 Merge branch 'fortran-rename' into 'development'
following style guide

See merge request damask/DAMASK!674
2022-12-02 14:19:24 +00:00
Martin Diehl 411c86b5ef following style guide 2022-12-01 19:52:53 +01:00
Martin Diehl 8493170419 testing equivalence of different code branches for imposed cubic
symmetry
2022-12-01 19:17:11 +01:00
Daniel Otto de Mentock a2f898a94c correcting function return type, indentation 2022-12-01 17:27:30 +01:00
Daniel Otto de Mentock b96576ce93 standardizing double definition across modules 2022-12-01 17:27:30 +01:00
Daniel Otto de Mentock 8fd4a0c084 petscscalar and pReal need to be equivalent 2022-12-01 17:26:25 +01:00
Sharan Roongta 07bbbdb380 avoid fixed length character arrays 2022-11-30 13:33:04 +01:00
Sharan Roongta 71fe8edd4c Merge remote-tracking branch 'origin/development' into select-mu 2022-11-30 11:11:34 +01:00
Philip Eisenlohr 3a3be7cdc8 have isostrain/stress replace voigt/reuss 2022-11-30 11:09:51 +01:00
Test User fd2b892f3e [skip ci] updated version information after successful test of v3.0.0-alpha7-171-g26ff1b895 2022-11-30 04:36:32 +01:00
Sharan Roongta 26ff1b8956 Merge branch '220-array-dimensions-in-restart-file-hdf5-chunking-fails-for-large-simulations' into 'development'
flatten solver data layout

Closes #220

See merge request damask/DAMASK!671
2022-11-29 21:45:10 +00:00
Martin Diehl 18ad14708f stay consistent 2022-11-29 22:01:14 +01:00
Philip Eisenlohr 8ba9bb02c7 slight reduction of code doubling 2022-11-29 15:47:11 -05:00
Martin Diehl d364808c82 extending test to MPI parallel runs 2022-11-29 18:12:38 +01:00
Sharan Roongta 599e4472e8 Merge remote-tracking branch 'origin/development' into select-mu 2022-11-29 12:12:02 +01:00
Test User afa0a644ed [skip ci] updated version information after successful test of v3.0.0-alpha7-168-g741aeab1d 2022-11-29 08:43:36 +01:00
Martin Diehl 741aeab1d3 Merge branch '235-docstring-of-orientation-from_axis_angle' into development 2022-11-29 06:06:31 +01:00
Test User 88878c50c6 [skip ci] updated version information after successful test of v3.0.0-alpha7-163-g3505fdee9 2022-11-29 00:45:34 +01:00
Sharan Roongta 8b5fa37428 calculation of shear modulus for cubic crystals can be simplifieid, tests added for different crystal symmetries 2022-11-28 23:28:36 +01:00
Philip Eisenlohr 3505fdee9a Merge branch '149-python-vtk-improvements' into 'development'
don't add empty strings

Closes #149

See merge request damask/DAMASK!673
2022-11-28 20:05:40 +00:00
Martin Diehl d668f8a56d don't add empty strings 2022-11-28 20:05:39 +00:00
Daniel Otto de Mentock 8112f87d39 parameter names can contain underscores 2022-11-28 10:33:07 +01:00
Martin Diehl 03a81b81e8 adopting to Python standards 2022-11-28 09:30:08 +01:00
Martin Diehl 20f984fc87 adopt to new location 2022-11-28 09:12:34 +01:00
Martin Diehl cfcb16be43 easier to find in flat layout 2022-11-28 09:11:34 +01:00
Martin Diehl 0508fa9ec2 flatten solver data layout
avoid problem with chunking/compression (only relevant for large
simulations when this feature is used).
In addition, use a unified variable naming: no "_current" for
thermal and damage to follow example of mech.
2022-11-27 17:07:25 +01:00
Martin Diehl 39157b75b7 plane waves have known solutions 2022-11-27 16:53:53 +01:00
Martin Diehl 6be1d43dc6 gradient/curl/div of constant fields are zero 2022-11-26 10:37:54 +01:00
Test User bfdd072d06 [skip ci] updated version information after successful test of v3.0.0-alpha7-160-g92ae86b63 2022-11-26 02:15:10 +01:00
Martin Diehl 92ae86b636 Merge branch 'fix-mypy-no-implicit-optional' into 'development'
PEP 484 compatibility (no-implicit-optional in mypy)

See merge request damask/DAMASK!664
2022-11-25 21:25:33 +00:00
Philip Eisenlohr 8993b5caac Merge branch '232-residualstiffness-residualphi' into 'development'
better naming

Closes #232

See merge request damask/DAMASK!666
2022-11-25 15:12:54 +00:00
Franz Roters 73508ca4b7 Merge branch 'test-hybridIA' into 'development'
putting understanding of hybridIA into code

See merge request damask/DAMASK!667
2022-11-25 14:21:39 +00:00
Test User aca6ae928d [skip ci] updated version information after successful test of v3.0.0-alpha7-152-g36f050a08 2022-11-25 13:16:48 +01:00
Franz Roters 36f050a085 Merge branch 'polish-YAML-parsing' into 'development'
Shorter YAML code

See merge request damask/DAMASK!663
2022-11-25 07:55:31 +00:00
Philip Eisenlohr af24d47b9a Shorter YAML code 2022-11-25 07:55:31 +00:00
Martin Diehl 77be2c0d4c standard way to report 2022-11-25 07:00:15 +01:00
Martin Diehl e10f9fa299 not useful here
not a general convention, is documented for the affected from_/as_
methods
2022-11-25 01:25:36 +01:00
Martin Diehl f8844285d7 putting understanding of hybridIA into code 2022-11-25 01:15:39 +01:00
Test User df4c0fbc33 [skip ci] updated version information after successful test of v3.0.0-alpha7-149-g99673bb86 2022-11-25 00:56:42 +01:00
Sharan Roongta 99673bb865 Merge branch '162-error-stress-bc-grid' into 'development'
avoid confusion during reporting

Closes #162

See merge request damask/DAMASK!662
2022-11-24 12:50:39 +00:00
Test User 2884c3c2c9 [skip ci] updated version information after successful test of v3.0.0-alpha7-146-g19fbfb096 2022-11-24 13:08:58 +01:00
Franz Roters 42e0bf8689 use Marc2022.3 for testing 2022-11-24 12:16:06 +01:00
Sharan Roongta 9d71ffa3ee better naming 2022-11-24 11:23:10 +01:00
Martin Diehl eea0c4c44c return was missing 2022-11-24 10:15:23 +01:00
Martin Diehl deb8ebeb5b avoid confusion during reporting
polarization needs to ensure BC for F and P
2022-11-24 09:47:48 +01:00
Martin Diehl 19fbfb0968 Merge branch '230-polynomial-get' into 'development'
removed superfluous asDict specification for polynomials arguments

Closes #230

See merge request damask/DAMASK!665
2022-11-24 06:58:17 +00:00
Franz Roters 6a701db211 support Marc 2022.3 2022-11-23 17:20:35 +01:00
Test User 3334d0845c [skip ci] updated version information after successful test of v3.0.0-alpha7-143-gb2fcd1ec1 2022-11-23 09:23:04 +01:00
Philip Eisenlohr 6315f97f4a added explicit Optional type hint 2022-11-22 16:26:15 -05:00
Daniel Otto de Mentock b2fcd1ec1b Merge branch 'grid-spectral-simplifications' into 'development'
FFTW-related changes

Closes #206 and #216

See merge request damask/DAMASK!661
2022-11-22 18:24:03 +00:00
Franz Roters 4a49523720 Merge branch 'mypy-etc-polish' into 'development'
Collection of small polishing steps

See merge request damask/DAMASK!659
2022-11-22 14:39:52 +00:00
Philip Eisenlohr cbe2e74cdd Collection of small polishing steps 2022-11-22 14:39:51 +00:00
Daniel Otto de Mentock 3fb0b5d099 removed superfluous asDict specification for polynomials arguments 2022-11-22 14:20:19 +01:00
Test User 6f6e143f5f [skip ci] updated version information after successful test of v3.0.0-alpha7-125-g762a5de6c 2022-11-21 05:14:06 +01:00
Philip Eisenlohr 762a5de6c9 Merge branch '205-name-for-coefficient-of-thermal-expansion' into 'development'
commonly used variable name

Closes #205

See merge request damask/DAMASK!660
2022-11-20 23:56:59 +00:00
Martin Diehl cad4cbc5d2 circument bug in gfortran
associate to strided pointer seems to cause trouble
2022-11-20 23:35:54 +01:00
Test User c73f777b5c [skip ci] updated version information after successful test of v3.0.0-alpha7-122-g815d825fa 2022-11-20 17:10:14 +01:00
Martin Diehl 815d825fac Merge branch 'material_add' into 'development'
configMaterial functionality

See merge request damask/DAMASK!651
2022-11-20 12:59:01 +00:00
Martin Diehl 2173c9e499 undo weighting needed for restart 2022-11-20 13:36:03 +01:00
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
Test User e9fe32b9ea [skip ci] updated version information after successful test of v3.0.0-alpha7-83-g5bb31dd4d 2022-11-10 23:59:26 +01:00
Philip Eisenlohr 5bb31dd4d2 Merge branch 'coverage-report' into 'development'
improved coverage report

See merge request damask/DAMASK!648
2022-11-10 17:58:33 +00:00
Martin Diehl a98c1b3cc5 show coverage details 2022-11-10 11:04:19 +01:00
Martin Diehl 26284ba2df accidentally added 2022-11-10 09:37:16 +01:00
Test User 0e28c7c380 [skip ci] updated version information after successful test of v3.0.0-alpha7-79-g2397d0706 2022-11-10 04:53:18 +01:00
Philip Eisenlohr 2397d07066 Merge branch 'result_improvements' into 'development'
Result class improvements

See merge request damask/DAMASK!646
2022-11-10 01:12:00 +00:00
Philip Eisenlohr 02d785f8f1 comprehensive simulation_setup tests 2022-11-09 17:32:14 -05:00
Philip Eisenlohr 5c6d21e9cf only create subdir when dataset 2022-11-09 17:32:14 -05:00
Philip Eisenlohr 4f6a1720cc recursive list of setup files; no printing but PermissionError 2022-11-09 17:32:14 -05:00
Sharan Roongta 443d796643 phase and homogenization dict to be updated when new material added 2022-11-09 23:13:45 +01:00
Martin Diehl 75cf446654 including restart information
needed updated tests after generating new HDF5 file
2022-11-09 22:50:32 +01:00
Test User d0658907a9 [skip ci] updated version information after successful test of v3.0.0-alpha7-68-g5d28260d2 2022-11-09 22:07:20 +01:00
Martin Diehl b2db825fca newest file format 2022-11-09 22:06:20 +01:00
Philip Eisenlohr 5d28260d2d Merge branch 'fix-O-unit' into 'development'
correct unit for quaternion output O

See merge request damask/DAMASK!647
2022-11-09 17:32:10 +00:00
Philip Eisenlohr 1a748ec5aa shorter function name; setup_files is property 2022-11-09 09:39:47 -05:00
Daniel Otto de Mentock 836feaa5f4 polishing 2022-11-09 12:48:48 +01:00
Daniel Otto de Mentock 1cdb7ef09f function to list available setup files can be useful 2022-11-09 12:48:37 +01:00
Daniel Otto de Mentock ce7d2af6e3 simulation setup export function naming and description was inaccurate 2022-11-09 12:47:47 +01:00
Test User 8d59750b93 [skip ci] updated version information after successful test of v3.0.0-alpha7-65-gb5b861afd 2022-11-09 05:33:17 +01:00
Philip Eisenlohr b5b861afdd Merge branch 'result-export-DADF5' into 'development'
export to new DADF5 file

See merge request damask/DAMASK!644
2022-11-08 19:01:48 +00:00
Philip Eisenlohr 953d5769a0 Merge branch 'RegularGridInterpolator' into 'development'
grid assemble + corrected grid.scale

See merge request damask/DAMASK!643
2022-11-08 18:52:08 +00:00
Martin Diehl 4f0db64e15 grid assemble + corrected grid.scale 2022-11-08 18:52:08 +00:00
Philip Eisenlohr 46e2bbf80c correct unit for quaternion output O 2022-11-08 13:10:37 -05:00
Philip Eisenlohr 507e1a2f05 Merge branch 'rotation-example' into 'development'
Rotation-example

See merge request damask/DAMASK!645
2022-11-08 14:25:35 +00:00
Martin Diehl 59150b791f support the user 2022-11-08 12:39:38 +01:00
Philip Eisenlohr 868a4dda96 remove numpy where unnecessary 2022-11-07 14:56:38 -05:00
Sharan Roongta 88206d307b default was incorrect and some useful examples added 2022-11-07 18:30:46 +01:00
Philip Eisenlohr 13d0f3ae8a more precise description of `times_in_range` 2022-11-07 12:21:26 -05:00
Philip Eisenlohr f88ac18c8a consistent "optional" in parameter description 2022-11-07 12:18:00 -05:00
Martin Diehl 015f1ec741 possibility to export into new DADF5 file 2022-11-07 10:10:13 +01:00
Martin Diehl 0fa9631675 testing output of export_result 2022-11-06 23:16:30 +01:00
Test User 8bfe9269fd [skip ci] updated version information after successful test of v3.0.0-alpha7-53-g1fae90b9b 2022-11-06 23:04:24 +01:00
Philip Eisenlohr 1fae90b9b5 Merge branch 'result_custom_path_export' into 'development'
added custom path export option to Result.export_* functions

Closes #172

See merge request damask/DAMASK!599
2022-11-06 18:10:23 +00:00
Daniel Otto de Mentock 2c3da9c1bf added custom path export option to Result.export_* functions 2022-11-06 18:10:23 +00:00
Test User 92f6d7e68d [skip ci] updated version information after successful test of v3.0.0-alpha7-50-g5c4674104 2022-11-03 16:36:45 +01:00
Martin Diehl 5c4674104a Merge branch 'github-actions-improvements' into development 2022-11-03 09:50:06 +01:00
Martin Diehl 51da27c853 line too long 2022-11-03 09:20:14 +01:00
Test User 5df741c9c2 [skip ci] updated version information after successful test of v3.0.0-alpha7-44-g8e88b2423 2022-11-03 01:22:11 +01:00
Franz Roters 8e88b2423c Merge branch 'fix-Kichhoff-typos' into 'development'
fix Kichhoff typos

See merge request damask/DAMASK!641
2022-11-02 20:23:56 +00:00
Philip Eisenlohr 0ab9adcb5e fix Kichhoff typos 2022-11-02 20:23:56 +00:00
Martin Diehl bfea213594 old versions are deprecated 2022-11-02 20:57:53 +01:00
Martin Diehl 4b73188857 include Python 3.10 (approx a year old) 2022-11-02 17:12:19 +01:00
Martin Diehl 2dd76d0eab fix for HDF5 1.12.2 and Intel ifx
https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-fortran-compiler-release-notes.html#inpage-nav-10-2-9
2022-11-02 11:54:52 +01:00
Test User 11676fe782 [skip ci] updated version information after successful test of v3.0.0-alpha7-41-ga1b91e5fc 2022-10-31 16:58:24 +01:00
Daniel Otto de Mentock a1b91e5fcf Merge branch '202_MPI-random-seed' into 'development'
avoid repeated random sequences on different processes

Closes #202

See merge request damask/DAMASK!639
2022-10-31 11:29:50 +00:00
Test User 8774b94d2a [skip ci] updated version information after successful test of v3.0.0-alpha7-38-gc507e2d3b 2022-10-29 06:33:26 +02:00
Philip Eisenlohr c507e2d3b6 avoid potenttial out-of-bounds memory access 2022-10-27 15:56:59 -04:00
Philip Eisenlohr 5c688345ed more verbose and specific messaging in self-test and errors 2022-10-27 15:39:48 -04:00
Martin Diehl ae3b049d30 avoid repeated random sequences on different processes
we don't use random numbers a lot and there are no reported problems
yet.
Still, this is safer.
2022-10-27 09:21:37 +02:00
Test User 94849d9c38 [skip ci] updated version information after successful test of v3.0.0-alpha7-35-g9149e760f 2022-10-26 16:11:48 +02:00
Franz Roters 9149e760f6 Merge branch 'dislotwin-parameters' into 'development'
example files for TWIP/TRIP

See merge request damask/DAMASK!636
2022-10-26 06:59:59 +00:00
Test User 54a9b1e60f [skip ci] updated version information after successful test of v3.0.0-alpha7-29-g4e5567fce 2022-10-26 00:48:54 +02:00
Martin Diehl 28ea09050d polishing 2022-10-25 23:18:22 +02:00
Daniel Otto de Mentock 4e5567fce1 Merge branch 'cleaning-YAML' into 'development'
Re-written YAML types

See merge request damask/DAMASK!637
2022-10-25 16:09:36 +00:00
Martin Diehl df5487e1a9 Re-written YAML types
Strict typing for YAML

New access pattern requires to specify the expected type, i.e. 'scalar', 'list', or 'dict'. This ensures that the node offers the expected functionality instead of polluting 'tNode' with dummy functions which throw error messages if not overwritten.

The restructuring of the code allows to hierarchically construct methods without much code duplication.

Some aspects of the error messaging system have been improved.
2022-10-25 16:09:36 +00:00
Martin Diehl ff3e08531e including test 2022-10-23 12:42:17 +02:00
Martin Diehl 7831aa5ce8 Merge remote-tracking branch 'origin/development' into dislotwin-parameters 2022-10-23 12:31:30 +02:00
Test User 71c686b508 [skip ci] updated version information after successful test of v3.0.0-alpha7-26-gb9f354a49 2022-10-20 17:18:35 +02:00
Sharan Roongta b9f354a495 Merge branch '218_HDF5read-dim0' into 'development'
avoid HDF5 error in case of empty dataset

See merge request damask/DAMASK!635
2022-10-20 09:57:39 +00:00
Daniel Otto de Mentock d4bd555551 Merge branch '215_dependencies-in-setup.cfg' into 'development'
215 dependencies in setup.cfg

See merge request damask/DAMASK!634
2022-10-20 09:01:32 +00:00
Martin Diehl bf0113a737 avoid HDF5 error in case of empty dataset 2022-10-20 01:09:03 +02:00
Martin Diehl 21230613c0 should work on Windows 2022-10-19 20:12:13 +02:00
Martin Diehl ec09e72408 Merge remote-tracking branch 'origin/development' into 215_dependencies-in-setup.cfg 2022-10-19 20:09:08 +02:00
Test User 51f0ac5d01 [skip ci] updated version information after successful test of v3.0.0-alpha7-16-g027d77e9f 2022-10-19 15:10:32 +02:00
Franz Roters 027d77e9f7 Merge branch 'long-PETSc-lines' into 'development'
length of macro seems to depend on PETSc location

See merge request damask/DAMASK!632
2022-10-19 10:32:15 +00:00
Test User 57b69e2041 [skip ci] updated version information after successful test of v3.0.0-alpha7-13-g53123d6c2 2022-10-17 01:52:06 +02:00
Martin Diehl 53123d6c27 using current PRIVATE
includes chances slightly less strict tolerance to avoid failing tests
when using GCC and improved handling of output directory for commit
history statistics
2022-10-16 20:56:40 +02:00
Test User bdb1e97890 [skip ci] updated version information after successful test of v3.0.0-alpha7-11-g11e91c0ef 2022-10-16 13:32:07 +02:00
Martin Diehl 11e91c0ef0 Merge branch 'grid_thermal_spectral_fix' into 'development'
missing allocation statement was causing gnu and intel debug compiler to fail in testsuite

See merge request damask/DAMASK!633
2022-10-16 09:01:05 +00:00
Martin Diehl d315aac163 use sourced allocation 2022-10-15 21:54:03 +02:00
Daniel Otto de Mentock 592936f21f missing allocation statement was causing gnu and intel debug compiler to fail 2022-10-14 11:44:42 +02:00
Test User 1b31c93834 [skip ci] updated version information after successful test of v3.0.0-alpha7-7-gb2a600b07 2022-10-13 17:00:58 +02:00
Martin Diehl 8937967067 length of macro seems to depend on PETSc location 2022-10-13 13:08:13 +02:00
Daniel Otto de Mentock 351d81cfe5 python package needs to be built after every push to development/master 2022-10-13 13:01:42 +02:00
Daniel Otto de Mentock a0cb7dced4 damask version needs to comply to PEP440 standards 2022-10-13 13:00:05 +02:00
Daniel Otto de Mentock 3650553fdf venv not required for build 2022-10-13 12:55:40 +02:00
Martin Diehl b2a600b07d new PETSc, new compilers 2022-10-13 12:17:30 +02:00
Test User 6324dac1c2 [skip ci] updated version information after successful test of v3.0.0-alpha7-5-g2e24ce477 2022-10-13 12:12:42 +02:00
Martin Diehl 2e24ce4770 Merge branch 'phenopowerlaw_fix_clean' into 'development'
asymptotic hardening respects own (not other) saturation

See merge request damask/DAMASK!631
2022-10-13 07:54:47 +00:00
Martin Diehl 8caf09aff7 correct inclusion of dependencies 2022-10-12 08:01:33 +02:00
Test User 5337822fff [skip ci] updated version information after successful test of v3.0.0-alpha7-2-g14c46d4c2 2022-10-11 09:51:49 +02:00
Martin Diehl 14c46d4c2e typo 2022-10-11 07:43:05 +02:00
Test User 0cfeb5fd9e [skip ci] updated version information after successful test of v3.0.0-alpha7 2022-10-10 14:18:47 +02:00
Martin Diehl d54484dfa6 v3.0.0-alpha7 2022-10-10 10:48:36 +02:00
Test User 592cdc76e7 [skip ci] updated version information after successful test of v3.0.0-alpha6-578-gbd79bce20 2022-10-10 07:28:22 +02:00
Martin Diehl bd79bce203 Merge remote-tracking branch 'origin/development' into PETSc-3.18 2022-10-09 23:47:32 +02:00
Test User c95e35de70 [skip ci] updated version information after successful test of v3.0.0-alpha6-575-gddb69d223 2022-10-09 02:33:15 +02:00
Martin Diehl ddb69d2234 Intel (classic) has issues on GitHub actions 2022-10-08 20:07:56 +02:00
Martin Diehl 94e9a9a0da migh resolve issue with GitHub actions (Intel) 2022-10-08 19:24:09 +02:00
Sharan Roongta 759c95471c asymptotic hardening respects own (not other) saturation
from @p.eisenlohr
2022-10-07 19:00:09 +02:00
Test User 7eaf47ae98 [skip ci] updated version information after successful test of v3.0.0-alpha6-572-ge5b2ac80e 2022-10-07 18:11:41 +02:00
Franz Roters e5b2ac80e8 Merge branch 'Marc-clean-patches' into 'development'
Cleaned up the patches

See merge request damask/DAMASK!627
2022-10-07 11:46:05 +00:00
Martin Diehl 0ca4d42678 PETSc 3.18.0 compatibility
CHKERR macros are now longer, should be replaced with PetscCall in the
future
2022-10-02 12:48:54 +02:00
Test User c453076ffa [skip ci] updated version information after successful test of v3.0.0-alpha6-564-gaad49b849 2022-09-30 11:54:11 +02:00
Martin Diehl aad49b849b Merge branch 'thermal-cleaning' into 'development'
correct dotT passed

Closes #154

See merge request damask/DAMASK!630
2022-09-29 21:28:52 +00:00
Martin Diehl fd6b2c5e39 standard format 2022-09-29 20:52:31 +02:00
Sharan Roongta dd3b385ae5 correct dotT passed 2022-09-29 15:04:57 +02:00
Martin Diehl 0c83245d4b example files for TWIP/TRIP
I'm not able to reproduce the results from https://doi.org/10.1016/j.actamat.2016.07.032,
but these parameters give results that are qualitatively ok
2022-09-22 16:39:23 +02:00
Test User 697d48cc9f [skip ci] updated version information after successful test of v3.0.0-alpha6-561-geb562ac41 2022-09-21 19:49:06 +02:00
Martin Diehl eb562ac412 Merge branch 'damage_read_init_phi' into 'development'
read initial phi for damage field

See merge request damask/DAMASK!628
2022-09-21 15:15:20 +00:00
Yi Hu bb65d58214 add read-in init phi, correct write-out damage result 2022-09-21 08:50:00 +02:00
Test User 7b61051117 [skip ci] updated version information after successful test of v3.0.0-alpha6-558-g5179f409e 2022-09-14 15:33:08 +02:00
Franz Roters 5179f409ed Merge branch 'no-ftz' into 'development'
flush to zero could be problematic

See merge request damask/DAMASK!626
2022-09-14 11:12:25 +00:00
Martin Diehl 15cdeffcf1 avoid trapping of underflows 2022-09-14 00:27:49 +02:00
Martin Diehl 9d81c5eba7 flush to zero could be problematic
https://www.heise.de/news/Python-Compiler-Optionen-koennen-bei-Gleitkommaberechnungen-zu-Fehlern-fuehren-7257654.html
2022-09-13 23:29:15 +02:00
Martin Diehl 784cd3405e clean termination in case of MPI runs (no deadlock) 2022-09-10 23:53:59 +02:00
Martin Diehl 1add486115 don't rely on PETSc for MPI init 2022-09-10 23:37:39 +02:00
Martin Diehl 4b79334d58 Merge branch 'simplify' into 'development'
no need to pass determinant if not needed

See merge request damask/DAMASK!625
2022-09-10 21:34:00 +00:00
Martin Diehl a2b075c031 cleaning 2022-09-10 13:13:14 +02:00
Martin Diehl e24e7f9121 shared-intel seems to cause no issues (anymore) 2022-09-10 13:04:57 +02:00
Martin Diehl afc3622366 precision is set explicitly via Fortran kinds 2022-09-10 13:04:20 +02:00
Martin Diehl a9aa222961 ignore whitespaces in diff
use diff -ub
to get nice patch
2022-09-10 13:01:56 +02:00
Martin Diehl ea96219871 white space issue 2022-09-10 12:39:54 +02:00
Martin Diehl b11ca71786 no need to pass determinant if not needed 2022-09-10 10:31:18 +02:00
Test User 472ef1d127 [skip ci] updated version information after successful test of v3.0.0-alpha6-552-g938e8bd70 2022-08-31 14:07:41 +02:00
Martin Diehl 938e8bd70c Merge branch 'cleaning' into 'development'
Cleaning

See merge request damask/DAMASK!623
2022-08-31 09:06:11 +00:00
Martin Diehl 043415c4bb unused and untested 2022-08-31 09:06:11 +00:00
Test User 5ffb3d51ab [skip ci] updated version information after successful test of v3.0.0-alpha6-549-g8c097b08d 2022-08-29 19:05:13 +02:00
Franz Roters 8c097b08d5 missing declaration 2022-08-29 16:08:24 +02:00
Test User c030c8b6de [skip ci] updated version information after successful test of v3.0.0-alpha6-547-g0cc64b87c 2022-08-29 15:43:28 +02:00
Daniel Otto de Mentock 0cc64b87c2 Merge branch 'fix_grid_add_primitive_bug' into 'development'
fix grid add primitive bug

Closes #207

See merge request damask/DAMASK!618
2022-08-29 11:44:50 +00:00
Daniel Otto de Mentock 580e01bd1c fix grid add primitive bug 2022-08-29 11:44:50 +00:00
Test User 59aef01ae0 [skip ci] updated version information after successful test of v3.0.0-alpha6-544-g9318b3be0 2022-08-26 11:05:20 +02:00
Sharan Roongta 9318b3be0d Merge branch 'thermal-large-deformation' into 'development'
testing large-strain formulation for thermal

See merge request damask/DAMASK!617
2022-08-25 16:07:12 +00:00
Test User 5e1bae7439 [skip ci] updated version information after successful test of v3.0.0-alpha6-541-gbf9a39f1d 2022-08-19 02:05:56 +02:00
Daniel Otto de Mentock bf9a39f1da Merge branch 'VTI-missing-label-message' into 'development'
better error message if label in VTI file not found

See merge request damask/DAMASK!621
2022-08-18 10:16:41 +00:00
Test User 3cf0f33ea6 [skip ci] updated version information after successful test of v3.0.0-alpha6-537-g31fe894c7 2022-08-18 11:47:02 +02:00
Martin Diehl 31fe894c78 Merge branch 'docstring-polishing' into 'development'
increasing consistency

See merge request damask/DAMASK!616
2022-08-17 04:41:11 +00:00
Martin Diehl 0b9597e74e better error message/simpler code 2022-08-16 18:26:50 +02:00
Martin Diehl fbc6a1ebbf following naming convention
the variable is NOT related to the base64 module
2022-08-16 17:10:49 +02:00
Test User 793fb3d9aa [skip ci] updated version information after successful test of v3.0.0-alpha6-534-g4a3acff21 2022-08-15 15:44:50 +02:00
Martin Diehl 4a3acff213 Merge branch 'empty-table-init' into development 2022-08-15 08:04:17 +02:00
Martin Diehl 7530d457a2 documenting new behavior 2022-08-15 08:04:02 +02:00
Martin Diehl 6b50f61dba testing large-strain formulation for thermal 2022-08-14 23:16:33 +02:00
Test User 85b788f1c5 [skip ci] updated version information after successful test of v3.0.0-alpha6-526-gf7350005d 2022-08-13 04:57:16 +02:00
Philip Eisenlohr ef8891797a Merge branch 'development' into empty-table-init 2022-08-12 16:15:33 -04:00
Martin Diehl f7350005db Merge branch 'modified_shapeshifter_function' into 'development'
Modified shapeshifter function

See merge request damask/DAMASK!615
2022-08-12 18:45:40 +00:00
Daniel Otto de Mentock 400323a9aa Modified shapeshifter function 2022-08-12 18:45:40 +00:00
Test User e13196b770 [skip ci] updated version information after successful test of v3.0.0-alpha6-523-g66f129273 2022-08-11 06:42:24 +02:00
Martin Diehl b7cd0c1d51 increasing consistency 2022-08-10 20:51:50 +02:00
Daniel Otto de Mentock 66f129273c Merge branch 'magic_methods_default_docstrings' into 'development'
Added standard magic method descriptions to magic methods

Closes #112

See merge request damask/DAMASK!606
2022-08-10 15:35:56 +00:00
Philip Eisenlohr 009320c9fc polishing of doc-strings 2022-08-09 09:29:22 -04:00
Test User dcae40123f [skip ci] updated version information after successful test of v3.0.0-alpha6-518-gddbc854b0 2022-08-01 23:55:34 +02:00
Daniel Otto de Mentock ddbc854b04 Merge branch 'prepare-transposed-FFTW' into 'development'
Prepare transposed fftw

See merge request damask/DAMASK!611
2022-08-01 09:50:51 +00:00
Daniel Otto de Mentock f22f8320d4 Merge branch 'FFTW-transpose-empty-slice' into 'development'
test for upcoming transpose MPI-FFT

See merge request damask/DAMASK!613
2022-08-01 09:50:19 +00:00
Martin Diehl 237bda5ccf ensuring matching domain decomposition for all transforms 2022-07-29 07:29:20 +02:00
Martin Diehl aee8ecd43d Merge remote-tracking branch 'origin/development' into prepare-transposed-FFTW 2022-07-29 07:27:12 +02:00
Martin Diehl 4dc3e4a944 test for upcoming transpose MPI-FFT 2022-07-28 23:28:35 +02:00
Test User 1819ad05e0 [skip ci] updated version information after successful test of v3.0.0-alpha6-503-ge04587490 2022-07-27 19:20:26 +02:00
Martin Diehl e045874902 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2022-07-27 12:56:57 +02:00
Martin Diehl fb38340184 glitch in example 2022-07-27 12:56:37 +02:00
Test User 5f4808b0f3 [skip ci] updated version information after successful test of v3.0.0-alpha6-500-g44d9663ff 2022-07-27 03:13:56 +02:00
Martin Diehl 44d9663ff0 standard name 2022-07-26 21:55:17 +02:00
Daniel Otto de Mentock 27a8610d92 loops over tensors in fourier space need to correspond to transposed structure 2022-07-22 14:58:30 +02:00
Daniel Otto de Mentock b1257d6b54 correcting wrong access to scalarfield_fourier 2022-07-19 14:47:05 +02:00
Daniel Otto de Mentock dda157aa5a accesses to fourier space tensors now need to correspond to transposed structure 2022-07-13 14:10:13 +02:00
Test User 11eb53d5ef [skip ci] updated version information after successful test of v3.0.0-alpha6-498-gbb63048a0 2022-07-10 13:14:08 +02:00
d.mentock 3492dfcd3b Adding consistency to docstring structure 2022-07-08 18:07:07 +02:00
d.mentock df1f362ed3 it's useful for users to see standard docstrings in magic methods 2022-07-08 18:06:41 +02:00
Philip Eisenlohr 7082eab366 small test to demonstrate alternative Table init 2022-07-08 18:01:36 +02:00
Sharan Roongta bb63048a0f Merge branch 'implicit-none-external' into 'development'
implicit none cover external

See merge request damask/DAMASK!610
2022-07-08 11:43:19 +00:00
Martin Diehl ec0c486a2c transition to transposed storage 2022-07-06 18:01:39 +02:00
Test User 725ae601f9 [skip ci] updated version information after successful test of v3.0.0-alpha6-491-g9f4fc1527 2022-07-03 19:03:54 +02:00
Martin Diehl 9f4fc15273 Merge branch 'clean-isobrittle' into 'development'
dot state is 0 in isibrittle

See merge request damask/DAMASK!612
2022-07-03 14:32:21 +00:00
Sharan c3ba8b6588 dot state is 0 in isibrittle 2022-07-02 18:59:21 +02:00
Martin Diehl 771ccb4485 testing average behavior 2022-07-01 14:33:10 +02:00
Martin Diehl fc76f9f60f preparing for use of transposed data in Fourier space 2022-06-30 22:23:27 +02:00
Martin Diehl 44ecedc7b0 unified names 2022-06-30 22:01:35 +02:00
Martin Diehl af2eb3e51d systematic names 2022-06-30 21:59:21 +02:00
Martin Diehl ef8f0becd4 only used within module 2022-06-30 21:45:49 +02:00
Test User a4ffdbe969 [skip ci] updated version information after successful test of v3.0.0-alpha6-488-g1d1f460d6 2022-06-28 22:21:06 +02:00
Martin Diehl 1d1f460d66 original layout from official page
GitHub has issues identifying the license, maybe this helps
2022-06-28 20:00:39 +02:00
Test User b51f4faabe [skip ci] updated version information after successful test of v3.0.0-alpha6-486-gba1d6ad07 2022-06-28 12:04:40 +02:00
Martin Diehl ba1d6ad078 Merge branch 'private-fourier-fields' into 'development'
limit access

See merge request damask/DAMASK!609
2022-06-28 07:52:13 +00:00
Martin Diehl 64fad03b97 explicit casting 2022-06-27 23:39:54 +02:00
Martin Diehl 60e097a04e something is wrong with interfaces for 64 bit 2022-06-27 22:35:29 +02:00
Martin Diehl de1633f420 limit access 2022-06-27 21:51:44 +02:00
Martin Diehl 61dc14e0b9 Merge remote-tracking branch 'origin/development' into implicit-none-external 2022-06-27 15:13:20 +02:00
Test User bd49cfeb31 [skip ci] updated version information after successful test of v3.0.0-alpha6-483-gde89d0fe3 2022-06-27 12:59:19 +02:00
Daniel Otto de Mentock de89d0fe38 Merge branch 'Marc-Precision-handling' into 'development'
Marc precision handling

See merge request damask/DAMASK!607
2022-06-27 08:37:41 +00:00
Martin Diehl 3b57934d6e Marc precision handling 2022-06-27 08:37:41 +00:00
Martin Diehl 372b9b04af avoid failing tests by ignoring solution of mechanical field 2022-06-27 09:59:05 +02:00
Martin Diehl c8d40184bc Merge branch 'thermal-isotropic-test' into 'development'
Thermal isotropic test

See merge request damask/DAMASK!608
2022-06-27 05:22:20 +00:00
Martin Diehl a90b78de62 testing isotropic heat equation 2022-06-24 09:22:17 +02:00
Martin Diehl 445a091fec easier to understand 2022-06-24 07:36:25 +02:00
Martin Diehl 2f1904efec only MPI_f08 is standard conforming 2022-06-21 23:11:22 +02:00
Martin Diehl b8c3d75700 [skip sc] enforce interfaces (quick fix: declare as external) 2022-06-21 22:59:01 +02:00
Test User 5881d010b9 [skip ci] updated version information after successful test of v3.0.0-alpha6-476-gac626db9d 2022-06-17 10:12:48 +02:00
Nikhil Prabhu ac626db9df Merge branch 'polishing' into 'development'
Polishing

See merge request damask/DAMASK!601
2022-06-16 09:31:02 +00:00
Martin Diehl b6d64e4f96 Merge remote-tracking branch 'origin/development' into damask-marc-spack-adjustments-summarized 2022-06-16 10:54:56 +02:00
Martin Diehl 074cdf5dff following default style 2022-06-15 20:15:35 +02:00
Martin Diehl 0b8473d7ec Merge remote-tracking branch 'origin/development' into polishing 2022-06-15 20:13:39 +02:00
d.mentock 77fa2a1d93 adjustments to patchfile required for marc2021/2022 spack packages 2022-06-15 15:48:34 +02:00
Test User 0e4a8f284d [skip ci] updated version information after successful test of v3.0.0-alpha6-464-g540eeb4a6 2022-06-15 15:35:14 +02:00
Martin Diehl 540eeb4a6d Merge branch 'fortran-rotation-cleanup' into 'development'
removing dead code

See merge request damask/DAMASK!604
2022-06-15 08:43:22 +00:00
Martin Diehl 703798b080 test needs update after change of parameter names for sb 2022-06-15 08:31:25 +02:00
Martin Diehl 8da04f197c Merge remote-tracking branch 'origin/development' into polishing 2022-06-14 07:42:54 +02:00
Test User 655103d39e [skip ci] updated version information after successful test of v3.0.0-alpha6-458-g132823519 2022-06-13 19:35:37 +02:00
Martin Diehl 576c79a619 following DAMASK paper 2022-06-13 14:08:45 +02:00
Daniel Otto de Mentock 1328235192 Merge branch 'util_module_import_style' into 'development'
util: module visibility

Closes #150

See merge request damask/DAMASK!603
2022-06-13 09:06:04 +00:00
Martin Diehl 0d63284c01 increase test coverage 2022-06-12 16:16:25 +02:00
Martin Diehl f60c950a7c numerically better normalization
slightly more expensive, but guarantees a det(R) = 1.0
2022-06-12 10:25:14 +02:00
Martin Diehl 9f4e354b12 polishing 2022-06-11 23:12:30 +02:00
Martin Diehl 9e0a0ee166 not needed 2022-06-11 23:04:21 +02:00
Test User bbd4f01fb7 [skip ci] updated version information after successful test of v3.0.0-alpha6-453-g98b307f0c 2022-06-11 03:24:31 +02:00
Philip Eisenlohr 98b307f0c0 Merge branch '157-better-coefficients-for-cubochoric' into 'development'
Adopt 21-degree polynomial in Rotation._ho2ax

Closes #157

See merge request damask/DAMASK!602
2022-06-10 14:33:16 +00:00
Martin Diehl 1a44b6e692 white space adjustments 2022-06-10 14:03:43 +02:00
d.mentock d88a139a41 pyflakes bug causes error without comment 2022-06-10 12:03:50 +02:00
d.mentock afbafd1d98 util imports need prefix instead of __all__ definition to prevent namespace pollution 2022-06-10 12:00:54 +02:00
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 cdd3b44519 using more precise coefficients also in test
changes in _rotation.py are just cosmetic
2022-06-09 23:54:56 +02:00
Philip Eisenlohr d10516e0b6 fixed typo 2022-06-09 17:23:16 -04:00
Philip Eisenlohr 8fefc46f38 fixed FZ conditions and tightened tolerance to accommodate higher precision "tfit" 2022-06-09 16:38:13 -04:00
Test User b3b14e9104 [skip ci] updated version information after successful test of v3.0.0-alpha6-447-g42ee6310b 2022-06-09 17:47:00 +02:00
Daniel Otto de Mentock 42ee6310b3 Merge branch 'apply_DAMASK_modifications_adjustments' into 'development'
Make apply_DAMASK_modifications script independent of damask

See merge request damask/DAMASK!600
2022-06-09 09:08:33 +00:00
Martin Diehl ea6199b908 simplified 2022-06-09 00:22:04 +02:00
Martin Diehl 1ed7bbabef signal handling etc. not needed here 2022-06-09 00:12:19 +02:00
Martin Diehl 9b94aca09f new example file 2022-06-08 23:28:54 +02:00
Martin Diehl f8833043b3 consistent capitalization 2022-06-08 23:28:41 +02:00
Martin Diehl 78838c2f75 consistent variants including space 2022-06-08 23:27:09 +02:00
Daniel Otto de Mentock ab2072bf2f apply_DAMASK_modifications script needs to be independent from damask installation (except solver variables) 2022-06-08 15:50:35 +02:00
Test User 5a284648ed [skip ci] updated version information after successful test of v3.0.0-alpha6-442-g49e40923e 2022-06-07 19:03:44 +02:00
Daniel Otto de Mentock 49e40923e5 Merge branch 'numpy_dtype_int_to_int64' into 'development'
Prevent windows overflow error when using numpy dtype=int instead of int64

Closes #175

See merge request damask/DAMASK!598
2022-06-07 10:46:50 +00:00
Test User 30bedeb3bc [skip ci] updated version information after successful test of v3.0.0-alpha6-439-g40658a664 2022-06-06 02:57:17 +02:00
Philip Eisenlohr 40658a6645 fixed typo in Result.view example 2022-06-05 21:39:06 +00:00
Test User 1d17824540 [skip ci] updated version information after successful test of v3.0.0-alpha6-437-gfa974574a 2022-06-04 19:45:55 +02:00
Sharan Roongta fa974574af Merge branch 'consistent-damage-parameter-names' into 'development'
Consistent damage parameter names

See merge request damask/DAMASK!593
2022-06-04 11:27:28 +00:00
Martin Diehl 1b5194288b polished tests, consistent variable name 2022-06-04 07:26:45 +02:00
Test User f6d960f785 [skip ci] updated version information after successful test of v3.0.0-alpha6-429-g5155a3f95 2022-06-02 23:35:51 +02:00
d.mentock b9214fcc6c Prevent windows overflow error when using numpy dtype=int instead of int64 2022-06-02 19:40:18 +02:00
Franz Roters 5155a3f958 Merge branch 'MPI-FFTW-fix' into 'development'
bugfix: prevent segmentation fault

Closes #192

See merge request damask/DAMASK!595
2022-06-02 16:13:24 +00:00
Test User 508680629e [skip ci] updated version information after successful test of v3.0.0-alpha6-422-gb8530bbcc 2022-05-31 16:31:18 +02:00
Martin Diehl b8530bbcc9 Merge branch 'implicit-none-in-interface' into 'development'
implicit none does not propagate

See merge request damask/DAMASK!596
2022-05-31 12:06:03 +00:00
Test User 614eaa0032 [skip ci] updated version information after successful test of v3.0.0-alpha6-419-g3d10d2925 2022-05-28 21:16:36 +02:00
Philip Eisenlohr 3d10d29254 Merge branch 'warning-error-cleanup' into 'development'
more flexible error/warning handling

See merge request damask/DAMASK!594
2022-05-28 16:56:53 +00:00
Test User e163d247ec [skip ci] updated version information after successful test of v3.0.0-alpha6-402-g2bfcc4d0b 2022-05-28 04:22:27 +02:00
Martin Diehl d858d753e3 implicit none does not propagate
each subroutine/function is independent and not part of a scope
2022-05-27 22:38:47 +02:00
Martin Diehl 6fa87b4038 not needed anymore 2022-05-27 20:58:18 +02:00
Martin Diehl 2bfcc4d0b8 standardized reporting 2022-05-27 20:53:16 +02:00
Martin Diehl b56ded62d9 encapsulate data, prefix only public functions 2022-05-27 18:01:40 +02:00
Philip Eisenlohr f85e8a3ff4 more precise warning for fftw_plan_mode 2022-05-27 12:00:53 -04:00
Philip Eisenlohr 75bd643258 more precise warning for fftw_plan_mode 2022-05-27 11:58:10 -04:00
Philip Eisenlohr d66c777d6e introduced "IO_panel" to write statements to STDERR 2022-05-27 11:47:14 -04:00
Martin Diehl dc59beb59c following advince from FFTW3 manual
silences a lot of gfortran warnings about unused variables
2022-05-27 09:54:00 +02:00
Martin Diehl 064b9c5cc4 bugfix: prevent segmentation fault
need to rely on FFTWs calculation for amount of storage needed
2022-05-27 09:53:04 +02:00
Martin Diehl 6c6b3e64b3 more flexible reporting 2022-05-27 09:38:47 +02:00
Martin Diehl cfa2be44e9 internal errors should trigger error stop 2022-05-27 08:48:42 +02:00
Martin Diehl f7d23ad151 internal variable, no prefix needed 2022-05-27 08:40:01 +02:00
Martin Diehl f31dd8cbe8 unknown error/warning numbers are internal errors 2022-05-27 08:34:52 +02:00
Martin Diehl f90523eb07 more flexible reporting 2022-05-27 08:33:50 +02:00
Martin Diehl 5f0ae4fe7a user errors are catched earlier
internal errors (essentially programming faults) should stop with 'error
stop'
2022-05-27 06:41:55 +02:00
Martin Diehl 79fad5ca19 IP was only used for an argument that is NOT the IP ID 2022-05-27 06:41:15 +02:00
Martin Diehl 1d4c476cd4 collect errors for more helpful message 2022-05-27 06:30:25 +02:00
Martin Diehl d5db083fec more convenient to see all invalid parameters 2022-05-27 00:25:25 +02:00
Martin Diehl 7a23699aa4 not needed
error occurs in <phase ... init>
2022-05-27 00:24:40 +02:00
Martin Diehl 724c4fcf5d not used
ip,el,g is anyways not flexible enough. Remove unused arguments before
developing a more flexible approach
2022-05-27 00:23:51 +02:00
Martin Diehl 19b78cb647 easier to read 2022-05-26 23:29:06 +02:00
Martin Diehl 82cad00f81 simplified interface 2022-05-26 19:07:23 +02:00
Martin Diehl a514d30060 standardized names 2022-05-26 19:03:29 +02:00
Martin Diehl e684412186 testing resolution-independent behavior 2022-05-26 14:22:45 +02:00
Test User d3171e4724 [skip ci] updated version information after successful test of v3.0.0-alpha6-400-g1dc5e353c 2022-05-25 18:41:13 +02:00
Philip Eisenlohr b7d807db01 re-added default arguments that got lost in last commit 2022-05-25 09:45:37 -04:00
Philip Eisenlohr 4746ac890b Merge branch 'development' into 'empty-table-init'
# Conflicts:
#   python/damask/_table.py
2022-05-25 13:29:23 +00:00
Philip Eisenlohr 1dc5e353c4 Merge branch 'sequence-not-iterable' into 'development'
Need sequence not iterable

See merge request damask/DAMASK!587
2022-05-25 13:25:25 +00:00
Test User 4cb8930646 [skip ci] updated version information after successful test of v3.0.0-alpha6-395-g9696c1967 2022-05-23 15:24:41 +02:00
Martin Diehl 9696c19676 Merge branch 'typehints_results' into 'development'
06 Added typehints for results module

See merge request damask/DAMASK!498
2022-05-23 11:29:38 +00:00
Martin Diehl b9cea941cc simplified 2022-05-23 10:37:57 +02:00
Martin Diehl 77f586b1d7 Merge remote-tracking branch 'origin/development' into consistent-damage-parameter-names 2022-05-22 23:35:42 +02:00
Martin Diehl 4b4b455b85 mypy does not understand the setter 2022-05-22 10:08:32 +02:00
Martin Diehl 8039e56882 Merge remote-tracking branch 'origin/development' into typehints_results 2022-05-21 17:46:59 +02:00
Test User 4d17adb1bf [skip ci] updated version information after successful test of v3.0.0-alpha6-381-gd2c072604 2022-05-21 11:19:40 +02:00
Martin Diehl d2c072604a missing update of PRIVATE 2022-05-21 09:23:44 +02:00
Test User ad6cd12a18 [skip ci] updated version information after successful test of v3.0.0-alpha6-379-g119f8c484 2022-05-20 18:36:34 +02:00
d.mentock 570ba8d626 added type: ignore to unrecognized one line if statement 2022-05-20 12:04:34 +02:00
Nikhil Prabhu 119f8c4847 Merge branch 'initial-V_e' into 'development'
Draf: Initial v e

See merge request damask/DAMASK!589
2022-05-20 08:31:04 +00:00
Martin Diehl f42bb5d175 mitigate rounding errors 2022-05-20 06:43:32 +02:00
Martin Diehl 491e2ec0b2 avoid negative zero when not needed 2022-05-20 06:30:07 +02:00
Test User d2b493765c [skip ci] updated version information after successful test of v3.0.0-alpha6-373-g41a732f62 2022-05-19 22:42:33 +02:00
Philip Eisenlohr 92a4883344 consistent and correct type hinting/documentation for comments 2022-05-19 12:19:55 -04:00
Martin Diehl 6b6c2548c5 Merge branch 'development' into initial-V_e 2022-05-19 17:03:09 +02:00
Martin Diehl 41a732f62d assumed rank solution gives wrong results #194 2022-05-19 16:38:37 +02:00
Martin Diehl 556d9d840e specifying V_e is more natural than F_i 2022-05-19 01:15:17 +02:00
Philip Eisenlohr b1b845cb5c allow init of empty table 2022-05-18 18:30:18 -04:00
Philip Eisenlohr 164c7b4bc3 clarified sequence of sequences argument type 2022-05-18 09:31:19 -04:00
Philip Eisenlohr 254524fa38 clarified sequence and iterable argument types 2022-05-18 09:21:32 -04:00
Test User 0962d2ebdf [skip ci] updated version information after successful test of v3.0.0-alpha6-371-g18d862cdb 2022-05-18 03:17:26 +02:00
Philip Eisenlohr 18d862cdb0 Merge branch 'table-vtk-help' into 'development'
consistent interface and description

See merge request damask/DAMASK!584
2022-05-17 22:46:58 +00:00
Philip Eisenlohr 8442f0cdd3 accumulate comments 2022-05-17 16:12:00 -04:00
Test User 2a2324266c [skip ci] updated version information after successful test of v3.0.0-alpha6-367-g85fa92ee1 2022-05-17 19:35:47 +02:00
Daniel Otto de Mentock 85fa92ee1f Merge branch 'use-openMP-module' into 'development'
using the module is the recommended approach

See merge request damask/DAMASK!582
2022-05-17 12:57:15 +00:00
Daniel Otto de Mentock 5f3203cecf Merge branch 'element-cleanup' into 'development'
only relevant for Marc

See merge request damask/DAMASK!583
2022-05-17 12:56:50 +00:00
Test User 6a870d72a5 [skip ci] updated version information after successful test of v3.0.0-alpha6-362-g0ce280cc5 2022-05-17 13:59:25 +02:00
Nikhil Prabhu 0ce280cc5b Merge branch 'more-material-parameters' into 'development'
More material parameters

See merge request damask/DAMASK!585
2022-05-17 09:32:05 +00:00
Martin Diehl 0f1d0cbd61 copy and paste error 2022-05-17 08:53:32 +02:00
Martin Diehl af4e31ca1c Merge remote-tracking branch 'origin/development' into more-material-parameters 2022-05-17 01:57:31 +02:00
Martin Diehl b3992e0ff0 test new example files 2022-05-16 23:24:29 +02:00
Test User 10e8498016 [skip ci] updated version information after successful test of v3.0.0-alpha6-355-g6c7f2344d 2022-05-16 02:43:09 +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
Test User b9fd6329da [skip ci] updated version information after successful test of v3.0.0-alpha6-351-gc9d7cf405 2022-05-14 21:07:33 +02:00
Vitesh c9d7cf405c Merge branch 'sigint-to-quit' into 'development'
better use SIGINT for actions triggered by the user

See merge request damask/DAMASK!581
2022-05-14 17:00:42 +00:00
Test User 1448719e6b [skip ci] updated version information after successful test of v3.0.0-alpha6-346-gd83f0acf7 2022-05-13 16:35:24 +02:00
Martin Diehl c0bb576117 Merge remote-tracking branch 'origin/development' into sigint-to-quit 2022-05-13 11:58:18 +02:00
Martin Diehl 3f85027b9e better use SIGINT for actions triggered by the user
SIGTERM is send by MPI if one process fails, catching it results in
deadlocks
2022-05-13 11:58:03 +02:00
Martin Diehl cda6e0af35 some difference to pure Ni 2022-05-13 11:44:02 +02:00
Franz Roters d83f0acf7f Merge branch 'rotation-help-polish' into 'development'
Rotation help improvements

See merge request damask/DAMASK!575
2022-05-13 09:18:35 +00:00
Martin Diehl 37eb567451 dataset for Platinum 2022-05-13 11:10:02 +02:00
Martin Diehl 6b17787be1 only relevant for Marc 2022-05-13 10:02:02 +02:00
Martin Diehl 90c3b3170d propagate 'normalize' option 2022-05-13 09:54:32 +02:00
Test User d48fa460b1 [skip ci] updated version information after successful test of v3.0.0-alpha6-343-gc8d48d6eb 2022-05-13 08:49:30 +02:00
Martin Diehl 05d3a92944 using the module is the recommended approach 2022-05-13 08:43:24 +02:00
Martin Diehl 12cd19554f consistent interface and description 2022-05-13 06:28:52 +02:00
Martin Diehl c8d48d6eb9 Merge branch 'universal-VTK.set' into 'development'
Universal VTK.set

See merge request damask/DAMASK!577
2022-05-13 03:44:11 +00:00
Test User 5627c28ea1 [skip ci] updated version information after successful test of v3.0.0-alpha6-339-g6f7e8491b 2022-05-13 00:35:47 +02:00
Martin Diehl 6f7e8491bc Merge branch 'Marc2022.1' into 'development'
Marc2022.1

See merge request damask/DAMASK!579
2022-05-12 20:38:25 +00:00
Test User 1135a42b2a [skip ci] updated version information after successful test of v3.0.0-alpha6-328-g14a7d3fc4 2022-05-12 18:25:40 +02:00
Martin Diehl 961e6acf6e not needed anymore 2022-05-12 16:56:12 +02:00
Martin Diehl 0b6ead1a48 avoid console-spam during initialization 2022-05-12 15:36:12 +02:00
Martin Diehl 14a7d3fc41 Merge branch 'no-in-tree-build' into 'development'
in-tree-build not supported anymore on GitHub Actions

See merge request damask/DAMASK!580
2022-05-12 12:54:29 +00:00
Test User fd71a900e7 [skip ci] updated version information after successful test of v3.0.0-alpha6-325-g236a009e2 2022-05-12 03:27:49 +02:00
Philip Eisenlohr d18e36ecf0 fixed leftover .add --> .set 2022-05-11 18:54:03 -04:00
Martin Diehl fce600f02b in tree build not supported anymore 2022-05-12 00:39:19 +02: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 648d17d381 renamed .add to .set to be consistent with Table.set 2022-05-11 18:19:10 -04:00
Test User 6f07145b75 [skip ci] updated version information after successful test of v3.0.0-alpha6-322-g53c345f4f 2022-05-11 20:31:51 +02:00
Franz Roters 5674781cce Merge branch 'Marc2022.1' of git.damask.mpie.de:damask/DAMASK into Marc2022.1 2022-05-11 17:58:23 +02:00
Franz Roters becf0eed00 use updated test and reference 2022-05-11 17:51:37 +02:00
Philip Eisenlohr 35aa8a9bc6 combine table.add and .set 2022-05-11 09:19:48 -04:00
Franz Roters 53c345f4f1 Merge branch 'from_fiber-improvements' into 'development'
From fiber improvements

See merge request damask/DAMASK!573
2022-05-11 13:13:31 +00:00
Philip Eisenlohr b080e414ae normalize to_pole output by default 2022-05-11 08:55:55 -04:00
Martin Diehl 4c6b6fccec Merge branch 'correct-Miller-brackets' into 'development'
symmetry-aware Miller brackets

See merge request damask/DAMASK!574
2022-05-11 12:40:24 +00:00
Martin Diehl 302f020f63 looks better
at least on Linux
2022-05-11 09:22:05 +02:00
Philip Eisenlohr 75272163cd slight polish of help messages 2022-05-10 15:45:19 -04:00
Philip Eisenlohr c9f344758a use symmetry-aware Miller brackets in Result.add_pole 2022-05-10 15:26:33 -04:00
Martin Diehl bdad623811 correct name for test 2022-05-10 20:23:53 +02:00
Martin Diehl 13f4d77791 polishing 2022-05-10 19:17:59 +02:00
Franz Roters 087302a2a4 chnage Marc default version to 2022.1 2022-05-10 09:00:55 +02:00
Test User 675e9c911d [skip ci] updated version information after successful test of v3.0.0-alpha6-312-g6e7372f30 2022-05-09 20:16:57 +02:00
Philip Eisenlohr 6e7372f308 Merge branch 'order4-polynomial' into 'development'
allow dependent variables to be of polynomial order up to 4

See merge request damask/DAMASK!572
2022-05-09 14:51:43 +00:00
Franz Roters 0b83a8ca10 new Marc version 2022-05-09 14:05:30 +02:00
Daniel Otto de Mentock 7e1d44cd63 Merge branch 'fast-YAML-load' into 'development'
use libyaml-based loader

See merge request damask/DAMASK!570
2022-05-09 10:58:31 +00:00
Test User 0cfba2e6d8 [skip ci] updated version information after successful test of v3.0.0-alpha6-293-g268ff2623 2022-05-09 02:34:49 +02:00
Martin Diehl f27969caf9 documenting and testing 2022-05-08 23:22:03 +02:00
Martin Diehl d7e7750400 Merge remote-tracking branch 'origin/development' into from_fiber-improvements 2022-05-08 22:21:53 +02:00
Martin Diehl 268ff26232 need powershell commands 2022-05-08 22:09:10 +02:00
Martin Diehl 53796fce7a trustworthy reference 2022-05-08 20:10:12 +02:00
Martin Diehl b376b10b7a classic Intel gives FPE 2022-05-08 17:47:20 +02:00
Martin Diehl 10d8a63cb6 not used
and current code is not good (not using Horner scheme)
2022-05-08 17:18:15 +02:00
Martin Diehl d713026f7e fast evaluation for (most common) case of constant 2022-05-08 16:49:30 +02:00
Martin Diehl b2052cb3c7 less strict tolerances
values can be in the order of 1e5, so 1e-6 precision is not too bad
2022-05-08 16:41:19 +02:00
Martin Diehl 8f9fbb30e5 use fused multiply-add where possible
only possible for Intel compiler
2022-05-08 15:48:13 +02:00
Martin Diehl 5b8e5591ed Merge remote-tracking branch 'origin/development' into order4-polynomial 2022-05-08 14:35:48 +02:00
Martin Diehl 240426402c using (faster) Horner evaluation
https://rosettacode.org/wiki/Horner%27s_rule_for_polynomial_evaluation
2022-05-08 13:32:14 +02:00
Martin Diehl 72c29f744c better tests 2022-05-08 12:49:29 +02:00
Test User 3854547ce8 [skip ci] updated version information after successful test of v3.0.0-alpha6-291-g7d18ed307 2022-05-08 12:40:58 +02:00
Martin Diehl 7d18ed307d hickup in documentation 2022-05-08 09:30:26 +02:00
Martin Diehl 2741fbd977 whitespace adjustments
- 1 empty line between dummy arguments/return value
- 2 empty lines between variable definition and actual code
2022-05-08 09:27:21 +02:00
Martin Diehl ec184cb8fe need to relax absolute tolerance
absolute values for quartic become quite high
2022-05-08 08:30:58 +02:00
Martin Diehl 9605a5c2de polynomial expansion up to order 4 2022-05-07 23:04:06 +02:00
Martin Diehl 71e4fa222c generic code for variable order 2022-05-07 22:53:31 +02:00
Martin Diehl 70b9943920 allow to specify only quadratic term in Dict 2022-05-07 22:47:13 +02:00
Test User 45dc3d8f2b [skip ci] updated version information after successful test of v3.0.0-alpha6-288-g2792153ca 2022-05-07 22:20:56 +02:00
Martin Diehl 7cf3bcb9c9 easier to read 2022-05-07 22:01:47 +02:00
Martin Diehl 2792153ca2 Merge branch 'PETSc-3.17.1' into 'development'
PETSc 3.17.1 adjustments

See merge request damask/DAMASK!571
2022-05-07 18:02:50 +00:00
Franz Roters 7eddfab994 Merge branch 'development' into Marc2022.1 2022-05-06 18:18:55 +02:00
Martin Diehl 58fab14c6c PETSc 3.17.1 adjustments 2022-05-06 12:34:32 +02:00
Test User ca95282911 [skip ci] updated version information after successful test of v3.0.0-alpha6-285-g4d131ec7b 2022-05-06 12:01:24 +02:00
Franz Roters 4d131ec7ba Merge branch 'structure-improvements' into 'development'
Directory layout and filename improvements

See merge request damask/DAMASK!567
2022-05-06 07:33:51 +00:00
Test User c58bbaa9ad [skip ci] updated version information after successful test of v3.0.0-alpha6-270-gc6030f30d 2022-05-05 03:50:41 +02:00
Martin Diehl c6030f30d9 Merge branch 'setup.cfg_solver_update' into 'development'
modified setup.cfg to include solver dir

See merge request damask/DAMASK!569
2022-05-04 23:07:56 +00:00
Franz Roters da595d46db add support for Marc2022.1 2022-05-04 14:56:50 +02:00
Franz Roters f13691fadc adjust permissions of all modified files 2022-05-04 14:55:03 +02:00
Franz Roters 6236ad52d1 consistent naming 2022-05-03 13:00:28 +02:00
Franz Roters fc4619189f unified capitalization 2022-05-03 12:55:27 +02:00
d.mentock 60190e8992 modified setup.cfg to automatically detect main package and subpackages 2022-05-02 18:00:21 +02:00
Daniel Otto de Mentock 57177303b3 changed string using format in _add_eigenvalue to f-string 2022-05-02 16:40:51 +02:00
d.mentock a0f019a0cf result typehints revision 2022-05-02 11:18:35 +02:00
d.mentock 0a42dba453 modified setup.cfg to include solver dir 2022-05-02 10:25:11 +02:00
Martin Diehl be39865ff7 more systematic naming 2022-05-02 09:52:15 +02:00
Martin Diehl 575de4b89b mypy does not like an import that can result in two types 2022-04-30 23:15:21 +02:00
Martin Diehl 8168d43553 use libyaml-based loader
factor 10 faster on my laptop
2022-04-30 19:44:50 +02:00
Martin Diehl 412884ea82 Merge remote-tracking branch 'origin/development' into typehints_results 2022-04-30 00:25:58 +02:00
Martin Diehl ec6ecc7ed4 default order 2022-04-30 00:25:49 +02:00
Martin Diehl e29a732d9f improved naming 2022-04-29 14:58:12 +02:00
Martin Diehl 730cda2020 more explicit name 2022-04-29 14:50:27 +02:00
Martin Diehl 06cef42927 use physical/ISO convention 2022-04-28 15:57:04 +02:00
Martin Diehl a0455cadf3 consistently have input in radians 2022-04-28 15:46:19 +02:00
1a2a34v 482db1ac3b [skip ci] renamed _add_generic_pointwise provided_func argument to callback 2022-04-28 09:45:10 +02:00
Martin Diehl 5c4d481155 common order is theta,phi 2022-04-28 01:33:33 +02:00
Test User 07b95a3dec [skip ci] updated version information after successful test of v3.0.0-alpha6-266-g5776891b7 2022-04-28 01:12:34 +02:00
Martin Diehl 5776891b75 typo: missing space 2022-04-27 22:49:33 +02:00
Daniel Otto de Mentock 793f4e22ba renamed func argument to _job_pointwise function to provided_func to avoid overlap with func argument of functools.partial function 2022-04-27 17:29:19 +02:00
Martin Diehl e0d2859202 better test coverage 2022-04-27 17:25:39 +02:00
Martin Diehl 8faa5296a1 Merge remote-tracking branch 'origin/fiber_components_noalphabeta' into development 2022-04-27 17:25:13 +02:00
Daniel Otto de Mentock b06a272586 updated commits of original branch to suit current state of development 2022-04-27 16:26:33 +02:00
Philip Eisenlohr 8f0240c67b avoid option clash in Orientation.from_fiber_component 2022-04-27 08:59:55 -04:00
Test User 831cd42842 [skip ci] updated version information after successful test of 2022-04-27 10:09:51 +02:00
Martin Diehl ae9ffe9924 pip-compatible version string 2022-04-27 06:50:22 +02:00
Martin Diehl 45fdd03ecd main file at root 2022-04-27 06:05:06 +02:00
Martin Diehl 8b3a0982c6 rename was missing (is already in code) 2022-04-27 05:58:05 +02:00
Martin Diehl bb83d20fe9 Merge branch 'development' into structure-improvements 2022-04-27 05:55:19 +02:00
Test User af8003525a [skip ci] updated version information after successful test of 3.0.0-alpha6-258-gea7c8ef23 2022-04-27 01:01:01 +02:00
Philip Eisenlohr ea7c8ef235 Merge branch 'split-CLI-signals' into 'development'
separating functionality

See merge request damask/DAMASK!565
2022-04-26 20:17:14 +00:00
Philip Eisenlohr dece12a1a6 remove unused CLI module inclusion 2022-04-26 12:19:13 -04:00
Test User 51996a707e [skip ci] updated version information after successful test of 3.0.0-alpha6-252-g59668d291 2022-04-26 11:05:02 +02:00
Daniel Otto de Mentock 59668d2910 removed zip_safe = false entry from setup.cfg 2022-04-26 08:32:18 +02:00
Daniel Otto de Mentock b4c6ca64fc replaced setup.py with setup.cfg file
modified .gitlab-ci.yml file to strip away "v" from git describe 
<commit> result
2022-04-25 12:00:54 +02:00
Martin Diehl b7a70ffe61 new location 2022-04-25 06:39:00 +02:00
Martin Diehl 7a4097d52b Marc code belongs to Marc subfolder 2022-04-24 19:03:22 +02:00
Martin Diehl 1b9c0713cb symlink was broken 2022-04-24 17:47:26 +02:00
Martin Diehl 9979062c6e use correct location and capitalized preprocessor macro 2022-04-24 17:44:20 +02:00
Martin Diehl d41d03015a better matching name 2022-04-24 17:38:59 +02:00
Martin Diehl 26ab0365be only used by the grid solver 2022-04-24 17:30:37 +02:00
Martin Diehl 91b71fdff8 systematic naming scheme 2022-04-24 04:45:41 +02:00
Test User 553e16ffa3 [skip ci] updated version information after successful test of v3.0.0-alpha6-249-gd2cf972b2 2022-04-23 20:36:11 +02:00
Philip Eisenlohr d2cf972b24 Merge branch 'missing-docstring' into development 2022-04-23 12:04:40 -04:00
Philip Eisenlohr 01e6d31053 use newest PRIVATE 2022-04-23 12:00:02 -04:00
Martin Diehl b80b406ad5 more specific name
'interface' can be an interface to anything, 'CLI' is an established
abbreviation for 'command line interface'
2022-04-23 16:09:31 +02:00
Martin Diehl 0e65d44bdc separating functionality
signal handling and CLI handling are not really related
2022-04-23 14:46:26 +02:00
Test User 6eb8ade40b [skip ci] updated version information after successful test of v3.0.0-alpha6-236-g1f4ee0813 2022-04-23 08:05:31 +02:00
Martin Diehl 1f4ee0813f Merge branch 'result.incs' into 'development'
additional property shows integer list

See merge request damask/DAMASK!564
2022-04-23 03:33:16 +00:00
Philip Eisenlohr 6ec543d086 merge development 2022-04-22 14:27:03 -04:00
Philip Eisenlohr 61265ff994 make mypy happy... 2022-04-22 13:39:23 -04:00
Martin Diehl 1b1eb824c4 better readable 2022-04-22 18:26:52 +02:00
Martin Diehl fb6160e7af Merge remote-tracking branch 'origin/development' into result.incs 2022-04-22 18:24:18 +02:00
Test User 5d12ef5b9f [skip ci] updated version information after successful test of v3.0.0-alpha6-228-g758ad6072 2022-04-22 18:07:42 +02:00
Philip Eisenlohr 06fccc6125 updated test for scalar initial condition 2022-04-22 11:30:30 -04:00
Philip Eisenlohr 1733c121f3 allow scalar initial_conditions --> on-the-fly broadcasting 2022-04-22 11:29:47 -04:00
Franz Roters 758ad6072c Merge remote-tracking branch 'origin/FFTW-selftest' into development 2022-04-22 13:20:43 +02:00
Martin Diehl 690b2e9c21 tolerances were to strict for certain operations 2022-04-22 07:18:53 +02:00
Martin Diehl 745f5348cd running new tests 2022-04-22 00:01:54 +02:00
Philip Eisenlohr 197e24ec0d pass-through ICs when grid remains unaltered 2022-04-21 18:00:58 -04:00
Philip Eisenlohr fa58d69cbb switched "master" property from incs to increments 2022-04-21 17:29:33 -04:00
Test User 8e668a565e [skip ci] updated version information after successful test of v3.0.0-alpha6-223-gd916c7c6b 2022-04-21 21:58:03 +02:00
Philip Eisenlohr b5f9d524d7 optional start,end in times_in_range 2022-04-21 15:56:17 -04:00
Philip Eisenlohr 730bd8ae34 globally defined prefix_inc --> "increment_" 2022-04-21 11:50:24 -04:00
Martin Diehl d916c7c6b1 small polishing 2022-04-21 17:32:30 +02:00
Test User d6f2b99199 [skip ci] updated version information after successful test of v3.0.0-alpha6-221-gdff78154a 2022-04-20 10:02:55 +02:00
Martin Diehl df3f4d9480 testing forward/backward FFT 2022-04-20 07:02:59 +02:00
Martin Diehl dff78154a0 Merge branch 'fast-list-append' into 'development'
Performance improvements when storing/retrieving data from YAML

Closes #180

See merge request damask/DAMASK!561
2022-04-20 03:31:10 +00:00
Test User 9e2fcfc9df [skip ci] updated version information after successful test of v3.0.0-alpha6-210-ge8c1f8453 2022-04-20 05:24:57 +02:00
Sharan Roongta e8c1f84539 Merge branch 'select-rank-hdf5' into 'development'
avoid code duplication by using assumed rank "(..)"

Closes #183

See merge request damask/DAMASK!562
2022-04-19 18:25:16 +00:00
Philip Eisenlohr 4a93dbec11 more descriptive variable names 2022-04-19 13:11:40 -04:00
Martin Diehl b796ccb04a DAMASK requires gfortran >= 9 2022-04-18 13:18:14 +02:00
Martin Diehl 808ef139ae avoid code duplication by using assumed rank "(..)"
- lack of modern Fortran interface for HDF5 still requires branching to
  call the same code
- not sure how to handle the read function (assumed rank and intent(out)
  ) does not work together
2022-04-18 13:16:45 +02:00
Martin Diehl 954a336d92 Fortran side does not support tags (i.e. 'type hints') 2022-04-16 16:24:29 +02:00
Martin Diehl 3cc3229792 string new line which is added by libfyaml 2022-04-16 16:19:33 +02:00
Test User 5d99b152ee [skip ci] updated version information after successful test of v3.0.0-alpha6-206-g51582b80f 2022-04-15 21:23:03 +02:00
Martin Diehl 51582b80f8 don't fail
windows is unreliable
2022-04-15 15:48:21 +02:00
Martin Diehl 5f49f38a01 nicely formatted readmes 2022-04-15 15:40:24 +02:00
Martin Diehl f11b6f54e5 markdown - as for PRIVATE 2022-04-15 15:35:36 +02:00
Martin Diehl f9c43e9db7 Merge remote-tracking branch 'origin/development' into consistent-damage-parameter-names 2022-04-15 10:32:36 +02:00
Martin Diehl dbf5ee84cb better readable 2022-04-14 21:21:32 +02:00
Martin Diehl b56176d670 all YAML related initialization is constant (linear in number of points) 2022-04-14 16:17:17 +02:00
Martin Diehl 3309360e4b avoit out of bounds access 2022-04-14 07:20:16 +02:00
Martin Diehl 563d566a3f made two loops faster
the most annoying one is still slow.
2022-04-14 06:39:19 +02:00
Martin Diehl ca0df3389a avoid long pointer transversal 2022-04-14 00:06:54 +02:00
Martin Diehl 00671f943b easier to understand 2022-04-13 23:45:14 +02:00
Test User 03b9a7679f [skip ci] updated version information after successful test of v3.0.0-alpha6-202-g87b5097ff 2022-04-13 18:17:32 +02:00
Sharan 87b5097ffe Merge remote-tracking branch 'origin/libfyaml' into development 2022-04-13 15:56:30 +02:00
Martin Diehl c806885cb5 include libfyaml headers from non-standard locations
the CMake manual promises more than it holds.
Also adding some diagnostics+fixes for zlib, we still assume that it
exists (true on most systems, HDF5 also requires it normally)
see also https://stackoverflow.com/questions/21593
2022-04-13 07:58:31 +02:00
Martin Diehl 723252ef15 libfyaml backend
currently it simply converts the whole file content to flow mode.
The nice thing is: It can convert EVERYTHING to flow mode. libfyaml is
the only library that passes the whole YAML test suite
2022-04-12 23:24:07 +02:00
Test User 4622380134 [skip ci] updated version information after successful test of v3.0.0-alpha6-197-g39d79c23b 2022-04-12 23:19:28 +02:00
Martin Diehl affa7baa22 search for libfyaml
no consequences so far
2022-04-12 21:02:09 +02:00
Martin Diehl 39d79c23b2 Merge branch 'missing-add_strain' into 'development'
missing-add_strain

See merge request damask/DAMASK!559
2022-04-12 18:56:42 +00:00
Nikhil Prabhu 58b67007a9 fixed missing add_strain 2022-04-12 12:02:00 +02:00
Test User 8ebd234aaf [skip ci] updated version information after successful test of v3.0.0-alpha6-194-ga4c396949 2022-04-10 15:18:41 +02:00
Martin Diehl a4c396949b Merge branch 'detect-FFTW-HDF5' into 'development'
detecting HDF5 and FFTW

See merge request damask/DAMASK!558
2022-04-10 10:53:10 +00:00
Martin Diehl 16f5a27e08 detecting HDF5 and FFTW
some PETSc installations are not aware of them, so it might make sense
to become independent of PETSc. But PETSc-defined variables should take
precedence
2022-04-09 21:10:15 +02:00
Test User 700f256b7c [skip ci] updated version information after successful test of v3.0.0-alpha6-191-gf8d4e3cf5 2022-04-04 13:04:27 +02:00
Martin Diehl f8d4e3cf50 Merge branch 'PETSc-3.17-fix' into 'development'
Pet sc 3.17 fix

See merge request damask/DAMASK!557
2022-04-04 08:42:05 +00:00
Martin Diehl 0376de4a11 not needed 2022-04-04 08:17:06 +02:00
Martin Diehl 34cc66f1bf use old interface for previous PETSc versions 2022-04-04 08:14:48 +02:00
Test User 3bf52d832f [skip ci] updated version information after successful test of v3.0.0-alpha6-187-gbf7da2c71 2022-04-03 23:33:19 +02:00
Martin Diehl bf7da2c717 Merge branch 'PETSc-3.17' into 'development'
support for PETSc 3.17.0

See merge request damask/DAMASK!556
2022-04-03 19:10:38 +00:00
Martin Diehl 8d44c55141 support for PETSc 3.17.0
DCHKERRQ has been replaced by PetscCall
2022-04-03 17:56:17 +02:00
Philip Eisenlohr 84ac426606 additional property shows integer list 2022-04-01 18:04:50 -04:00
Martin Diehl fb633798af following paper 2022-04-01 19:47:40 +02:00
Test User 4f646f03ee [skip ci] updated version information after successful test of v3.0.0-alpha6-184-g1f98b04d4 2022-03-27 21:30:58 +02:00
Philip Eisenlohr 1f98b04d44 Merge branch 'util_open' into 'development'
centralize opening of text files

See merge request damask/DAMASK!555
2022-03-27 17:10:31 +00:00
Test User 7135b58b99 [skip ci] updated version information after successful test of v3.0.0-alpha6-180-g2dfde6997 2022-03-27 14:00:35 +02:00
Martin Diehl 0916922423 read Windows/Unix, write Unix line endings 2022-03-27 10:03:47 +02:00
Martin Diehl f3cf67d3fa avoid code duplication and inconsistencies 2022-03-27 09:55:20 +02:00
Martin Diehl 2dfde6997b Merge branch 'GitHub-Actions-Windows' into 'development'
test python library on Windows

See merge request damask/DAMASK!554
2022-03-27 06:20:10 +00:00
Martin Diehl 4423fad91c Merge branch 'clean-Marc' into 'development'
not needed anymore

See merge request damask/DAMASK!553
2022-03-27 06:11:04 +00:00
Martin Diehl 0d57a13c9b run tests on Windows
XDMF does not work (not sure why, works locally)
2022-03-26 22:16:32 +01:00
Martin Diehl bd56a3f2a5 tests might fail on windows 2022-03-26 22:13:54 +01:00
Martin Diehl ff3d3afe9e '/' is separator in h5py even on windows.
os.path assumes OS-dependent path separators
2022-03-26 22:09:45 +01:00
Martin Diehl c11d38b2ec avoid blocking pop-up 2022-03-26 22:08:09 +01:00
Martin Diehl 7f09bbeb08 int is 32 bit on Windows (cause trouble for hybrid_IA) 2022-03-26 22:06:03 +01:00
Martin Diehl e9906864cf ensure Unix line endings 2022-03-26 22:00:08 +01:00
Philip Eisenlohr 3cceffccb5 use updated .ic->.initial_conditions tests 2022-03-25 09:42:44 -04:00
Philip Eisenlohr 7f23f7b5b6 added IC setter/getter; explicit init of returned Grids 2022-03-24 17:23:37 -04:00
Sharan 46259d983d Merge remote-tracking branch 'origin/development' into missing-docstring 2022-03-24 16:19:59 +01:00
Test User ac49365e34 [skip ci] updated version information after successful test of v3.0.0-alpha6-170-gfab34d5c3 2022-03-24 14:46:59 +01:00
Daniel Otto de Mentock fab34d5c3a Merge branch 'expanduser' into 'development'
allow to use '~' in filenames

See merge request damask/DAMASK!552
2022-03-24 11:28:08 +00:00
Martin Diehl fe62c0eaed not needed anymore 2022-03-23 22:33:04 +01:00
Test User 4b5cc2a7bc [skip ci] updated version information after successful test of v3.0.0-alpha6-167-gae32d7398 2022-03-23 15:25:23 +01:00
Sharan Roongta ae32d7398d Merge branch 'avoid-NULL-pointer' into 'development'
avoid segmentation fault (null is returned if not scalar)

See merge request damask/DAMASK!551
2022-03-23 12:01:49 +00:00
Sharan 9087d4305a Merge remote-tracking branch 'origin/development' into missing-docstring 2022-03-20 14:50:43 +01:00
Sharan 87608b6ed0 missing docstring 2022-03-20 11:55:15 +01:00
Martin Diehl 2330b8ce15 using current development 2022-03-20 11:22:43 +01:00
Philip Eisenlohr 5b87fafcae Merge branch 'consistent-orientation-from' into 'development'
consistent "shape" keyword in from_X

Closes #165

See merge request damask/DAMASK!546
2022-03-20 00:00:25 +00:00
Martin Diehl 945b10e3e6 avoid segmentation fault (null is returned if not scalar) 2022-03-20 00:00:52 +01:00
Martin Diehl 135f2e7add allow to use '~' in filenames
no idea how to test, but seems to work
2022-03-19 11:10:22 +01:00
Martin Diehl 52d595ff62 numpy-compatible shape definition
can be scalar or sequence.
Try to avoid to use the term 'rotation' in the documentation and also
don't specify the return type because it will be used by
'damask.Orientation'.
2022-03-19 10:55:03 +01:00
Test User b5d6f2dc83 [skip ci] updated version information after successful test of v3.0.0-alpha6-157-gecb33641d 2022-03-18 16:09:43 +01:00
Franz Roters ecb33641da Merge branch 'table-save-ang' into 'development'
Table.save(with_labels=False)

See merge request damask/DAMASK!547
2022-03-18 12:55:04 +00:00
Martin Diehl 4972c43b17 return scalar for None, not one-point array 2022-03-18 09:06:48 +01:00
Martin Diehl a0b63c029b Merge remote-tracking branch 'origin/development' into consistent-orientation-from 2022-03-18 08:58:13 +01:00
Philip Eisenlohr 21e076b0f9 Table.save(with_labels=False) to properly store ANG 2022-03-17 21:23:57 -04:00
Test User 1147b5b742 [skip ci] updated version information after successful test of v3.0.0-alpha6-154-g9d134b87b 2022-03-15 17:30:19 +01:00
Philip Eisenlohr 9d134b87b3 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into development 2022-03-15 10:20:21 -04:00
Philip Eisenlohr 890e42da3e using PRIVATE with updated plot_commithistory 2022-03-15 10:20:03 -04:00
Test User af4e8c4975 [skip ci] updated version information after successful test of v3.0.0-alpha6-151-g92bf10cad 2022-03-15 12:20:03 +01:00
Franz Roters 92bf10cadf Merge branch 'MSC-install-check' into 'development'
check prerequisites

See merge request damask/DAMASK!542
2022-03-15 09:11:02 +00:00
Philip Eisenlohr 4f09bbc715 documented return type for from_fiber/spherical_component 2022-03-14 16:32:52 -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 965ba61f11 avoid duplicated brackets 2022-03-14 07:22:39 +01:00
Test User a925a99f43 [skip ci] updated version information after successful test of v3.0.0-alpha6-146-g3618e36ab 2022-03-13 10:05:54 +01:00
Martin Diehl 3618e36abd typo in command 2022-03-13 07:16:36 +01:00
Martin Diehl d768d86311 Merge branch 'CI-with-statistics' into 'development'
CI with statistics

See merge request damask/DAMASK!545
2022-03-12 23:36:03 +00:00
Martin Diehl 670e614bd7 avoid reverse patch 2022-03-12 22:06:48 +01:00
Philip Eisenlohr f57a9aa952 Merge branch 'development' into CI-with-statistics 2022-03-12 15:23:55 -05:00
Philip Eisenlohr 1b127c65a6 statistics stage for runtime and commit history 2022-03-12 15:22:56 -05:00
Philip Eisenlohr e04df124e6 use PRIVATE with most recent plot-commithistory.py 2022-03-12 14:37:35 -05:00
Test User cf49310df7 [skip ci] updated version information after successful test of v3.0.0-alpha6-140-g527c1c222 2022-03-12 16:13:32 +01:00
Martin Diehl 527c1c2225 Merge remote-tracking branch 'origin/vtk-add-label-data-table' into development 2022-03-12 14:10:30 +01:00
Test User 746e02db6b [skip ci] updated version information after successful test of v3.0.0-alpha6-137-g00ef0c6b6 2022-03-12 13:21:25 +01:00
Martin Diehl 00ef0c6b64 Merge branch 'fixed-mesh_MPI-test' into 'development'
fixed mesh_MPI test (PETSc with working ml)

See merge request damask/DAMASK!544
2022-03-12 10:16:31 +00:00
Martin Diehl fea00ff65d fixed mesh_MPI test (PETSc with working ml) 2022-03-12 09:05:20 +01:00
Philip Eisenlohr 56c33b8a5c flipped VTK.add to use (label,data) to be consistent with other functionality 2022-03-11 20:07:18 -05:00
Test User d5a0933978 [skip ci] updated version information after successful test of v3.0.0-alpha6-134-g0d22cfb83 2022-03-12 01:45:01 +01:00
Martin Diehl 0d22cfb83d table.__init__ now has common order of arguments (label, data) 2022-03-11 22:31:35 +01:00
Martin Diehl c5c2763e1f several improvements
- DataFrame.append is deprecated
- restored special case `None` for Grid.vicinity_offset and Grid.clean
- sorted procedures of Grid according to functionality
2022-03-11 22:22:12 +01:00
Martin Diehl c5e16e08ae check prerequisites 2022-03-11 11:39:31 +01:00
Sharan Roongta b1effccafe Merge branch 'initial-temp' into 'development'
Initial temperature

See merge request damask/DAMASK!539
2022-03-11 00:21:21 +00:00
Martin Diehl 8f9ba9d6e4 test with initial conditions in grid file 2022-03-10 18:51:27 +01:00
Test User 1d0d082075 [skip ci] updated version information after successful test of v3.0.0-alpha6-126-g8d9d13c15 2022-03-10 09:56:36 +01:00
Martin Diehl e8383cec69 Merge remote-tracking branch 'origin/development' into initial-temp 2022-03-10 08:52:05 +01:00
Martin Diehl 8d9d13c159 includes test w/o dependency for ML preconditioner 2022-03-10 07:38:07 +01:00
Martin Diehl d1c6434bb2 corner case: empty set
will be checked by extra test
2022-03-10 07:37:46 +01:00
Philip Eisenlohr 51d220dce0 Merge branch 'polishing' into 'development'
various improvements

See merge request damask/DAMASK!538
2022-03-10 02:06:47 +00:00
Philip Eisenlohr 4f6d9aa4b6 adjusted faulty test 2022-03-09 19:01:45 -05:00
Philip Eisenlohr f13a4c82da grid.clean/vicinity now uses ball neighborhood; lots of polishing 2022-03-09 18:26:52 -05:00
Philip Eisenlohr 3d9ac817bb shorter code 2022-03-09 18:24:18 -05:00
Martin Diehl f848007878 did not work, not needed 2022-03-09 22:42:38 +01:00
Martin Diehl 790ca57ea0 specify initial temperature per point 2022-03-09 21:29:40 +01:00
Martin Diehl da5ba82299 initial condition can be specified per point/cell 2022-03-09 20:40:03 +01:00
Martin Diehl 98033e41dc test only use modern Result.view API 2022-03-09 20:31:19 +01:00
Martin Diehl b916712946 Merge remote-tracking branch 'origin/keyword-view' into polishing 2022-03-09 15:36:00 +01:00
Martin Diehl 4c941c608f better names and description 2022-03-09 15:35:36 +01:00
Martin Diehl c2453c56f1 Merge remote-tracking branch 'origin/development' into polishing 2022-03-09 15:22:22 +01:00
Martin Diehl 05541736a6 clearer message 2022-03-09 15:18:18 +01:00
Test User 2b27388c05 [skip ci] updated version information after successful test of v3.0.0-alpha6-88-g2162442e0 2022-03-09 12:08:17 +01:00
Sharan Roongta 2162442e0b Merge branch 'separate-vtk' into 'development'
separate VTI

See merge request damask/DAMASK!537
2022-03-09 09:15:14 +00:00
Martin Diehl c4a7c0096a give default directly
only Colormap object caused problem (tab completion triggered '__repr__'
which means showing colormap in maplotlib window
2022-03-08 22:43:54 +01:00
Philip Eisenlohr 73f01c07d0 clarified colormap default; accept string as colormap name 2022-03-08 09:31:08 -05:00
Martin Diehl 20e056e26a consistent interface also for internal functionality
allows to change multiple 'what's at the same time
2022-03-07 13:10:15 +01:00
Martin Diehl fe8e55e470 KeyError more sensible here 2022-03-07 11:28:17 +01:00
Martin Diehl bc020a9580 correct names 2022-03-07 10:40:28 +01:00
Martin Diehl 4e9e55f3ac Merge remote-tracking branch 'origin/development' into separate-vtk 2022-03-07 10:33:28 +01:00
Martin Diehl 445d5ec720 propagate signals to running commands
otherwise, we have long running processes when GitLab terminates jobs in
a pipeline
2022-03-06 21:11:19 +01:00
Martin Diehl 425d148ea8 mypy-safe 2022-03-06 19:37:46 +01:00
Test User 01e777bc58 [skip ci] updated version information after successful test of v3.0.0-alpha6-73-g0b8adb2aa 2022-03-06 19:23:42 +01:00
Martin Diehl d5965e5f89 Merge branch 'development' into polishing 2022-03-06 09:31:29 +01:00
Martin Diehl b86292d19c Merge branch 'state-type-cleanup' into polishing 2022-03-06 09:31:25 +01:00
Martin Diehl 0b8adb2aaa editorial changes 2022-03-06 09:30:08 +01:00
Martin Diehl 612f739794 homogenization state is not integrated 2022-03-06 08:33:36 +01:00
Martin Diehl f54849f495 enhance grid to store initial conditions 2022-03-06 00:54:42 +01:00
Martin Diehl d8de8f8b39 initial conditions are of type real 2022-03-05 22:13:37 +01:00
Martin Diehl d7ba853859 use None for no selection, empty list is 'nothing' 2022-03-05 20:37:47 +01:00
Martin Diehl a77b63718c remove deprecated interface options 2022-03-04 20:27:32 +01:00
Martin Diehl f7b18981c9 shorter names (w/o loss of clarity) 2022-03-04 20:17:08 +01:00
Martin Diehl bafc45d259 guide users 2022-03-04 19:07:23 +01:00
Martin Diehl 161e4b6815 testing new functionality 2022-03-04 10:57:49 +01:00
Martin Diehl 03912b0a03 Merge remote-tracking branch 'origin/development' into polishing 2022-03-04 03:44:36 +01:00
Martin Diehl 802957f61e Merge remote-tracking branch 'origin/development' into separate-vtk 2022-03-01 22:52:36 +01:00
Test User 48544641ca [skip ci] updated version information after successful test of v3.0.0-alpha6-71-g3bc1a5eda 2022-03-01 21:45:28 +01:00
Martin Diehl 954b720992 Merge remote-tracking branch 'origin/development' into polishing 2022-03-01 21:41:27 +01:00
Sharan f4f656cec4 point to current development in PRIVATE 2022-03-01 20:39:48 +01:00
Franz Roters 3bc1a5eda4 Merge branch 'python-vtk-improvements' into 'development'
Resolve issues in #149

See merge request damask/DAMASK!535
2022-03-01 08:10:39 +00:00
Martin Diehl dd68aad83b not used 2022-02-28 19:03:56 +01:00
Martin Diehl 0604d94e31 also store stdout 2022-02-28 19:02:46 +01:00
Martin Diehl 2cf904fe49 output to logfile helfulf for debug, especially with MPI 2022-02-28 18:54:46 +01:00
Martin Diehl ad8758b340 better don't have unlimited time for planning as default 2022-02-28 16:15:07 +01:00
Martin Diehl f9e04bc4cb unifying interface
same same for same functionality, allow user to specify single integer
for convenience
2022-02-28 16:14:40 +01:00
Martin Diehl 7ee440c1b1 separating functionality for more flexibility 2022-02-28 01:35:39 +01:00
Test User 3c4faf972e [skip ci] updated version information after successful test of v3.0.0-alpha6-40-gc4fdbf88c 2022-02-28 00:26:54 +01:00
Martin Diehl efa30d1f3a functions don't need acces to variables of function
better keep them out
2022-02-27 17:27:47 +01:00
Martin Diehl 1cae6c4533 keep functionality separated 2022-02-27 17:02:13 +01:00
Martin Diehl c4fdbf88c8 Merge branch 'thermal-partioning' into development 2022-02-27 16:59:22 +01:00
Martin Diehl c8e70ada62 extend to multiple homogenization scheme 2022-02-27 16:58:40 +01:00
Martin Diehl 53fe11484d not used 2022-02-27 15:50:55 +01:00
Martin Diehl f78c422af9 easier to understand
the condition is there to avoid problems if the dataset is not created
because it is empty (e.g. requesting xi_sl for Nslip=[0])
2022-02-27 15:50:43 +01:00
Martin Diehl c7b512a94e support the user 2022-02-26 17:40:12 +01:00
Martin Diehl a314e63ed2 homogenize: (material index, material ID) -> material ID
mutable describes meaning of parameter better
2022-02-26 14:22:00 +01:00
Philip Eisenlohr bee3f08d77 test __repr__ functionality with str() 2022-02-24 19:15:28 -05:00
Philip Eisenlohr fd52c18488 remove debug print statements in tests 2022-02-24 18:35:48 -05:00
Martin Diehl 3ee0434836 avoid nasty error in MPI parallel situations 2022-02-24 15:18:37 +01:00
Martin Diehl 28ffdb7c1c simplified 2022-02-24 12:41:14 +01:00
Martin Diehl 2bdf0d11cb check N_constituents only if active 2022-02-24 12:13:22 +01:00
Martin Diehl a78da9dca7 older gfortran does not support %re and %im for complex numbers 2022-02-24 11:25:21 +01:00
Martin Diehl 8a84f6b07f origin can be negative 2022-02-24 11:24:54 +01:00
Test User 6d50066a04 [skip ci] updated version information after successful test of v3.0.0-alpha6-27-gf4a15f579 2022-02-23 18:55:29 +01:00
Philip Eisenlohr 320ab70270 Merge branch 'development' into 'python-vtk-improvements'
# Conflicts:
#   python/damask/_vtk.py
2022-02-23 14:20:52 +00:00
Philip Eisenlohr 08a96f64f5 make mypy happy... 2022-02-23 09:12:55 -05:00
Sharan Roongta f4a15f5796 Merge branch 'consistent-uppercase-in-exceptions' into 'development'
Consistent formatting of raised messages

See merge request damask/DAMASK!533
2022-02-23 13:55:14 +00:00
Philip Eisenlohr 5882a8560c shortened __repr__ code 2022-02-23 08:38:03 -05:00
Martin Diehl bc2a9de095 copy and paste error 2022-02-23 07:23:29 +01:00
Martin Diehl 77e57a268c unified.
the default python description "Return repr(self)." is pretty useless,
so better agree on a DAMASK standard
2022-02-23 07:21:30 +01:00
Test User ba4a99ebe6 [skip ci] updated version information after successful test of v3.0.0-alpha6-23-gf944975ac 2022-02-23 06:57:12 +01:00
Martin Diehl 59755c67ce human-readable reporting 2022-02-23 06:49:38 +01:00
Martin Diehl cf3f869877 make clear that mechanical is always initialized 2022-02-23 06:19:16 +01:00
Martin Diehl e54e7b8513 this is the example for 8 grains/constituents
we could add other examples if needed, but as far as I understood this
does not makes sense anyways
2022-02-23 06:10:26 +01:00
Martin Diehl 852959e1b8 call correct funtion
does nothing than reporting at the moment
2022-02-23 05:44:12 +01:00
Martin Diehl 339d081dd5 simplified logic to reflect what we are doing 2022-02-23 05:42:44 +01:00
Martin Diehl 94c6542122 more helpful error message 2022-02-23 05:33:30 +01:00
Martin Diehl f944975ac5 Merge branch 'symops-in-crystal' into 'development'
symmetry_operations belong to Crystal

See merge request damask/DAMASK!534
2022-02-23 00:54:21 +00:00
Sharan 9ff31d4f2b suggested changes from MR !530 2022-02-22 23:16:14 +01:00
Sharan 176b7b200a Merge remote-tracking branch 'origin/development' into thermal-partioning 2022-02-22 23:08:19 +01:00
Philip Eisenlohr 84d1d533f4 Merge branch 'parallel-mesh' into 'development'
testing mesh in parallel

See merge request damask/DAMASK!531
2022-02-22 20:20:45 +00:00
Martin Diehl a9d4e89250 Merge branch 'crystal-examples' into 'development'
some guidance for users

See merge request damask/DAMASK!532
2022-02-22 19:23:02 +00:00
Philip Eisenlohr ae2aa096fb fixed flatten order=F; cividis default. 2022-02-22 12:23:29 -05:00
Philip Eisenlohr 661b7fb602 slight polish 2022-02-22 10:56:12 -05:00
Philip Eisenlohr 47dcd4bd41 follow Python exception message convention of lower-case 2022-02-22 10:42:05 -05:00
Philip Eisenlohr 6a4ad7ff75 moved symmetry_operations from Orientation to Crystal 2022-02-22 10:12:03 -05:00
Philip Eisenlohr aeb0e527ec Consistent formatting of raised messages 2022-02-22 09:46:12 -05:00
Philip Eisenlohr 3d554e40b9 clarify real/reciprocal space coordinates 2022-02-22 09:15:32 -05:00
Martin Diehl 947f228225 Merge remote-tracking branch 'origin/development' into parallel-mesh 2022-02-22 14:56:25 +01:00
Test User 744f5755ff [skip ci] updated version information after successful test of v3.0.0-alpha6-14-g3657b2316 2022-02-22 14:44:56 +01:00
Martin Diehl be11da2284 testing new functionality 2022-02-22 14:00:36 +01:00
Sharan Roongta 3657b2316d Merge branch 'homogenization-output' into 'development'
extra output in phase_thermal and homogenization_mechanical

See merge request damask/DAMASK!530
2022-02-22 11:08:27 +00:00
Martin Diehl f6de182eb6 get information about dataset labels 2022-02-22 08:08:41 +01:00
Martin Diehl e8a4f06634 out of place behavior for VTK 2022-02-22 07:49:44 +01:00
Martin Diehl 3a078db6f1 some guidance for users 2022-02-22 06:40:17 +01:00
Sharan Roongta e26e8c715f pass data to homogenization and phase level at the same time 2022-02-21 22:40:41 +01:00
Martin Diehl e82738e067 testing mesh in parallel
works, at least for small examples
2022-02-21 21:21:47 +01:00
Test User d1620d9268 [skip ci] updated version information after successful test of v3.0.0-alpha6-4-gca6a3e786 2022-02-21 12:46:52 +01:00
Martin Diehl c975a5b437 needed for out of place behavior
pickle/deepcopy does not work
2022-02-21 12:12:17 +01:00
Martin Diehl 22fa9c9772 add scalebar 2022-02-21 11:19:53 +01:00
Franz Roters ca6a3e7869 Merge branch 'update-crystal-structure-name' into 'development'
Update crystal structure name

See merge request damask/DAMASK!529
2022-02-21 09:00:00 +00:00
Martin Diehl f6bcabd328 Update crystal structure name 2022-02-21 09:00:00 +00:00
Martin Diehl 45dc9cf7a6 show scalar data, use to show material of grid 2022-02-21 08:09:55 +01:00
Martin Diehl 9fe51686e5 allow to use '~' in path
not sure how to test, i.e. how to create a fixture to have a fake home
2022-02-21 07:19:05 +01:00
Martin Diehl 692b6d66ec following hierarchical structure 2022-02-20 15:51:51 +01:00
Martin Diehl 909e1461b9 show thermal options 2022-02-19 23:11:10 +01:00
Martin Diehl 4cc7f94eef guide the user 2022-02-19 23:10:05 +01:00
Martin Diehl 2f08624c18 Use centrally defined room temperature 2022-02-19 21:42:38 +01:00
Martin Diehl dce8f9e635 enable output of temperature per phase 2022-02-19 18:56:41 +01:00
Martin Diehl 968e55b0bc output homogogenized F and P
was disabled for historic reasons only
2022-02-19 15:35:38 +01:00
Test User 9ba0a4bd86 [skip ci] updated version information after successful test of v3.0.0-alpha6-1-g5cc64fc95 2022-02-19 14:56:41 +01:00
Martin Diehl b44a862a8a data structures to output mechanical results (homogenization) 2022-02-19 14:19:11 +01:00
Martin Diehl d97f515b77 polishing
RGC numerics is still annoying (and was probably never used in the last
10 years)
2022-02-19 13:56:24 +01:00
Martin Diehl 5cc64fc958 fixed a few glitches detected when making 3.0.0alpha6 2022-02-19 12:31:29 +01:00
Philip Eisenlohr fe2ab947ec somehow "Sequence" was missing from import 2022-02-18 14:50:28 -05:00
Philip Eisenlohr 0adc827278 Merge branch 'development' into python-vtk-improvements 2022-02-18 14:46:40 -05:00
Philip Eisenlohr 75f535b60c welcome back rectilineargrid... 2022-02-18 11:45:49 -05:00
Martin Diehl d8fab8cb07 v3.0.0-alpha6 2022-02-18 11:55:44 +01:00
Test User 76b9b414ab [skip ci] updated version information after successful test of v3.0.0-alpha5-735-ga5699e05d 2022-02-18 10:25:37 +01:00
Martin Diehl a5699e05d9 old PETSc version for 64bit does not exist anymore 2022-02-18 07:58:27 +01:00
Philip Eisenlohr e602653b3b remove obsolete grid_filter import 2022-02-17 18:50:53 -05:00
Philip Eisenlohr 8e19e93b39 polishing of doc strings 2022-02-17 18:49:45 -05:00
Philip Eisenlohr 38ac791b58 proper understanding of a rectiliniearGrid 2022-02-17 17:54:26 -05:00
Philip Eisenlohr 66e4632655 Merge branch 'parallel-mesh' into 'development'
avoid deadlock for MPI runs

See merge request damask/DAMASK!526
2022-02-17 21:37:37 +00:00
Martin Diehl cfe01b83f8 avoid deadlock for MPI runs 2022-02-17 21:37:37 +00:00
Philip Eisenlohr 41389963a7 Merge branch 'python-polishing' into 'development'
python polishing

See merge request damask/DAMASK!528
2022-02-17 20:23:54 +00:00
Test User bdc269a185 [skip ci] updated version information after successful test of v3.0.0-alpha5-718-gb92ad3e31 2022-02-17 19:03:32 +01:00
Philip Eisenlohr 91cb0f37c8 favor numpy intrinsic over list-comprehension 2022-02-17 12:16:53 -05:00
Philip Eisenlohr 826611411f "list_data" now returns list not str; deemph creator 2022-02-17 12:05:13 -05:00
Franz Roters b92ad3e31b Merge branch 'dislotwin-fix-TWIP-TRIP' into 'development'
dislotwin following paper

See merge request damask/DAMASK!527
2022-02-17 14:08:58 +00:00
Martin Diehl eca57d3b5f Merge remote-tracking branch 'origin/development' into dislotwin-fix-TWIP-TRIP 2022-02-17 08:17:39 +01:00
Martin Diehl 9972a22043 precision is ok, but numpy.sum takes sum over all dimensions per default 2022-02-17 07:58:56 +01:00
Martin Diehl 9a5eb45212 helpful information when comparing files 2022-02-17 07:16:55 +01:00
Martin Diehl 89a914bbe7 correct reporting of units 2022-02-17 07:13:39 +01:00
Martin Diehl ed50cd022b shorter, potential for higher precision
np.sum has an better alogrithm but fails ...
2022-02-16 23:40:02 +01:00
Martin Diehl 9fc6469b13 Merge remote-tracking branch 'origin/development' into python-polishing 2022-02-16 23:13:46 +01:00
Test User 138b0e03f2 [skip ci] updated version information after successful test of v3.0.0-alpha5-696-g6fce27dee 2022-02-16 19:11:10 +01:00
Franz Roters 6fce27deeb Merge branch 'homogenization-respect-fraction' into 'development'
bugfix: change of behavior

See merge request damask/DAMASK!525
2022-02-16 14:30:35 +00:00
Test User 0f579e44ab [skip ci] updated version information after successful test of v3.0.0-alpha5-691-gfe0ff7cab 2022-02-16 07:51:02 +01:00
Martin Diehl fe0ff7cab2 Merge branch 'typehints_orientation_rotation' into 'development'
04 First typehints for rotation and orientation modules

See merge request damask/DAMASK!479
2022-02-16 03:35:45 +00:00
Philip Eisenlohr 4426172c14 Merge branch 'development' into python-vtk-improvements 2022-02-15 18:07:18 -05:00
Philip Eisenlohr c5f2865121 make apparent that vtk.get automatically "squeezes" 2022-02-15 18:04:21 -05:00
Philip Eisenlohr 96133c68e9 Corrected documentation for Table.set/add/sort_by 2022-02-15 22:53:08 +00:00
Philip Eisenlohr a8898163ce polishing of error message styles 2022-02-15 16:48:24 -05:00
Philip Eisenlohr e2d1ffe7b8 condensed add_table test 2022-02-15 16:42:17 -05:00
Philip Eisenlohr 6916160ed1 implemented VTK.add(damask.Table) 2022-02-15 16:38:02 -05:00
Martin Diehl 35caed305f consistently define allclose for own type only 2022-02-15 22:08:12 +01:00
Test User 00f44c9ed6 [skip ci] updated version information after successful test of v3.0.0-alpha5-651-gd4f711416 2022-02-15 17:06:48 +01:00
Franz Roters d4f7114164 Merge branch 'improved-table-slicing' into 'development'
Extended slicing functionality of Table

See merge request damask/DAMASK!522
2022-02-15 12:48:39 +00:00
Navyanth Kusampudi b0bbb1c286 Merge branch 'spectral-polish' into 'development'
Spectral polish

See merge request damask/DAMASK!524
2022-02-15 12:32:09 +00:00
Test User bdeb3e042e [skip ci] updated version information after successful test of v3.0.0-alpha5-642-ge38786515 2022-02-15 01:20:38 +01:00
Martin Diehl e387865153 Merge branch 'cm.from_table-with-constant' into 'development'
allow constant (non-label) value in cm.from_table() keys

See merge request damask/DAMASK!523
2022-02-14 20:59:57 +00:00
Philip Eisenlohr 18f9ac7d44 outsource tail-repacking of characters into string (util.tail_repack) 2022-02-14 12:11:01 -05:00
Martin Diehl 7d015fbdc5 avoid confusion with existing table entry 2022-02-14 14:32:02 +00:00
Philip Eisenlohr 2ce464c48e vtk.comments as directly accessed property 2022-02-14 09:24:12 -05:00
Martin Diehl c66e2336c2 some versions of ifort have problems with 'do concurrent' 2022-02-14 15:08:35 +01:00
Test User 1d5abc206a [skip ci] updated version information after successful test of v3.0.0-alpha5-638-g1ecbeb692 2022-02-14 11:23:42 +01:00
Martin Diehl ebcf0fa625 Merge remote-tracking branch 'origin/development' into homogenization-respect-fraction 2022-02-14 09:19:49 +01:00
Martin Diehl 466682e978 missing rename grid -> cells 2022-02-14 08:32:48 +01:00
Martin Diehl 61e11a0529 use openMP for operations in Fourier space 2022-02-14 08:30:24 +01:00
Philip Eisenlohr 1ecbeb6924 Merge branch 'more-material-examples' into 'development'
added and curated example material.yaml files

See merge request damask/DAMASK!521
2022-02-14 05:06:54 +00:00
Martin Diehl 0008ad1bf8 easier to understand 2022-02-14 05:57:48 +01:00
Philip Eisenlohr 1b08f90d6c allow constant (non-label) value in cm.from_table() keys 2022-02-13 23:54:16 -05:00
Martin Diehl ac4beea14b use precalculated dyad 2022-02-14 05:47:50 +01:00
Philip Eisenlohr 0300912b30 Table.__eq__ for proper comparison; logical masks for slicing now work 2022-02-13 22:00:48 -05:00
Test User e210a9873d [skip ci] updated version information after successful test of v3.0.0-alpha5-624-g26979da58 2022-02-14 02:21:46 +01:00
Martin Diehl bba105c2a8 re-fit, documented details 2022-02-13 18:37:34 +01:00
Sharan Roongta 26979da585 Merge branch 'nonlocal-standard-access' into 'development'
Using consistent access pattern

See merge request damask/DAMASK!520
2022-02-13 17:33:35 +00:00
Martin Diehl e3a64ae4ff don't fit close to 0K
cryogenic temperatures are normally not of interest, avoid considering
the strongly curved region below 80K in the fit gives probably better
extrapolation properties for T>300K
2022-02-13 14:57:01 +01:00
Martin Diehl ba16ea21a0 avoid overfitting
there are only 3 data points for C_13, with one close to 0K. Leave this
point out and fit only a 1st order polynomial
2022-02-13 14:48:15 +01:00
Martin Diehl bb6a62c475 more temperature dependent data 2022-02-13 13:49:19 +01:00
Martin Diehl b1922c9fc0 return most specific type 2022-02-13 11:03:53 +01:00
Martin Diehl 2907facfd3 polishing
classes should return 'MyType' for inheritance without hassle
2022-02-13 02:47:08 +01:00
Martin Diehl bdc951c39b Merge remote-tracking branch 'origin/development' into typehints_orientation_rotation 2022-02-12 22:39:28 +01:00
Martin Diehl 99c2f58553 ensure that data is read 2022-02-12 22:38:58 +01:00
Martin Diehl 2c05395b88 including test for new data 2022-02-12 22:30:46 +01:00
Martin Diehl 663b84641e needed for a complete set for Sn-beta 2022-02-12 22:29:56 +01:00
Martin Diehl 80f5496ef2 adjustments and improved documentation 2022-02-12 22:20:51 +01:00
Martin Diehl 4d808335de polishing 2022-02-12 18:55:01 +01:00
Martin Diehl cdabdb9882 temperature-dependent thermal conductivity 2022-02-12 16:11:09 +01:00
Martin Diehl 3bdfc29fb2 Parameter set for beta-Sn 2022-02-12 15:42:39 +01:00
Martin Diehl eb0fca9222 generic examples
might help some users to make the connection between old an new names,
good to have examples anyways
2022-02-12 09:08:38 +01:00
Philip Eisenlohr c6a188a1fe added CrystalFamily, CrystalLattice, CrystalKinematics typehints 2022-02-11 15:41:30 -05:00
Philip Eisenlohr 0a52ae3b6f polishing of help and style; relax to FloatSequence type where appropriate but keep doc at np.ndarray 2022-02-11 14:50:55 -05:00
Martin Diehl 9d1cc93a81 no need to store dotstate 2022-02-11 14:23:41 +01:00
Martin Diehl b43695067d Merge remote-tracking branch 'origin/development' into nonlocal-standard-access 2022-02-11 12:53:58 +01:00
Martin Diehl 7c18f3f276 simplified 2022-02-11 12:26:50 +01:00
Martin Diehl 90dabadf08 Merge remote-tracking branch 'origin/development' into dislotwin-fix-TWIP-TRIP 2022-02-11 06:05:09 +01:00
Test User 5f7a18c32d [skip ci] updated version information after successful test of v3.0.0-alpha5-608-g3e8d1a60d 2022-02-11 01:09:25 +01:00
Martin Diehl 3ee98164fa simplified 2022-02-10 23:55:05 +01:00
Martin Diehl b81116f62a not needed anymore 2022-02-10 23:13:37 +01:00
Martin Diehl 1364441703 better readable 2022-02-10 22:57:23 +01:00
Sharan Roongta 3e8d1a60de Merge branch 'no-global-dot-state' into 'development'
No need to store dotState

See merge request damask/DAMASK!519
2022-02-10 21:55:23 +00:00
Martin Diehl 1e3780b069 shortened 2022-02-10 21:31:52 +01:00
Martin Diehl 57e8fe2b8a need bracket for correct evaluation 2022-02-10 21:28:48 +01:00
Martin Diehl 2110690ae4 Merge remote-tracking branch 'origin/development' into no-global-dot-state 2022-02-09 22:53:04 +01:00
Test User 97d17ea50c [skip ci] updated version information after successful test of v3.0.0-alpha5-603-ge0ed668ce 2022-02-09 19:45:43 +01:00
Franz Roters e0ed668ce0 Merge branch 'Fortran-polishing' into 'development'
a number of small improvements

See merge request damask/DAMASK!516
2022-02-09 16:01:00 +00:00
Martin Diehl bd657e6c62 fixed style and corrected copy and paste errors 2022-02-09 12:29:55 +01:00
Test User 81c141e3d3 [skip ci] updated version information after successful test of v3.0.0-alpha5-574-g13783f87f 2022-02-08 17:58:03 +01:00
Daniel Otto de Mentock 8c6225794d adjusted return of Orientation.__ne__ function to return NotImplemented in case of wrong input type 2022-02-08 14:47:23 +01:00
Philip Eisenlohr 13783f87f2 Merge branch '155_flush-mesh-sta' into 'development'
update sta file after each inc

See merge request damask/DAMASK!518
2022-02-08 13:39:23 +00:00
Martin Diehl 28eda64893 bugfix: change of behavior
fraction needed for calculation of homogenized response
2022-02-08 00:24:06 +01:00
Martin Diehl 345659b0e8 update sta file after each inc 2022-02-07 15:09:26 +01:00
Martin Diehl 739a4b7a26 need to store fraction for proper homogenization 2022-02-07 14:25:03 +01:00
Martin Diehl e3a9adc722 not used 2022-02-07 07:20:15 +01:00
Test User 171193d0d7 [skip ci] updated version information after successful test of v3.0.0-alpha5-571-g1edc8442d 2022-02-07 00:44:17 +01:00
Martin Diehl 2a59251b1d deprecated reporting
crystallite does not exist anymore, information was discretization
related
2022-02-06 22:23:21 +01:00
Martin Diehl a37438ca29 helpful information about the parallel environment 2022-02-06 22:07:13 +01:00
Martin Diehl 1edc8442d5 Merge branch 'update-libraries' into 'development'
new PETSc/openMPI version

See merge request damask/DAMASK!517
2022-02-06 20:32:02 +00:00
Martin Diehl a6e83c70ec adjustments to follow de-facto standard in other parts of the python
library
2022-02-06 17:12:35 +01:00
Martin Diehl 0cf0112029 simplified 2022-02-06 15:59:46 +01:00
Martin Diehl 9386ba5ef5 allocate not needed 2022-02-06 12:59:41 +01:00
Martin Diehl 8f0a16e654 fine tuning parameters
more stable, still physically reasonable
2022-02-06 11:27:53 +01:00
Martin Diehl 59fdd9b586 in agreement with paper
this is the sytem-wise formulation of D. Steinmetz' model
2022-02-06 10:07:15 +01:00
Martin Diehl 1883919b3c working configuration
simulations are not particular stable, but trends are ok and values seem
reasonable
2022-02-06 08:11:05 +01:00
Martin Diehl 20b2079135 need to read V_mol, default of 1.0 gives strange results 2022-02-06 08:10:35 +01:00
Martin Diehl 519ca6f990 ifort does not allow rename of already imported symbols 2022-02-05 20:00:55 +01:00
Martin Diehl dce0ad9211 new PETSc/openMPI version 2022-02-05 18:40:10 +01:00
Martin Diehl 4ca0ea6af2 avoid linking issues with gfortran+MPI
most likely related to the fact that HDF5 uses the old Fortran
inferface, not MPI_f08 as DAMASK
2022-02-05 18:38:06 +01:00
Martin Diehl 12e7922faf use modern Fortran interface
not possible for HDF5...
2022-02-05 18:37:38 +01:00
Martin Diehl f36db86b3c better debug for gfortran, removing options not needed 2022-02-05 18:24:24 +01:00
Martin Diehl c25c17d0b6 reading the gcc manual
-mtune is implied by -march, -ffast-math is not recommended, and
-mtune=native is save
2022-02-05 10:57:18 +01:00
Martin Diehl 6c032e3ce6 remove deprecated mappings
almost done with having a consistent access pattern

solver
======
grid: x,y,z; mesh: el,ip

homogenization
==============
interface to solver: ce
internal: ho,en

phase
=====
interface to homogenization: co,ce
internal: ph,en
2022-02-05 10:01:55 +01:00
Martin Diehl 5f0a630fa6 remove deprecated phaseAt/phaseMemberAt 2022-02-05 08:24:07 +01:00
Martin Diehl 6d78400f87 the concept of IP/element_ID should not be used at the DAMASK core 2022-02-05 07:29:00 +01:00
Martin Diehl 3c148b5b0e bugfix: openMP variable was not protected 2022-02-04 18:55:59 +01:00
Martin Diehl 3990536f1c consistent order of arguments 2022-02-04 17:42:05 +01:00
Daniel Otto de Mentock 72978df099 minor correction 2022-02-04 17:41:29 +01:00
Daniel Otto de Mentock c1c2336638 reverted __eq__ and __ne type verification to return NotImplemented constant
changed rotation.average input type to FloatSequence

minor adjustments
2022-02-04 16:57:25 +01:00
Martin Diehl afed13e2ca ip/el not of interest 2022-02-04 13:23:37 +01:00
Daniel Otto de Mentock 019ae1c536 adjusted typecheck in __eq__ and __ne__ functions 2022-02-04 11:43:35 +01:00
Martin Diehl 8aed927989 avoid use of co/ip/el at the phase level 2022-02-04 11:28:54 +01:00
Daniel Otto de Mentock 7a405125da added type:ignore statements to Tuple Supportsindex addition in Orientation.disorientation function 2022-02-04 10:57:24 +01:00
Daniel Otto de Mentock 9dad54304c added generic types to remaining non-overwritten rotation functions (exception __mul__) 2022-02-04 09:57:42 +01:00
Martin Diehl 3a0596a274 use en/ph access 2022-02-04 09:43:27 +01:00
Martin Diehl 2bd10a1261 avoid use of IP/el 2022-02-04 08:40:15 +01:00
Martin Diehl 900ef0a2c9 store IP neighborhood for ph/en access 2022-02-04 08:03:16 +01:00
Martin Diehl 8b12814eec common variable names 2022-02-04 06:42:14 +01:00
Martin Diehl c70e535da8 avoid access by el/ip 2022-02-04 00:32:13 +01:00
Martin Diehl ce1eb4f59e no need to store dot state
saves memory and flow is easier to understand
2022-02-03 23:40:25 +01:00
Martin Diehl a9a5c8fb73 simplify acces with pointer
naming will be adjusted once global deltaState is removed
2022-02-03 23:08:29 +01:00
Martin Diehl 85ca3a3f24 simplified/standardized 2022-02-03 22:57:32 +01:00
Martin Diehl 0807112a71 new tests with T_ref = 293.15K (20°C)
seems to be the most common choice for room temperature
2022-02-03 22:36:27 +01:00
Daniel Otto de Mentock d1f9e98e3c moved typecheck of __ne__ functions to __eq__
added initial empty runtimeerror to Schmid function

minor corrections
2022-02-03 16:11:09 +01:00
Test User e940a02304 [skip ci] updated version information after successful test of v3.0.0-alpha5-568-g2cb3b2cc4 2022-02-03 13:47:57 +01:00
Daniel Otto de Mentock f80de7d0b3 added NumpyRngSeed type to rotation rng_seed objects 2022-02-03 12:04:31 +01:00
Daniel Otto de Mentock df54bf724c Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-02-03 11:19:15 +01:00
Martin Diehl a243e10641 Merge remote-tracking branch 'origin/development' into Fortran-polishing 2022-02-03 09:01:33 +01:00
Martin Diehl 2cb3b2cc45 not needed 2022-02-03 07:58:51 +01:00
Martin Diehl 5d55392425 Merge branch 'thermal-restart' into development 2022-02-03 07:53:05 +01:00
Martin Diehl cf2b22b34a does not exist for older numpy versions 2022-02-03 07:39:38 +01:00
Test User ef390ca916 [skip ci] updated version information after successful test of v3.0.0-alpha5-556-g97f849c09 2022-02-03 03:49:37 +01:00
Sharan 038cdad85e new naming 2022-02-02 23:58:21 +01:00
Sharan d72347fe25 Merge remote-tracking branch 'origin/development' into thermal-restart 2022-02-02 23:07:32 +01:00
Sharan 2a45d2d48d private updated 2022-02-02 23:00:53 +01:00
Martin Diehl 97f849c098 Merge remote-tracking branch 'origin/typehints_rngseed' into development 2022-02-02 22:45:52 +01:00
Test User 7078b5ec87 [skip ci] updated version information after successful test of v3.0.0-alpha5-552-ga6e78c5b6 2022-02-02 22:07:12 +01:00
Philip Eisenlohr a6e78c5b66 Merge branch 'remove-grain-growth' into 'development'
grain growth not maintained and has issues

See merge request damask/DAMASK!510
2022-02-02 16:52:54 +00:00
Philip Eisenlohr 368f4b2ed3 Merge branch '108_fix-thermalexpansion' into 'development'
bugix: change of behavior

See merge request damask/DAMASK!513
2022-02-02 16:45:13 +00:00
Martin Diehl d868a240b2 bugix: change of behavior 2022-02-02 16:45:13 +00:00
Martin Diehl 8fead8e306 relaxed tolerances
for optimized code, the last digit might differ
2022-02-02 13:48:04 +01:00
Daniel Otto de Mentock 4b2e104f03 added new type for rng_seed in _typehints module 2022-02-02 12:52:59 +01:00
Daniel Otto de Mentock fc8cd6322c adjusted rng_seed type in rotation
adjusted NotImplemented error return in orientation
2022-02-02 12:16:57 +01:00
Daniel Otto de Mentock 3df411469b Added generic type to rotation functions not overwritten by orientation 2022-02-02 12:14:00 +01:00
Daniel Otto de Mentock 71bc92fed0 changed quote layout to single quote Added NotImplemented returnvalue to __eq__ functions 2022-02-02 11:11:59 +01:00
Martin Diehl 6dcf6b972c complaints from prospector (PEP8) 2022-02-02 09:14:41 +01:00
Martin Diehl 63465f4d27 Merge remote-tracking branch 'origin/development' into remove-grain-growth 2022-02-02 09:00:52 +01:00
Sharan 1bd654781b tests updated 2022-02-02 00:20:14 +01:00
Sharan 3e73d28631 Merge remote-tracking branch 'origin/development' into thermal-restart 2022-02-01 23:07:55 +01:00
Sharan ad319efdd7 updated PRIVATE repo 2022-02-01 22:11:02 +01:00
Daniel Otto de Mentock cb1143a472 changed return type of util.shapeblender and util.shapeshifter from Sequence[SupportsIndex] to Tuple[SupportsIndex, ...]
ignored lines in orientation module that attempt to pass objects of type 
Tuple[SupportsIndex, ...] to np.broadcast_to()
2022-02-01 18:38:49 +01:00
Martin Diehl 1eda18b9e5 fine tuning optimization flag
using AGRESSIVE with gcc reduced runtime of the small example on my
laptop from 2:00 min to 0:44 min
2022-02-01 14:47:18 +01:00
Martin Diehl a14735f3db first step towards removal of global dot state
less state => better code
2022-02-01 13:40:09 +01:00
Martin Diehl 4eb9c3dea7 correct name 2022-02-01 13:40:09 +01:00
Daniel Otto de Mentock ef051ceef9 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-02-01 11:56:01 +01:00
Test User dc5ab9aee9 [skip ci] updated version information after successful test of v3.0.0-alpha5-545-gad74f5dbe 2022-02-01 11:55:34 +01:00
Martin Diehl 49ca62f3af only Chuck Norris can divide by zero 2022-02-01 11:22:27 +01:00
Martin Diehl 1871dcd75a small polishing 2022-02-01 09:03:39 +01:00
Martin Diehl 08d3e22bcd size is known 2022-02-01 08:35:00 +01:00
Martin Diehl ad74f5dbe1 Merge branch 'typehints_config_configmaterial' into 'development'
05 Typehints config configmaterial

See merge request damask/DAMASK!461
2022-02-01 07:30:00 +00:00
Daniel Otto de Mentock 086ff42be5 05 Typehints config configmaterial 2022-02-01 07:30:00 +00:00
Test User 98381bff2a [skip ci] updated version information after successful test of v3.0.0-alpha5-542-g225a5d908 2022-01-31 20:14:24 +01:00
Sharan Roongta 225a5d9086 Merge branch '151_typehints-readability' into 'development'
better readabiliy for python

See merge request damask/DAMASK!511
2022-01-31 17:03:24 +00:00
Test User 90b6b0e164 [skip ci] updated version information after successful test of v3.0.0-alpha5-521-g30bf38641 2022-01-31 17:16:01 +01:00
Franz Roters 30bf386418 Merge branch 'polynomial' into 'development'
Polynomial Class

See merge request damask/DAMASK!512
2022-01-31 14:05:15 +00:00
Martin Diehl 39aa243695 Polynomial Class 2022-01-31 14:05:15 +00:00
Daniel Otto de Mentock 3105b2c978 added missing return type to grid.get_grain_boundaries function 2022-01-31 12:40:29 +01:00
Martin Diehl 26cd8a46c2 consistent style 2022-01-30 22:36:30 +01:00
Martin Diehl a479c29714 not used 2022-01-30 15:46:26 +01:00
Martin Diehl a673abb413 indicate that this mapping should be used only for C 2022-01-30 06:24:50 +01:00
Martin Diehl 9ce4573b12 docstring polishing 2022-01-29 23:16:57 +01:00
Martin Diehl df96110733 some suggestions from prospector/pylint 2022-01-29 22:38:17 +01:00
Martin Diehl ce4591fa29 silence prospector on Python 3.9 2022-01-29 19:15:40 +01:00
Martin Diehl 03b0decfcf starting to configure mypy 2022-01-29 18:32:04 +01:00
Martin Diehl 609f13c590 Python 3.8 magic: The walrus operator ":=" 2022-01-29 18:29:42 +01:00
Martin Diehl f70df11b67 consistent reporting 2022-01-29 15:59:22 +01:00
Martin Diehl 762f93d724 following naming convention 2022-01-29 15:30:59 +01:00
Martin Diehl 487912cfb0 following Python notation 2022-01-29 15:14:40 +01:00
Martin Diehl 477f2d8167 capitalize constants 2022-01-29 14:49:45 +01:00
Martin Diehl 774ec4e8c4 not used 2022-01-29 14:47:14 +01:00
Martin Diehl dd0f2cfa3c tau is often easier to use than pi
https://tauday.com/tau-manifesto
2022-01-29 14:46:09 +01:00
Martin Diehl 4a84c42112 improving constants
IUPAC does not specify an official ambient temperature, T=273.15K from
standard temperature and pressure (STP) is not particularly suited for our
purposes
2022-01-29 13:49:41 +01:00
Daniel Otto de Mentock 33731e4948 adjusted bracket error in from_fiber_component 2022-01-28 15:15:20 +01:00
Daniel Otto de Mentock 83145b815f Merge branch 'typehints_orientation_rotation' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-01-28 13:40:47 +01:00
Daniel Otto de Mentock 53a0de2271 Adjusted docstrings in rotation
rewrote map(np.radians()) line to one line tuple
2022-01-28 13:40:37 +01:00
Daniel Otto de Mentock 92ac018486 removed superfluous break in function definition in rotation 2022-01-28 13:34:42 +01:00
Daniel Otto de Mentock c3eb5a41b3 Merge branch 'development' into 'typehints_orientation_rotation'
# Conflicts:
#   python/damask/_rotation.py
2022-01-28 09:13:17 +00:00
Daniel Otto de Mentock 81ef865525 [skip ci] moved asterisk to seperate line 2022-01-28 10:11:34 +01:00
Martin Diehl 6fe6be7a34 Merge remote-tracking branch 'origin/development' into 151_typehints-readability 2022-01-27 15:30:41 +01:00
Martin Diehl e2437ee9b5 adjusting style + documentation 2022-01-27 15:29:33 +01:00
Martin Diehl 978aa8a690 Merge remote-tracking branch 'origin/development' into dislotwin-fix-TWIP-TRIP 2022-01-27 15:22:51 +01:00
Test User 79864818df [skip ci] updated version information after successful test of v3.0.0-alpha5-518-g4fa97b9a3 2022-01-27 15:13:59 +01:00
Daniel Otto de Mentock 19a73bbf3b [skip ci] adjusted function argument alignment with asterisk 2022-01-27 12:14:54 +01:00
Daniel Otto de Mentock a12135fe77 [skip ci] changed function definition to multiline layout for crystal, seeds and tensor module 2022-01-27 10:45:14 +01:00
Daniel Otto de Mentock 4fa97b9a31 Merge branch 'no-python3.7' into 'development'
drop support for Python 3.7

See merge request damask/DAMASK!509
2022-01-27 09:38:38 +00:00
Martin Diehl 4ca501c73f small changes in logic for type hints 2022-01-27 08:53:27 +01:00
Martin Diehl f1a53e7271 Merge remote-tracking branch 'origin/development' into None-instead-of-optional 2022-01-27 08:12:11 +01:00
Martin Diehl ea33b321aa correct calculation of shear
need to convert volume to shear (and back for output)
2022-01-27 08:08:42 +01:00
Martin Diehl 1e748dc54e commenting 2022-01-27 07:28:33 +01:00
Martin Diehl e7ed32ba4e not needed 2022-01-27 00:01:53 +01:00
Martin Diehl 3bb2ae45d3 bugfixes
- L_tw/tr are not in lengths of Burgers vectors anymore
- need to define characteristic shear for tr
2022-01-26 23:57:59 +01:00
Martin Diehl bc667888ce consistent style 2022-01-26 23:37:07 +01:00
Martin Diehl e8d20a8fec Merge remote-tracking branch 'origin/development' into None-instead-of-optional 2022-01-26 23:31:26 +01:00
Martin Diehl 7d0d13bfed following paper
eq (10), eq (14), eq (49), eq (50), and Fig. 1
2022-01-26 23:28:39 +01:00
Martin Diehl 9e17efd1f8 transformation is for fcc-> hcp 2022-01-26 23:13:56 +01:00
Martin Diehl 95fff5d6f7 limit to TWINNING to fcc 2022-01-26 23:01:47 +01:00
Martin Diehl 8ceab5326f more systematic handling of bcc/hcp case 2022-01-26 22:49:11 +01:00
Martin Diehl d9f96bc0ec following paper, eq. (36) and eq. (37) 2022-01-26 22:33:44 +01:00
Martin Diehl 60e6e90874 avoid global states 2022-01-26 22:21:34 +01:00
Martin Diehl 5267794ff2 second order expansion of temperature-dependent variables 2022-01-26 22:04:44 +01:00
Martin Diehl c5fd467b44 power to one not needed 2022-01-26 21:47:33 +01:00
Martin Diehl a2ad146c3e TWIP/TRIP is broken, skip testing at the moment 2022-01-26 21:47:07 +01:00
Daniel Otto de Mentock 8e514bf6f4 added missing utils typehint 2022-01-26 16:36:26 +01:00
Daniel Otto de Mentock 0c21b6a8e0 [skip ci] changed almost all function definition lines to multiline for colormap, grid, table, vtk and util modules 2022-01-26 16:25:27 +01:00
Franz Roters e7a999ffb1 Merge branch '146_grid-indexing+allocation' into 'development'
avoid duplicated variables + name adjustments

See merge request damask/DAMASK!505
2022-01-26 14:52:43 +00:00
Daniel Otto de Mentock 0fe51f58a8 [skip ci] changed almost all function definition lines to multiline 2022-01-26 15:09:09 +01:00
Martin Diehl 03d1a14801 drop support for Python 3.7
does not support Literal from typing and is in maintenance mode
2022-01-26 14:10:21 +01:00
Martin Diehl 68ea33c591 start at 1 for the same loop pattern 2022-01-26 12:21:08 +01:00
Martin Diehl a86dc322fb consistently put the check on the next line 2022-01-26 12:18:26 +01:00
Martin Diehl e8c39077df optional is usually not needed 2022-01-26 06:26:37 +01:00
Test User 4f926b9686 [skip ci] updated version information after successful test of v3.0.0-alpha5-495-g814d89532 2022-01-25 10:47:22 +01:00
Martin Diehl 814d895327 Merge branch '145-AGPL' into development 2022-01-25 08:34:22 +01:00
Martin Diehl 4c3702215a nicer formatting (official plain text download) 2022-01-25 08:33:53 +01:00
Test User 53a34be4fb [skip ci] updated version information after successful test of v3.0.0-alpha5-489-g80526967c 2022-01-25 04:08:56 +01:00
Philip Eisenlohr 80526967c1 Merge branch 'typehints_table' into 'development'
03 Added typehints for table module

See merge request damask/DAMASK!499
2022-01-25 00:56:32 +00:00
Philip Eisenlohr 2f07d88bc7 clarified set of option values 2022-01-24 21:09:13 +00:00
Philip Eisenlohr d9a712abf7 Merge branch 'colormap-repeat' into 'development'
added multiplication as color repeat functionality

See merge request damask/DAMASK!508
2022-01-24 20:58:46 +00:00
Martin Diehl 7c72bd48fb simplified 2022-01-24 15:07:47 +01:00
Philip Eisenlohr 6bd23715b8 added multiplication as color repeat functionality 2022-01-24 11:56:33 +01:00
Martin Diehl e320623a40 simplified
dict keeps order since Python 3.6
2022-01-23 14:22:36 +01:00
Martin Diehl 3e584570b2 polishing 2022-01-23 14:15:25 +01:00
Martin Diehl 803c85c2ef Merge remote-tracking branch 'origin/development' into typehints_table 2022-01-23 12:45:06 +01:00
Test User efd9b37235 [skip ci] updated version information after successful test of v3.0.0-alpha5-475-g160eb1c60 2022-01-23 12:43:29 +01:00
Philip Eisenlohr 160eb1c600 Merge branch 'typehints_vtk_util' into 'development'
02 Typehints vtk util

See merge request damask/DAMASK!502
2022-01-23 09:31:47 +00:00
Martin Diehl 87ea3dcd1c updated license for packages 2022-01-22 11:54:24 +01:00
Martin Diehl e8cfbf5d2e Merge remote-tracking branch 'origin/development' into 145-AGPL 2022-01-22 11:54:15 +01:00
Martin Diehl 2bbc4c4e46 polishing 2022-01-22 09:04:14 +01:00
Martin Diehl a35a01d41b iterable can be any Iterable, not just a Sequence
need to give N_iter only in cases when iterable is not a Sequence
2022-01-22 07:50:52 +01:00
Martin Diehl 7e9ce682e7 correcting types
Not really sure if srepr and friends take really 'Any'. They take
everything that can be casted (piecewise) to a string. So keep it open
at the moment and leave out a typehint
2022-01-22 06:56:42 +01:00
Test User beb62e1c0a [skip ci] updated version information after successful test of v3.0.0-alpha5-460-gfc7c165af 2022-01-22 02:46:29 +01:00
Sharan Roongta fc7c165afb Merge branch 'YAML-polishing' into 'development'
polishing

See merge request damask/DAMASK!506
2022-01-21 23:34:43 +00:00
Martin Diehl f1051ec28f polishing 2022-01-21 23:34:42 +00:00
Martin Diehl 96fed368ad name adjustments 2022-01-21 14:51:46 +01:00
Daniel Otto de Mentock 76ccd4aaaa replaced typehint in shapeshifter function 2022-01-21 11:45:14 +01:00
Martin Diehl bc1b391449 Merge remote-tracking branch 'origin/development' into 146_grid-indexing+allocation 2022-01-21 07:23:24 +01:00
Daniel Otto de Mentock c2fa17e903 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_vtk_util 2022-01-21 06:19:28 +01:00
Test User 4b601a38e7 [skip ci] updated version information after successful test of v3.0.0-alpha5-457-g75040047c 2022-01-21 03:05:10 +01:00
Martin Diehl 75040047c9 Merge branch 'pythonic' into 'development'
Making fortran yaml more pythonic

Closes #106

See merge request damask/DAMASK!504
2022-01-20 23:45:47 +00:00
Sharan Roongta c2a822d8fd keys() function for dictionary as in Python.
Does not work for gfortran which fails with an ICE.
2022-01-20 23:45:47 +00:00
Daniel Otto de Mentock bfa7fd6ecc Merge branch 'development' into 'typehints_vtk_util'
# Conflicts:
#   python/damask/_grid.py
2022-01-20 16:54:23 +00:00
Test User 48f38e74d7 [skip ci] updated version information after successful test of v3.0.0-alpha5-454-gb64a603ef 2022-01-20 15:11:14 +01:00
Martin Diehl 292cbdee30 consistent name 2022-01-20 14:56:21 +01:00
Martin Diehl b64a603efc required after update of numpy to 1.22 2022-01-20 11:52:57 +00:00
Daniel Otto de Mentock 77f22318a8 Typehint improvements 2022-01-20 11:52:56 +00:00
Martin Diehl 7bd8452bf8 set return value 2022-01-20 07:56:45 +01:00
Martin Diehl 7b1080fdb7 better and consistent variable name 2022-01-20 07:42:16 +01:00
Martin Diehl 1f86111f57 call SNESSetDM after DMDASNESSetFunctionLocal
following example ex5f.F90, seems to resolve segmentation fault
2022-01-19 22:57:22 +01:00
Martin Diehl fe094939e6 better to understand 2022-01-19 19:43:54 +01:00
Martin Diehl 0f4f2b6717 use only grid, not (x/y/z) start and end 2022-01-19 19:38:07 +01:00
Martin Diehl 89cb018189 polishing 2022-01-19 18:58:46 +01:00
Martin Diehl 3d6dcad385 Merge remote-tracking branch 'origin/thermal-solver-improvements' into 146_grid-indexing+allocation 2022-01-19 18:50:55 +01:00
Martin Diehl 25ddec76e7 avoid (x/y/z)end and (x/y/z)start, same information is in grid 2022-01-19 17:41:16 +01:00
Martin Diehl 96ff3314a3 simplified 2022-01-19 17:10:47 +01:00
Test User 6fb4320fc2 [skip ci] updated version information after successful test of v3.0.0-alpha5-451-g3fbf1459d 2022-01-19 17:02:22 +01:00
Martin Diehl 642df40634 one-based counting 2022-01-19 16:56:54 +01:00
Sharan Roongta 1ad537b60c better to use global grid dimensions
also checking early allocation of Temperature field
2022-01-19 16:54:10 +01:00
Martin Diehl b18483cc6e simplify MPI debugging
needs manual modification in the source code
2022-01-19 16:45:14 +01:00
Sharan Roongta 3fbf1459d5 Merge branch 'misc-improvements' into 'development'
fixes for a few small glitches

See merge request damask/DAMASK!503
2022-01-19 12:57:16 +00:00
Daniel Otto de Mentock f9f0972e3e added FloatSequence type to vtk.from_rectilinear_gridfunction 2022-01-19 10:58:33 +01:00
Daniel Otto de Mentock 5d8fff423e replaced vtk.init argument type with vtkDataSet 2022-01-19 10:40:29 +01:00
Daniel Otto de Mentock 23743c73d4 adjusted util.hybrid_IA function argument 2022-01-19 10:37:22 +01:00
Martin Diehl c3b492c5da new PETSc version with backported fix for ML 2022-01-18 23:20:33 +01:00
Martin Diehl 632180d67e not needed 2022-01-18 14:27:47 +01:00
Martin Diehl 869fdc847a Merge branch 'development' into misc-improvements 2022-01-18 11:02:18 +01:00
Martin Diehl c5fd6a3677 random seed should contain some entropy
setting all elements to the same value does not make sense. Moreover,
negative values are allowed
2022-01-18 10:47:26 +01:00
Test User 4cd260881a [skip ci] updated version information after successful test of v3.0.0-alpha5-441-g8b5122f52 2022-01-17 23:52:17 +01:00
Philip Eisenlohr 8b5122f52a Merge branch 'physics-based-hex-interactions' into 'development'
Physics based hex interactions

See merge request damask/DAMASK!495
2022-01-17 15:24:05 +00:00
Daniel Otto de Mentock 4d3e0e6a51 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_table 2022-01-17 16:07:19 +01:00
Daniel Otto de Mentock 777f2e7868 Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-01-17 15:38:45 +01:00
Daniel Otto de Mentock 7b158ba108 added typehints for vtk module 2022-01-17 15:00:25 +01:00
Daniel Otto de Mentock adf7abbda6 added typehints for util module 2022-01-17 14:58:08 +01:00
Sharan Roongta 40ee4d3dd1 Merge branch 'petsc-64bit-integer' into 'development'
support for PETSc with 64bit integers

See merge request damask/DAMASK!496
2022-01-17 09:16:39 +00:00
Franz Roters 1d2bbc8cd9 Merge branch 'dislotwin-fix-tangent' into 'development'
corrected tangent calculation for twinning and transformation

See merge request damask/DAMASK!492
2022-01-17 07:57:51 +00:00
Franz Roters f4979c6314 Merge branch '143_robust-update' into 'development'
more robust update of tested version

See merge request damask/DAMASK!500
2022-01-17 07:55:21 +00:00
Martin Diehl a545baebbf VTK polishing
avoid segmentation fault (also allows testing)
2022-01-16 19:23:12 +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
Martin Diehl a37178ddee handle case of -0.0
-0.0 < 0.0 ! false
so need sign to change direction for also for the corner case of -0.0
2022-01-15 12:28:39 +01:00
Martin Diehl d1cd125a5b direct array reversal, don't duplicate FFTW manual 2022-01-15 12:27:07 +01:00
Martin Diehl 8a17cef28c using AGPL instead of GPL
ensures back-contributions for cloud-based services
2022-01-15 00:20:29 +01:00
Martin Diehl b796bc0697 simplified 2022-01-14 20:44:34 +01:00
Daniel Otto de Mentock 01cc6ffd2c added minor grid adjustments after initial merge of typehints_grid branch 2022-01-14 17:56:58 +01:00
Martin Diehl 6324ffcb9e more robust update of VERSION file
update version only if no push to development has occured in the
meantime.

Less error prone.  Very small change for race condition remains
2022-01-14 16:00:29 +01:00
Daniel Otto de Mentock dd82c3c8f0 rewrote table module adjustments to not make use of _io module 2022-01-14 15:08:40 +01:00
Daniel Otto de Mentock 25513d572b minor type adjustment to rotation module removed superfluous Sequence type from orientation module 2022-01-14 14:55:08 +01:00
Daniel Otto de Mentock aabeee9de1 Replaced relevant Sequences with FloatSequence and IntSequence types 2022-01-14 14:37:48 +01:00
Test User 6da3f0fa51 [skip ci] updated version information after successful test of v3.0.0-alpha5-389-ga000e477c 2022-01-14 07:24:12 +01:00
Daniel Otto de Mentock 4ba9935ccc Merge branch 'development' of git.damask.mpie.de:damask/DAMASK into typehints_orientation_rotation 2022-01-13 17:23:24 +01:00
Philip Eisenlohr 2c054f2b38 use same hex-hex interaction documentation as webpage 2022-01-13 11:23:09 -05:00
Daniel Otto de Mentock a000e477cf Merge branch 'typehints_grid' into 'development'
added fist typehints for _grid module

See merge request damask/DAMASK!474
2022-01-13 16:21:19 +00:00
Daniel Otto de Mentock db21e82fe3 adjusted data.column retrieval in save method 2022-01-13 17:15:54 +01:00
Philip Eisenlohr 45e33782e4 documentating more hex interactions 2022-01-13 10:42:05 -05:00
Martin Diehl 82dabe29c1 mesh: separate kind for DAMASK and PETSc integers 2022-01-13 16:30:42 +01:00
Philip Eisenlohr 4562f4262c add documentation to source code 2022-01-13 10:14:36 -05:00
Martin Diehl 29530da579 use correct kind of constants for calls to MPI/PETSc 2022-01-13 13:50:30 +01:00
Daniel Otto de Mentock b4088b666e adjusted filehandle conditional type 2022-01-13 13:27:50 +01:00
Martin Diehl 91a3ea96ec final MPI-DAMASK integer kind decoupling
bugfix: set error for openMP-calucations
2022-01-13 13:21:44 +01:00
Martin Diehl d7dbb6ffc2 needs to be public for Marc 2022-01-13 12:03:22 +01:00
Martin Diehl a7417a7ad7 default integer, PETSc integer, and MPI integer might be different 2022-01-13 12:02:33 +01:00
Martin Diehl 64395d4b2b not needed anymore
setting precision is done via compiler flag. Theoretically, it would
work to simply use pI64 for the interface (hypela2 and uedinc) but
stupid common blocks would need to be adjusted as well
2022-01-13 10:26:08 +01:00
Martin Diehl a3a3388855 decouple DAMASK default integer from MPI default integer 2022-01-13 10:25:45 +01:00
Martin Diehl 1c46e7ea1a not needed 2022-01-13 08:30:46 +01:00
Martin Diehl 8223dc7fa7 polishing
MPI, HDF5, PETSc, and DAMASK might have different integer kinds ..
2022-01-13 08:17:31 +01:00
Martin Diehl 3fb5bd459c pInt leftovers 2022-01-13 07:44:15 +01:00
Martin Diehl 4727652856 default integer is set via a compiler flag 2022-01-13 07:37:38 +01:00
Martin Diehl 3acabcdc7f docstring adjustments 2022-01-12 23:57:21 +01:00
Test User 7410463067 [skip ci] updated version information after successful test of v3.0.0-alpha5-379-g731222d09 2022-01-12 23:41:05 +01:00
Martin Diehl 2c1231a806 using best practices from grid_filters 2022-01-12 23:06:48 +01:00
Sharan Roongta 236f0297ac test added 2022-01-12 20:42:37 +01:00
Martin Diehl 9a8e7c8445 Merge branch 'development' into typehints_grid 2022-01-12 19:53:35 +01:00
Martin Diehl fd3c18ea4d calculate global entry in 64 bit 2022-01-12 17:58:44 +01:00
Martin Diehl ae0eead748 write out mapping as 64 bit integer 2022-01-12 17:44:07 +01:00
Martin Diehl 18913bb94e autodetect datatype 2022-01-12 17:33:14 +01:00
Daniel Otto de Mentock ffa80f6bef added typehints for table module 2022-01-12 17:10:13 +01:00
Martin Diehl a87db2ba0b test for long long integer 2022-01-12 16:56:24 +01:00
Martin Diehl 4bfc814a53 Merge remote-tracking branch 'origin/development' into petsc-64bit-integer 2022-01-12 16:37:22 +01:00
Daniel Otto de Mentock 731222d099 Merge branch 'grid_filter-flexible-typehints' into 'development'
allow flexible arguments for 1D arguments

See merge request damask/DAMASK!494
2022-01-12 13:18:40 +00:00
Martin Diehl 410a515afc allow flexible arguments for 1D arguments 2022-01-12 13:18:38 +00:00
Martin Diehl 29cbf1304b grain growth not maintained and has issues
the grain growth model is based on the Voronoi Implicit Interface Method
(https://doi.org/10.1016/j.jcp.2012.04.004). The last step in this
algorithm is the assignment of the new phase/material ID to the voxels
in the 'thick boundary' which is done with distance_transform_edt from
ndimage. This problem can have multiple solution and can lead to the
translation of grains.

In the original publication, the position of the boundary is calculated
with subvoxel resolution by solving the eikonal equation. The following
python packages might help:
https://pypi.org/project/eikonalfm
https://pypi.org/project/scikit-fmm
https://github.com/malcolmw/pykonal
2022-01-12 07:48:09 +01:00
Martin Diehl 771e8acdb9 revert change
need to find PETSc 'twice' to ensure version range ...
2022-01-12 07:46:25 +01:00
Test User f27efb6074 [skip ci] updated version information after successful test of v3.0.0-alpha5-375-g76fe2d2b3 2022-01-11 23:56:22 +01:00
Franz Roters 76fe2d2b36 Merge branch 'misc-improvements' into 'development'
polishing

See merge request damask/DAMASK!497
2022-01-11 15:45:09 +00:00
Sharan Roongta e80d91e30a thermal restart (WIP) 2022-01-11 16:11:18 +01:00
Martin Diehl 19f4f2eaec nice example
too simple for full-flegded ipython notebook
2022-01-11 00:36:49 +01:00
Martin Diehl 16fbd1757c integer exponents are potentially faster 2022-01-10 20:50:46 +01:00
Martin Diehl fc03ebc332 using PETSc with Fortran support for HDF5 2022-01-10 19:58:19 +01:00
Martin Diehl eea8aa94af not used 2022-01-10 18:50:28 +01:00
Martin Diehl 3ae0452440 more robust build
${PETSC_DIR} and ${PETSC_ARCH} are not always substituted in
${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables
Therefore, get location from pkgconfig (<XXX>_LIBRARY_DIRS) and use
PETSC_EXTERNAL_LIB_BASIC instead of PETSC_WITH_EXTERNAL_LIB to get the
linker commands for the external libraries.

Also simplified regex/cleaning
2022-01-10 12:01:48 +01:00
Martin Diehl 8de4829d0f testing non-trivial situation 2022-01-10 08:03:37 +01:00
Martin Diehl 076de59375 modern CMake shortcut 2022-01-09 20:48:58 +01:00
Martin Diehl 0f0108f603 polishing 2022-01-09 08:14:31 +01:00
Martin Diehl 1026d56842 credit where credit is due
referencing DOI gives faster access to actual data
2022-01-09 08:05:42 +01:00
Martin Diehl a884b99aa9 Merge remote-tracking branch 'origin/development' into physics-based-hex-interactions 2022-01-08 20:45:46 +01:00
Test User c065e2b2f1 [skip ci] updated version information after successful test of v3.0.0-alpha5-360-gdd6e9a016 2022-01-08 18:03:24 +01:00
Martin Diehl dd6e9a016e just off by 46 orders of magnitude ;) 2022-01-08 12:07:29 +00:00
Test User e3a233a681 [skip ci] updated version information after successful test of v3.0.0-alpha5-358-g81a7c32a5 2022-01-07 21:38:12 +01:00
Daniel Otto de Mentock f404fea105 Merge branch 'development' into 'typehints_grid'
# Conflicts:
#   python/damask/_grid.py
2022-01-07 15:04:41 +00:00
Martin Diehl 81a7c32a53 Merge branch 'kinehardening-reference' into 'development'
reference for kinehardening constitutive law

See merge request damask/DAMASK!493
2022-01-07 12:59:29 +00:00
Test User a2f6475baa [skip ci] updated version information after successful test of v3.0.0-alpha5-355-gc29428a60 2022-01-07 07:23:43 +01:00
Sharan Roongta c29428a609 Merge branch 'more-material-parameters' into 'development'
new material parameters

See merge request damask/DAMASK!490
2022-01-06 16:28:40 +00:00
Philip Eisenlohr b12a180974 added literature reference for constitutive law 2022-01-06 09:54:33 -05:00
Daniel Otto de Mentock 0a31ff0980 added type:ignore statement to broken line 2022-01-06 14:33:41 +01:00
Martin Diehl 16f23d4931 simplified 2022-01-05 14:56:17 +01:00
Martin Diehl d18ec3eae1 Merge remote-tracking branch 'origin/improved-reporting' into misc-improvements 2022-01-05 14:54:20 +01:00
Martin Diehl 8070e05b2d Merge remote-tracking branch 'origin/cleaning' into misc-improvements 2022-01-05 14:54:09 +01:00
Daniel Otto de Mentock e60d41d5e4 merge with current development branch 2022-01-05 14:06:06 +01:00
Martin Diehl 100565c79b slip systems for tI (bct)
simple test. Not the best, but allows easy comparison with
- grep NTWINSYSTEM\ = src/lattice.f90
- grep NSLIPSYSTEM\ = src/lattice.f90
2022-01-05 08:08:10 +01:00
Martin Diehl 1140625b12 copy and paste error 2022-01-04 17:29:45 +01:00
Martin Diehl 0f26da0ec1 nicer reporting 2022-01-04 17:25:01 +01:00
Martin Diehl 03e3fbd98f compute only when needed 2022-01-04 07:44:14 +01:00
Martin Diehl 4a7f23069c avoid misleading variable name 2022-01-04 07:32:56 +01:00
Martin Diehl 79fa888c99 Merge remote-tracking branch 'origin/development' into dislotwin-fix-tangent 2022-01-04 07:05:40 +01:00
Test User 4880051284 [skip ci] Merge branch 'master' into development 2022-01-03 21:46:45 +01:00
Test User 22db8f430e Merge commit 'v3.0.0-alpha5-343-g09d68b1ff' 2022-01-03 21:46:40 +01:00
Test User 09d68b1fff [skip ci] updated version information after successful test of v3.0.0-alpha5-342-ga177e32ff 2022-01-03 21:46:38 +01:00
Daniel Otto de Mentock 9a9ec11c29 added generator typehint to from_random function 2022-01-03 16:44:27 +01:00
Test User e8b69c7871 [skip ci] Merge branch 'master' into development 2022-01-03 15:48:22 +01:00
Test User c51976e2a9 [skip ci] updated version information after successful test of v3.0.0-alpha5-340-g510a26ded 2022-01-03 15:47:34 +01:00
Daniel Otto de Mentock 5702614c4f expanded rng_seed typehint to array_like type
adjusted alpha and beta types for from_fiber_component to also accept 
lists
removed superfluous kwargs argument in from_ODF and from_parallel 
functions
2022-01-03 15:35:28 +01:00
Sharan Roongta b8203e94d8 Merge branch 'pure-LAPACK' into 'development'
improved function attributes

See merge request damask/DAMASK!491
2022-01-03 14:07:54 +00:00
Daniel Otto de Mentock a177e32ff2 Merge branch 'simplified-colormap' into 'development'
simplified

See merge request damask/DAMASK!487
2022-01-03 13:15:00 +00:00
Martin Diehl 510a26ded9 is used in dislotwin according to original paper 2022-01-03 10:36:23 +01:00
Test User 3dd37cdf22 [skip ci] updated version information after successful test of v3.0.0-alpha5-338-g4a0a1f7ac 2022-01-03 02:19:10 +01:00
Martin Diehl 4a0a1f7ac9 paper is online 2022-01-02 22:29:48 +01:00
Martin Diehl 03c6708629 polishing 2022-01-01 19:52:32 +01:00
Martin Diehl d181b988c1 using vector access 2022-01-01 19:52:20 +01:00
Martin Diehl 770cf33667 correct calculation of tangent.
thanks to Seyedamirhossein Motaman (RWTH Aachen) for reporting
2022-01-01 19:51:31 +01:00
Martin Diehl b34655b7fc functions without side-effects are 'pure'
basically all 'getter' functions should be pure
2022-01-01 11:39:14 +01:00
Martin Diehl 2f74e0d070 avoid failing self test
increase number of samples to have less corner cases.
Needs to be allocatable to avoid stack/heap issue on ifort
2022-01-01 11:39:02 +01:00
Martin Diehl e678b231d9 following naming convention 2021-12-31 13:32:18 +01:00
Martin Diehl 017c182640 branch only once 2021-12-31 13:30:53 +01:00
Martin Diehl 0116e2dae6 bugfix: write only to active twin/trans system 2021-12-31 10:44:12 +01:00
Martin Diehl f2b6ddece1 reduce memory footprint 2021-12-31 08:12:30 +01:00
Martin Diehl d130225c9f polishing 2021-12-31 08:12:17 +01:00
Martin Diehl da00f33487 transformation is only for fcc 2021-12-31 08:11:12 +01:00
Martin Diehl 1661b815b2 correct calculation of temperature dependent stacking fault energy 2021-12-31 08:11:01 +01:00
Martin Diehl de9183af4e functions without side-effects are 'pure'
basically all 'getter' functions should be pure
2021-12-31 08:10:49 +01:00
Martin Diehl 95c64f7a0a avoid failing self test
increase number of samples to have less corner cases.
Needs to be allocatable to avoid stack/heap issue on ifort
2021-12-31 08:10:09 +01:00
Martin Diehl fb51e3c4cd functions have no side-effects, hence 'pure' 2021-12-29 07:19:26 +01:00
Martin Diehl 59bb264b5f LAPACK routines can be considered pure
all arguments have 'intent' specification and don't access any global
variables.
output to screen only occurs in the case that someting goes wrong
2021-12-29 07:09:52 +01:00
Martin Diehl 4583c17080 corrent 'intent' specification
- http://www.netlib.org/lapack/explore-html/d7/d3b/group__double_g_esolve_ga5ee879032a8365897c3ba91e3dc8d512.html
- http://www.netlib.org/lapack/explore-html/dd/d9a/group__double_g_ecomputational_ga56d9c860ce4ce42ded7f914fdb0683ff.html
2021-12-29 07:00:28 +01:00
Test User e19c17c2bc [skip ci] updated version information after successful test of v3.0.0-alpha5-336-g6871eb302 2021-12-28 14:19:37 +01:00
Franz Roters 6871eb3026 Merge branch 'util-project_homochoric' into 'development'
Lambert azimuthal equal-area (laea) projection

See merge request damask/DAMASK!476
2021-12-28 10:19:18 +00:00
Philip Eisenlohr b2d0fd8ff5 Lambert azimuthal equal-area (laea) projection 2021-12-28 10:19:17 +00:00
Martin Diehl b285702d84 functionality is availabe in grid_filters.py 2021-12-27 21:18:31 +01:00
Martin Diehl 7e4a374c9e new material parameters
- austenitic steel AISI304
- SAE1050 after quenching to martensite

I don't know how the old set of elastic constants for martenstite
(originally coming from 10.1088/0965-0393/23/4/045005) was derived,
but it is hard to believe that the elastic behavior can be that strongly
modified by a heat treatment.
2021-12-27 21:10:28 +01:00
Martin Diehl 56c22a91a5 testing grid with Intel LLVM works now
ML is no longer the default preconditioner for FEM.
Theoretically, installation of ML with all standard conforming compilers
should be possible, but --download-ml failed for unknown reasons.
2021-12-27 20:47:59 +01:00
Martin Diehl 1e965c42b7 don't rely on ML
avoid dependencies to external packages as much as possible
2021-12-27 17:44:22 +01:00
Martin Diehl e0e13ec659 testing 64bit integer compilation 2021-12-27 12:41:55 +01:00
Martin Diehl e6376f011c Merge remote-tracking branch 'origin/development' into petsc-64bit-integer 2021-12-27 11:58:53 +01:00
Test User 2d347e1be1 [skip ci] updated version information after successful test of v3.0.0-alpha5-333-g01cd92755 2021-12-26 21:05:58 +01:00
Martin Diehl 01cd92755d Merge branch 'new-intel' into 'development'
support for LLVM-based Intel compilers

See merge request damask/DAMASK!489
2021-12-26 16:56:24 +00:00
Martin Diehl 4168b101f4 testing LLVM-based compilers
does not work for grid due to missing ML
2021-12-26 13:07:58 +01:00
Martin Diehl a7440da26a options not supported by LLVM-based Intel compilers 2021-12-26 13:06:41 +01:00
Martin Diehl a9293db171 new LLVM-based Intel compilers work
quick test shows significant performance improvement
2021-12-25 18:36:35 +01:00
Martin Diehl e34b8a632c new Intel compilers are available 2021-12-25 16:19:48 +01:00
Test User c080c2d2fd [skip ci] Merge branch 'master' into development 2021-12-25 08:39:19 +01:00
Test User 7acf3d8a02 Merge commit 'v3.0.0-alpha5-324-gac7caa0a6' 2021-12-25 08:39:14 +01:00
Test User ac7caa0a64 [skip ci] updated version information after successful test of v3.0.0-alpha5-323-g2ea293063 2021-12-25 08:39:13 +01:00
Test User 53c81e4af1 [skip ci] Merge branch 'master' into development 2021-12-25 07:15:46 +01:00
Test User 68b34f6022 [skip ci] updated version information after successful test of v3.0.0-alpha5-316-gd8ef23fc9 2021-12-25 07:15:40 +01:00
Philip Eisenlohr 2ea2930638 Merge branch 'keyword-view' into 'development'
using keywords instead of strings to control view

Closes #133

See merge request damask/DAMASK!484
2021-12-24 23:07:10 +00:00
Philip Eisenlohr d8ef23fc91 Merge branch 'vtr-to-vti' into 'development'
don't use deprecated functions

See merge request damask/DAMASK!488
2021-12-24 23:06:04 +00:00
Test User 368f4ac985 [skip ci] updated version information after successful test of v3.0.0-alpha5-313-g8c2266bc5 2021-12-23 22:35:44 +01:00
Martin Diehl 8c2266bc50 bugfix/workaround for failing pipelines on GitHub
credits to @miketimofeev and @mikhailkoliada for the fix
2021-12-23 19:23:02 +01:00
Test User 6e833d2327 [skip ci] updated version information after successful test of v3.0.0-alpha5-311-g38d497819 2021-12-22 12:56:07 +01:00
Martin Diehl dc5172ce63 don't use deprecated functions 2021-12-22 12:41:16 +01:00
Nikhil Prabhu 38d4978191 Merge branch 'Temp-Dependent-BccIron-C' into 'development'
elastic constants for bcc iron

See merge request damask/DAMASK!486
2021-12-22 08:25:53 +00:00
Martin Diehl 1ddf1e5694 support for PETSc with 64bit integers
compiles, but untested
2021-12-21 23:53:46 +01:00
Martin Diehl 508083082d simplified 2021-12-21 23:50:43 +01:00
Test User 3e01f72daa [skip ci] updated version information after successful test of v3.0.0-alpha5-308-gb4f3ac457 2021-12-21 22:19:29 +01:00
Sharan Roongta 32e741ae2c elastic constants for bcc iron 2021-12-21 15:54:46 +01:00
Sharan Roongta b4f3ac4577 Merge branch 'temperature-direct' into 'development'
use data from other physics directly

See merge request damask/DAMASK!485
2021-12-21 12:09:51 +00:00
Martin Diehl 25ab62402a Merge remote-tracking branch 'origin/development' into keyword-view 2021-12-19 22:58:38 +01:00
Martin Diehl e10dea5b6c easier to understand 2021-12-19 22:53:48 +01:00
Martin Diehl 00230d482f use data from other physics directly
more clear code, simplified interfaces
2021-12-19 22:07:23 +01:00
Martin Diehl 5af6cc288b whitespace adjustments 2021-12-19 21:46:10 +01:00
Test User eecfed7cda [skip ci] Merge branch 'master' into development 2021-12-19 00:24:18 +01:00
Test User 643e8d1d94 Merge commit 'v3.0.0-alpha5-300-gd060eabb4' 2021-12-19 00:24:13 +01:00
Test User d060eabb45 [skip ci] updated version information after successful test of v3.0.0-alpha5-299-g29122ef41 2021-12-19 00:24:12 +01:00
Test User f106e1bcb1 [skip ci] Merge branch 'master' into development 2021-12-18 22:45:01 +01:00
Test User 28449393bf [skip ci] updated version information after successful test of v3.0.0-alpha5-297-g5ecfba1e5 2021-12-18 22:44:25 +01:00
Philip Eisenlohr 29122ef41f Merge branch 'typehints-adjustments-colormap' into 'development'
Use ArrayLike for numpy >= 1.20

See merge request damask/DAMASK!482
2021-12-18 17:21:46 +00:00
Martin Diehl 0468bfd3e1 Use ArrayLike for numpy >= 1.20 2021-12-18 17:21:46 +00:00
Philip Eisenlohr 5ecfba1e5f Merge branch 'better-Gauss' into 'development'
improved sampling from normal distribution

See merge request damask/DAMASK!483
2021-12-18 17:15:55 +00:00
Martin Diehl 2fc25c6fa9 correct reporting 2021-12-17 14:31:51 +01:00
Martin Diehl a1e42af860 easier to understand 2021-12-17 10:44:41 +01:00
Martin Diehl c1eabc3384 simplified interface 2021-12-17 10:31:41 +01:00
Martin Diehl 0b6af19e54 use of keywords is more intuitive
code needs cleaning after revoming of 'what' and 'datasets'. For the
moment, keep the old style for compatibility with existing evaluation
scripts
2021-12-17 09:48:33 +01:00
Martin Diehl 501465dfd1 more alpha releases than expected
hopefully, all DAMASK 2 users have been migrated once 3.0 is released
2021-12-17 09:42:10 +01:00
Martin Diehl f833d348e0 testing random sampling 2021-12-17 08:01:15 +01:00
Martin Diehl f40d731fe1 use the Box-Muller transform instead of random sampling
still needs testing.
2021-12-16 21:22:44 +01:00
Test User 430b947c7e [skip ci] Merge branch 'master' into development 2021-12-15 14:21:42 +01:00
Test User 9d9ee4b979 Merge commit 'v3.0.0-alpha5-290-g99267afda' 2021-12-15 14:21:38 +01:00
Test User 99267afda3 [skip ci] updated version information after successful test of v3.0.0-alpha5-289-g6eccc6a4a 2021-12-15 14:21:37 +01:00
Test User 74b0699156 [skip ci] Merge branch 'master' into development 2021-12-15 12:04:06 +01:00
Test User 67cc36daf3 [skip ci] updated version information after successful test of v3.0.0-alpha5-283-gdacd08f39 2021-12-15 12:04:02 +01:00
Sharan Roongta 6eccc6a4a8 Merge branch 'colormap-at' into 'development'
Colormap fractional interpolation

See merge request damask/DAMASK!477
2021-12-15 10:17:10 +00:00
Martin Diehl dacd08f390 Merge branch 'Temperature-dependent_Elastic_Constants-Al_and_Ag' into 'development'
Temperature dependent elastic constants al and ag

See merge request damask/DAMASK!480
2021-12-15 08:06:26 +00:00
Test User d30d3b2128 [skip ci] updated version information after successful test of v3.0.0-alpha5-275-g3b9822ad6 2021-12-14 20:21:48 +01:00
Nikhil Prabhu 242fa486a6 Merge branch 'Temperature-dependent_Elastic_Constants-Al_and_Ag' of magit1.mpie.de:damask/DAMASK into Temperature-dependent_Elastic_Constants-Al_and_Ag 2021-12-14 18:10:39 +01:00
Nikhil Prabhu 9c79c29288 Lattice, density and reference 2021-12-14 18:10:11 +01:00
Daniel Otto de Mentock 65633ee6b1 added typehints for rotation.average function [skip ci] 2021-12-14 17:19:00 +01:00
Daniel Otto de Mentock cef885cfde added first typehints for rotation and orientation modules 2021-12-14 17:05:00 +01:00
Daniel Otto de Mentock 3b9822ad67 Revert "added first typehints for rotation and orientation modules"
This reverts commit 4235c70aea
2021-12-14 16:04:18 +00:00
Daniel Otto de Mentock 4235c70aea added first typehints for rotation and orientation modules 2021-12-14 17:01:40 +01:00
Philip Eisenlohr 2b4487f426 forgot to update test 2021-12-13 19:07:18 -05:00
Philip Eisenlohr 32595299c9 minimal clean API for Colormap.at 2021-12-13 17:44:24 -05:00
Martin Diehl fd3e8532ee polishing 2021-12-13 16:50:47 +01:00
Martin Diehl d3a8b3d3d1 polishing 2021-12-13 16:46:01 +01:00
Nikhil Prabhu e330348c98 Temperature-dependent Elastic Constants for Aluminum 2021-12-13 16:38:31 +01:00
Nikhil Prabhu b41d9411a7 Temperature-dependent Elastic Constants for Silver 2021-12-13 16:30:46 +01:00
Test User a89eff2991 [skip ci] updated version information after successful test of v3.0.0-alpha5-272-g3192a31e1 2021-12-12 02:03:10 +01:00
Martin Diehl 3192a31e1e single source of truth 2021-12-11 23:08:18 +01:00
Test User ad5262a7a8 [skip ci] updated version information after successful test of v3.0.0-alpha5-270-g6e36c4c30 2021-12-11 22:21:22 +01:00
Martin Diehl 6e36c4c303 Merge branch 'polishing' into 'development'
forall is deprecated

See merge request damask/DAMASK!478
2021-12-11 18:42:49 +00:00
Martin Diehl 5ef918e75b PETSc 3.16.2 is out 2021-12-11 14:55:56 +01:00
Martin Diehl 6ba2a08e5a easier to read 2021-12-11 11:50:40 +01:00
Martin Diehl d6ba73d9e2 consistent names 2021-12-11 09:54:46 +01:00
Martin Diehl f51633d43a forall is deprecated
do concurrent is the successor but ifort had problems and generated
faulty code
2021-12-11 09:01:42 +01:00
Martin Diehl 7d7d0c2659 only local variable are good variables 2021-12-11 08:49:30 +01:00
Eureka Pai 2b6283bbe3 flexibility to return with alpha channel and/or as string 2021-12-10 12:53:01 -05:00
Franz Roters 7bb6707b0e [skip ci] Web page was moved 2021-12-10 18:07:04 +01:00
Eureka Pai 947bf946e1 added Colormap.at(fraction) to interpolate 2021-12-10 11:31:26 -05:00
Test User 63c76abed8 [skip ci] updated version information after successful test of v3.0.0-alpha5-263-gfbbe5ec00 2021-12-09 00:09:39 +01:00
Philip Eisenlohr fbbe5ec006 fixed typo 2021-12-08 21:04:22 +00:00
Martin Diehl a23a714bd0 polishing 2021-12-07 19:10:24 +01:00
Test User 811879788a [skip ci] updated version information after successful test of v3.0.0-alpha5-261-g722c9828a 2021-12-07 11:37:02 +01:00
Martin Diehl 722c9828a0 trying to fix errors like
cannot lock ref 'refs/heads/master': is at 2d39da4d8d
but expected 596a8ecd11
2021-12-07 09:27:24 +01:00
Test User 188c199863 [skip ci] Merge branch 'master' into development 2021-12-07 08:49:26 +01:00
Test User 2d39da4d8d Merge commit 'v3.0.0-alpha5-254-gc56642f64' 2021-12-07 08:48:58 +01:00
Test User c56642f64a [skip ci] updated version information after successful test of v3.0.0-alpha5-253-ga4cd663fc 2021-12-07 08:48:55 +01:00
Martin Diehl cf9f770866 Merge branch 'typehints_crystal' into 'development'
Typehints for crystal

See merge request damask/DAMASK!464
2021-12-06 23:49:13 +00:00
Daniel Otto de Mentock be95f9a98a Typehints for crystal 2021-12-06 23:49:12 +00:00
Test User 992f848296 [skip ci] Merge branch 'master' into development 2021-12-06 18:34:35 +01:00
Test User 596a8ecd11 [skip ci] updated version information after successful test of v3.0.0-alpha5-251-g65c4417a2 2021-12-06 18:34:14 +01:00
Sheng Zhang ea25c8ff40 updated tests to have new # of interactions 2021-12-06 16:55:24 +01:00
Sheng Zhang d66b9e1896 subdivision of interaction matrix for hcp 2021-12-06 16:51:18 +01:00
Sheng Zhang a4cd663fc0 Merge branch 'no-2prism-hex' into development 2021-12-06 16:45:01 +01:00
Daniel Otto de Mentock 7c7c3926b7 added array conversion to ambiguous types in grid_filters.coordinates0_point function 2021-12-06 15:48:57 +01:00
Daniel Otto de Mentock 1de12bb402 removed direct attribute assignments for size and origin 2021-12-06 15:48:19 +01:00
Daniel Otto de Mentock 5558c301fa added fist typehints for _grid module 2021-12-06 14:22:52 +01:00
Daniel Otto de Mentock 65c4417a20 Merge branch 'polishing' into 'development'
Polishing

See merge request damask/DAMASK!473
2021-12-06 12:57:17 +00:00
Martin Diehl fe2123bae4 2. order prismatic systems are not needed
not clear for which material they have been introduced, according to
T.R. Bieler and P. Eisenlohr they are typicall not active in any
material of interest
2021-12-06 12:23:24 +01:00
Martin Diehl 8ade749f05 avoid conversions 2021-12-06 08:55:00 +01:00
Martin Diehl 2fb368cf8c consistent space (as in 'end module' etc) 2021-12-06 07:59:40 +01:00
Martin Diehl 08a709c6d9 capitalize HDF5 prefix 2021-12-06 07:55:22 +01:00
Martin Diehl 2f067b544e use variables, not descriptors 2021-12-06 07:55:13 +01:00
Martin Diehl 7b187eb370 new convention 2021-12-06 07:55:05 +01:00
Test User cef8b06dc0 [skip ci] updated version information after successful test of v3.0.0-alpha5-244-gb57351045 2021-12-04 05:43:51 +01:00
Philip Eisenlohr b57351045b follow new convention for "shape" and "len" in docstrings 2021-12-04 03:39:33 +01:00
Martin Diehl 2a6b37a0e5 eq. according to mypy recommendation
note that raising 'NotImplemented' means that __eq__ of the 'other' is
evaluated
https://stackoverflow.com/questions/54801832
https://newbedev.com/why-does-defining-the-argument-types-for-eq-throw-a-mypy-type-error
2021-12-03 12:35:25 +01:00
Martin Diehl 99166a7ce2 Merge remote-tracking branch 'origin/colormap-docstrings' into development 2021-12-03 12:18:24 +01:00
Test User 389d08bdcc [skip ci] updated version information after successful test of v3.0.0-alpha5-234-g66fddda0b 2021-12-03 10:08:09 +01:00
Vitesh 66fddda0bf Merge branch 'check-HDF5-filters' into 'development'
bugfix for HDF5 without deflate filter

See merge request damask/DAMASK!469
2021-12-03 07:13:03 +00:00
Test User 55b8ea9db9 [skip ci] updated version information after successful test of v3.0.0-alpha5-230-g7a78a25e5 2021-12-03 07:39:56 +01:00
Martin Diehl 7a78a25e5c Merge branch 'config-init-yaml' into 'development'
extend config init to allow YAML string and key=value pairs

See merge request damask/DAMASK!470
2021-12-03 04:37:23 +00:00
Philip Eisenlohr dc3db90ce0 fixed typo: colormodel --> color model 2021-12-02 18:59:31 -05:00
Philip Eisenlohr d5da47bf71 extend config init to allow YAML string and key=value pairs 2021-12-02 18:20:27 -05:00
Martin Diehl c818756f68 wrong check
iand is used for checking, see https://support.hdfgroup.org/HDF5/doc/RM/H5Z/H5Zget_filter_info.htm
2021-12-02 20:51:33 +01:00
Test User 88de2720d2 [skip ci] updated version information after successful test of v3.0.0-alpha5-227-g727dd8936 2021-12-02 16:24:54 +01:00
Martin Diehl 731e20261c bugfix for HDF5 without deflate filter
before inquiring whether a filter supports compression/decompression, we
first need to check whether it is available at all to avoid raising an
error.
Extended the check to the shuffle filter
2021-12-02 13:00:59 +01:00
Franz Roters 727dd8936d use latest Marc version 2021-12-02 08:50:59 +01:00
Martin Diehl e43a121e7d polishing 2021-12-01 16:46:58 +01:00
Franz Roters 809221fb7e adjust access rights of newly created files 2021-12-01 16:01:55 +01:00
Martin Diehl 5abfe3c214 Merge remote-tracking branch 'origin/development' into MSC-Version 2021-12-01 15:35:49 +01:00
Martin Diehl f6d2bd0225 fix
not sure why this does not work
2021-12-01 11:46:48 +01:00
Martin Diehl 717ca3e727 not needed 2021-12-01 10:05:09 +01:00
Martin Diehl 4ac2056dff leave installdir alone 2021-11-30 17:46:50 +01:00
Martin Diehl 98491c61c8 only used together 2021-11-30 13:58:07 +01:00
Martin Diehl 9cc1e33940 not really a path, but a substring in a path 2021-11-30 13:55:55 +01:00
Martin Diehl 3a51e1119b text files on Unix should end with a new line character 2021-11-30 13:11:40 +01:00
Martin Diehl 84353ae545 f-string not needed (no substitution) 2021-11-30 09:22:30 +01:00
Test User 51b7a00734 [skip ci] updated version information after successful test of v3.0.0-alpha5-210-g7e7098baf 2021-11-29 21:14:49 +01:00
Sharan Roongta 7e7098baf7 Merge branch 'rotate-Voigt' into 'development'
Rotate voigt

See merge request damask/DAMASK!463
2021-11-29 16:47:39 +00:00
Franz Roters c26bd6e82c correct path; error correctionin mod script 2021-11-29 14:35:45 +01:00
Test User 77bced998f [skip ci] updated version information after successful test of v3.0.0-alpha5-202-g96e4cb591 2021-11-29 10:35:09 +01:00
Nikhil Prabhu 96e4cb591c Merge branch 'integer-exponents' into 'development'
Using integer exponent

See merge request damask/DAMASK!467
2021-11-29 07:32:04 +00:00
Philip Eisenlohr a531b7ccae transitioned remaining real exponents to int 2021-11-28 12:46:26 -05:00
Test User a0e0f329fd [skip ci] updated version information after successful test of v3.0.0-alpha5-197-g1fc876358 2021-11-28 03:10:26 +01:00
Philip Eisenlohr 1fc876358e Merge branch '134-output_none' into 'development'
user option to have no output

Closes #134

See merge request damask/DAMASK!466
2021-11-28 00:06:57 +00:00
Martin Diehl 81daebd0e6 Merge remote-tracking branch 'origin/development' into integer-exponents 2021-11-27 20:44:26 +01:00
Philip Eisenlohr 1fe3df4564 Merge branch '134-output_none' of git.damask.mpie.de:damask/DAMASK into 134-output_none 2021-11-27 14:12:04 -05:00
Philip Eisenlohr 5768942fa5 use simplifed logic in PRIVATE 2021-11-27 14:11:30 -05:00
Martin Diehl 1fbeabc949 Merge remote-tracking branch 'origin/development' into rotate-Voigt 2021-11-27 19:55:02 +01:00
Martin Diehl ccd6e44b6b Merge remote-tracking branch 'origin/development' into 134-output_none 2021-11-27 19:17:27 +01:00
Test User 98b699359f [skip ci] updated version information after successful test of v3.0.0-alpha5-191-gf32a78861 2021-11-27 00:46:28 +01:00
Philip Eisenlohr f32a788614 Merge branch 'dynamic-C' into 'development'
temperature dependend elastic constants.

See merge request damask/DAMASK!465
2021-11-26 21:41:36 +00:00
Philip Eisenlohr 2fbe34497e integer exponents 2021-11-26 14:13:04 -05:00
Martin Diehl 825eb3824b polishing 2021-11-26 20:10:21 +01:00
Philip Eisenlohr 4d63da6aee get_file_handle suffix is optional 2021-11-26 11:34:43 -05:00
Martin Diehl 3618482f08 testing dynamic C 2021-11-26 17:20:05 +01:00
Test User d52a14f74f [skip ci] updated version information after successful test of v3.0.0-alpha5-172-g41d78e2c6 2021-11-26 13:28:55 +01:00
Philip Eisenlohr 6cad6bc5cf clarify slip plane for (first) pyr<a> 2021-11-26 13:01:40 +01:00
Philip Eisenlohr 57e8c0c5ec polish 2021-11-26 13:01:40 +01:00
Martin Diehl 0c520d49de guide the user
+ needed for consistent indentation (make YAMLlint happy)
2021-11-26 13:01:40 +01:00
Martin Diehl f8b7e0917b trailing definitions not needed 2021-11-26 13:01:40 +01:00
Martin Diehl 8320606410 simplify counting, emphasize floating point values 2021-11-26 13:01:40 +01:00
Martin Diehl b88ab1af48 simplify search for interaction parameters 2021-11-26 13:01:40 +01:00
Sheng Zhang 41d78e2c68 Merge branch 'annotate-hex-interaction' into 'development'
Help for defining interaction values for hex

See merge request damask/DAMASK!462
2021-11-26 10:26:06 +00:00
Martin Diehl 4ba7c9e670 polishing
casting numpy.bool_ to bool is a little bit annoying. Mabye using Union[bool, np.bool_] is the better
solution, it does not require any changes to the actual code and there is some
hope that it will get fixed in mypy https://github.com/numpy/numpy/issues/18876
2021-11-25 21:29:34 +01:00
Martin Diehl bfc6b69ee2 integer exponents: faster and shorter 2021-11-25 20:52:22 +01:00
Philip Eisenlohr 51a36119a8 clarify slip plane for (first) pyr<a> 2021-11-25 14:08:19 -05:00
Philip Eisenlohr 5ba59dead2 polish 2021-11-25 14:07:41 -05:00
Martin Diehl 375f2825ee proper linux files need to have a LF@EOF 2021-11-25 20:01:45 +01:00
Philip Eisenlohr bd908dc425 test __eq__; polish help strings 2021-11-25 13:14:34 -05:00
Franz Roters 9132ce96f1 corrected python error 2021-11-25 17:36:41 +01:00
Franz Roters f435062a1d support for Marc2021.3.1 2021-11-25 17:30:22 +01:00
Martin Diehl 72c717d51d simplified/correct type 2021-11-25 15:37:13 +01:00
Sharan Roongta 271bb8df88 being consistent 2021-11-25 15:03:00 +01:00
Sharan Roongta 90f967cc86 Merge remote-tracking branch 'origin/T_ref300' into dynamic-C 2021-11-25 12:11:38 +01:00
Martin Diehl fb8c515a98 capitalize constants
not sure whether we should make exceptions for k_B and T_room
2021-11-25 11:52:52 +01:00
Sharan Roongta 8b06d97e84 Merge remote-tracking branch 'origin/T_ref300' into dynamic-C 2021-11-25 11:18:25 +01:00
Martin Diehl e941867290 single source of truth 2021-11-25 06:23:26 +01:00
Martin Diehl bc30248b95 0K is not a good reference 2021-11-25 06:12:55 +01:00
Test User 0cf78da46d [skip ci] updated version information after successful test of v3.0.0-alpha5-164-gdc993bc6f 2021-11-25 04:21:18 +01:00
Philip Eisenlohr dc993bc6f9 Merge branch 'typehints_colormap' into 'development'
Typehints colormap

See merge request damask/DAMASK!460
2021-11-24 23:15:30 +00:00
Sharan Roongta 35f20811cb thermal dependent C 2021-11-24 23:21:31 +01:00
Martin Diehl 3cae915e47 not needed
a = [] is already a list
2021-11-24 21:12:13 +01:00
Martin Diehl 97ffb8c88e guide the user
+ needed for consistent indentation (make YAMLlint happy)
2021-11-24 20:02:08 +01:00
Martin Diehl adb1d4ccf9 version numbers are no floating point numbers 2021-11-24 17:29:07 +01:00
Martin Diehl 757ba4dba2 in-line with pathlib.Path 2021-11-24 17:28:00 +01:00
Martin Diehl 719996f285 trailing definitions not needed 2021-11-24 15:52:38 +01:00
Martin Diehl 56bc3bc71d simplify counting, emphasize floating point values 2021-11-24 15:48:11 +01:00
Martin Diehl 150b069627 simplify search for interaction parameters 2021-11-24 14:47:54 +01:00
Philip Eisenlohr 3bf10127b8 added __eq__ and test 2021-11-23 17:46:38 -05:00
Philip Eisenlohr 3e1a6dcab7 polished help; streamlined from_range() 2021-11-23 17:20:07 -05:00
Test User 2ae8b4a9f5 [skip ci] updated version information after successful test of v3.0.0-alpha5-155-gbf76d9f3a 2021-11-23 21:31:17 +01:00
Martin Diehl c23e9fb126 __eq__ not implemented
probably also not very much used outside tests
2021-11-23 20:34:19 +01:00
Martin Diehl 3393d32d9f more sensible test vor sequence arguments 2021-11-23 19:42:10 +01:00
Philip Eisenlohr bf76d9f3a7 Merge branch 'use-Voigt-notation' into 'development'
use Voigt notation

See merge request damask/DAMASK!458
2021-11-23 17:49:47 +00:00
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
Philip Eisenlohr 43ae4983ed fixed misaligned/too short "writing..." statements 2021-11-15 12:58:59 -05:00
Philip Eisenlohr 69843d0833 Merge branch 'development' into pretty-print-init 2021-11-15 12:39:14 -05:00
Philip Eisenlohr da9fdf53d2 consistent indentation and line-spacings in reporting 2021-11-15 12:35:44 -05:00
Martin Diehl abec62c027 simplifying
clone repository only when needed for update (development only)
2021-11-15 17:55:11 +01:00
Nikhil Prabhu 64d70d9be3 user option to have no output
f_out = none
2021-11-15 14:39:29 +01:00
Test User a87f414146 [skip ci] updated version information after successful test of v3.0.0-alpha5-90-gbb6655045 2021-11-14 20:46:57 +01:00
Martin Diehl bb66550459 don't use undefined variable 2021-11-14 18:59:20 +01:00
Martin Diehl ec24af2403 testing new functionality 2021-11-14 11:45:13 +01:00
Martin Diehl 4a0fc7b150 ensure to be in correct repository 2021-11-14 09:45:01 +01:00
Martin Diehl 10e436cbf5 Merge remote-tracking branch 'origin/development' into Marc-spelling 2021-11-14 06:56:19 +01:00
Martin Diehl d751350bda systematic naming 2021-11-14 06:51:47 +01:00
Martin Diehl 2df9045f7e Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-14 06:50:04 +01:00
Martin Diehl f7dbda31e8 style adjustments
- two empty lines after variables
- enddo, endif should have space
2021-11-14 06:46:01 +01:00
Philip Eisenlohr 2408b74cac reduce computation effort for plasticity==none 2021-11-14 06:45:37 +01:00
Martin Diehl 4e57193a02 simplified
use GitLab CI API to remove finished jobs, no user intervention needed
after cancelling
2021-11-13 23:04:35 +01:00
Martin Diehl 74921ebe19 not needed, only delays runtime test
resource management is done with 'manage pool' script
2021-11-13 21:28:42 +01:00
Martin Diehl 4396d605ec test folder, not module 2021-11-13 19:37:40 +01:00
Martin Diehl 9430ca9e6e simplified 2021-11-13 19:24:00 +01:00
Martin Diehl f97c9c7e8c don't rely on Makefile 2021-11-13 19:13:10 +01:00
Martin Diehl 57817e78ae PYTHONPATH was not set 2021-11-13 18:39:19 +01:00
Martin Diehl 51c2620567 use (partly) repo cloned by gitlab-runner 2021-11-13 18:19:42 +01:00
Martin Diehl 06edd39a93 still need clean stage
after_script does not run for failed/cancelled scripts.
2021-11-13 16:49:21 +01:00
Martin Diehl 352a168621 new style (https://docs.gitlab.com/ee/ci/yaml) 2021-11-13 14:09:12 +01:00
Martin Diehl c75ac5fe6c let gitlab-runner handle the submodule 2021-11-13 14:03:06 +01:00
Martin Diehl 45af45615a build to new bin location 2021-11-13 14:02:40 +01:00
Martin Diehl 2682a26497 preparing for pipeline-wide location of executables 2021-11-13 11:32:55 +01:00
Martin Diehl f112d11985 new locking mechanism
only runtime test needs to run exclusively. lock per job, not per
pipeline.
should be more stable and allow more concurrency

needs python script for job management on gitlab-runner
2021-11-13 11:14:21 +01:00
Martin Diehl 97e289decc not needed
automated push to master skips CI already
2021-11-12 22:11:11 +01:00
Martin Diehl 579f3ba5d3 more robust storage of runtime measurements 2021-11-12 21:38:13 +01:00
Martin Diehl cd2ecef92f Merge remote-tracking branch 'origin/development' into Marc-spelling 2021-11-12 09:25:41 +01:00
Martin Diehl aa6efd21cd Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-12 08:46:50 +01:00
Test User e8d2281bb5 [skip ci] updated version information after successful test of v3.0.0-alpha5-72-g8138d3a18 2021-11-12 08:43:50 +01:00
Martin Diehl 8138d3a180 style adjustments 2021-11-11 23:59:48 +01:00
Martin Diehl ba31ff7263 do not rely on ML per default 2021-11-11 23:23:14 +01:00
Martin Diehl 476f1975db use fixed PETSc
already includes new version of ML proposed in
https://gitlab.com/petsc/petsc/-/merge_requests/4549
2021-11-11 23:04:00 +01:00
Martin Diehl 7766b5465b Merge branch '135-discretization_grid-too-strict-with-celldata' into 'development'
only look for opening part of <CellData> tag

Closes #135

See merge request damask/DAMASK!451
2021-11-10 22:11:47 +00:00
Martin Diehl b7ad5b3167 'standard' style 2021-11-10 20:53:20 +01:00
Philip Eisenlohr 186b688b04 only look for opening part of <CellData> tag 2021-11-09 15:10:19 -05:00
Philip Eisenlohr 292449aca9 W has cI, not cF 2021-11-09 19:30:35 +00:00
Martin Diehl 1038abd1a3 testing initial eigenstrain 2021-11-08 18:50:00 +01:00
Martin Diehl 0514ca7a56 Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-08 18:49:41 +01:00
Test User 5142813a98 [skip ci] updated version information after successful test of v3.0.0-alpha5-64-g8e08af31e 2021-11-05 10:23:36 +01:00
Daniel Otto de Mentock 8e08af31e5 Merge branch '125-python-typehints' into 'development'
first few type hints for Python

See merge request damask/DAMASK!450
2021-11-05 07:45:29 +00:00
Test User ba66d7b816 [skip ci] updated version information after successful test of v3.0.0-alpha5-52-g5b0ad1eb8 2021-11-04 21:19:55 +01:00
Martin Diehl 5b0ad1eb8d Merge branch 'mesh-order' into 'development'
symbolic notation in numerics.yaml

See merge request damask/DAMASK!445
2021-11-04 18:39:58 +00:00
Martin Diehl a041551b9f Merge remote-tracking branch 'origin/development' into mesh-order 2021-11-03 07:57:59 +01:00
Martin Diehl f0c587d4aa polishing
oder of imports is build-in, 3rd party, internal
2021-11-03 07:53:38 +01:00
Philip Eisenlohr 59a6dc3652 run mypy on all python/damask 2021-11-02 14:40:09 -04:00
Philip Eisenlohr ccfe276ae1 fixed type hinting for seeds.py and grid_filters.py 2021-11-02 14:28:54 -04:00
Philip Eisenlohr 8636c5dad4 removed grid typehint <-- no clue how to break circular import 2021-11-02 13:41:05 -04:00
Philip Eisenlohr 735952bd32 fixed typo 2021-11-02 13:40:09 -04:00
Philip Eisenlohr 32aff9d966 added typehints to seeds.py 2021-11-02 13:01:32 -04:00
Test User 493a0969eb [skip ci] updated version information after successful test of v3.0.0-alpha5-45-g1a558db83 2021-11-02 16:42:50 +01:00
Franz Roters 1a558db83d Merge branch 'fix-dislotungsten' into 'development'
Fixing dislotungsten

See merge request damask/DAMASK!449
2021-11-02 13:40:11 +00:00
Martin Diehl f4f0163d5e Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-11-02 13:22:47 +01:00
Martin Diehl 2e3de727cc hint at issues with the current parametrization 2021-11-02 07:27:08 +01:00
Martin Diehl 34e04fa45e tests should work after updating test server
typehints for numpy and pyyaml are now available
2021-11-01 10:00:13 +01:00
Martin Diehl 0bc267c76b automated type checking for mechanics 2021-10-31 22:50:41 +01:00
Martin Diehl 2d25dfcdf2 automated type checking 2021-10-31 22:43:06 +01:00
Martin Diehl 509835bf0b type hints for tensor
adjustments to Rotation/Orientation needed to enable type checking with
mypy
2021-10-31 22:37:54 +01:00
Martin Diehl e0b6a28b48 better matching name 2021-10-31 22:13:36 +01:00
Martin Diehl 3f3224a9cb found better source 2021-10-31 18:59:57 +01:00
Martin Diehl 737eff9179 bugfix: change of behavior
v_0 was erroneously introduced
use tau = (tau_pos+tau_neg)/2
2021-10-31 18:59:51 +01:00
Martin Diehl 6d117882c5 use precalculated value 2021-10-31 17:29:35 +01:00
Martin Diehl a352f8deeb reasonable convergence 2021-10-31 16:05:22 +01:00
Martin Diehl fbc4865c30 mathematically equivalent re-formulation
allows to disable contribution from grain size by setting it to a large
value
2021-10-31 15:42:18 +01:00
Martin Diehl 25ca77c38e parameters from original paper (mostly) 2021-10-31 13:34:48 +01:00
Martin Diehl f5fe0b9dca bugfix: change of behavior
negative values for the resolved stress do not make sense.
The paper does not take this into account (eq (14), Cereceda et. al
2016). According to my understanding, only the non-thermal contributions should be
substracted, so abs(tau_pos)/abs(tau_neg) would not be sufficient.
2021-10-31 09:53:58 +01:00
Martin Diehl e20b705f54 following dislotwin 2021-10-30 23:02:51 +02:00
Martin Diehl bff186051c simplified 2021-10-30 22:54:02 +02:00
Martin Diehl bb757cf82e style adjustments 2021-10-30 13:15:03 +02:00
Test User 9f152aca0d [skip ci] updated version information after successful test of v3.0.0-alpha5-31-gddb25ad0e 2021-10-30 10:03:53 +02:00
Philip Eisenlohr ddb25ad0e5 remove duplicate lattice_symmetries dictionary 2021-10-29 20:04:09 -04:00
Martin Diehl 222116a135 Merge remote-tracking branch 'origin/development' into mesh-order 2021-10-29 11:02:58 +02:00
Test User d2a83e5cc1 [skip ci] updated version information after successful test of v3.0.0-alpha5-29-g84df8b71f 2021-10-29 10:52:40 +02:00
Martin Diehl 84df8b71f8 Merge branch 'testing-PETSc-3.16' into 'development'
testing with the latest PETSc version

See merge request damask/DAMASK!447
2021-10-29 07:14:23 +00:00
Martin Diehl 0ac857599c simplified
we don't test multiple versions anymore
2021-10-28 21:36:04 +02:00
Martin Diehl c34855952e toolchains are updated 2021-10-28 19:56:25 +02:00
Martin Diehl 0cf64cd145 Merge branch 'updated_Marc_example' into 'development'
Updated marc example

See merge request damask/DAMASK!446
2021-10-28 11:33:17 +00:00
Franz Roters 8a2f503f5f removed empty last line 2021-10-28 10:56:03 +02:00
Franz Roters d131dc76bf removed trailing spaces 2021-10-28 10:54:40 +02:00
Franz Roters cb796f97d7 new Marc example, sheet is now polycrystalline 2021-10-28 10:47:36 +02:00
Martin Diehl f0a33b452f unifying style 2021-10-28 07:05:14 +02:00
Martin Diehl b4ff89f304 improved test 2021-10-27 22:54:26 +02:00
Martin Diehl a00c6743c3 symbolic notation in numerics.yaml
- p_i: integration order
- p_s: shape function order

ensure working combination (p_s = p_i: full integration, p_s = p_i+1:
reduced integration)
2021-10-26 11:51:08 +02:00
Test User 37f7e59ef2 [skip ci] Merge branch 'master' into development 2021-10-22 15:35:52 +02:00
Test User 5811914637 Merge commit 'v3.0.0-alpha5-18-gc66c1d0af' 2021-10-22 15:35:32 +02:00
Test User c66c1d0af6 [skip ci] updated version information after successful test of v3.0.0-alpha5-17-gfc4266583 2021-10-22 15:35:32 +02:00
Test User 45532cd054 [skip ci] Merge branch 'master' into development 2021-10-22 13:55:35 +02:00
Test User fb1d3a62de [skip ci] updated version information after successful test of v3.0.0-alpha5-15-g5995a7877 2021-10-22 13:55:19 +02:00
Daniel Otto de Mentock fc42665838 Merge branch 'modern-complex-components' into 'development'
better readable

See merge request damask/DAMASK!444
2021-10-22 10:48:40 +00:00
Daniel Otto de Mentock 5995a78773 Merge branch 'Cmake-write-file-list' into 'development'
save list of files used for compilation

See merge request damask/DAMASK!443
2021-10-22 10:16:55 +00:00
Martin Diehl 256c48831e better readable 2021-10-19 23:08:21 +02:00
Test User b7436ec0f2 [skip ci] updated version information after successful test of v3.0.0-alpha5-9-gd1a9b7333 2021-10-19 15:44:17 +02:00
Franz Roters d1a9b7333c corrected number of boundary conditions 2021-10-19 14:07:46 +02:00
Martin Diehl 712d8d54c3 following official naming and website
The product is MSC Marc, Mentat is just a part of it
2021-10-19 10:08:11 +02:00
Martin Diehl 2e340d3489 forgotten rename 2021-10-15 22:19:58 +02:00
Martin Diehl d086162350 consistent style
there is no space before opening brackets in the CMake doc
2021-10-15 22:16:47 +02:00
Martin Diehl 519bb857d7 save list of files used for compilation
helpful for debugging and creating automated documentation
2021-10-15 22:15:08 +02:00
Martin Diehl c628c028dc SYNTAXONLY for mesh, avoid code duplication 2021-10-15 22:14:37 +02:00
Test User dead46ebf6 [skip ci] updated version information after successful test of v3.0.0-alpha5-7-gee537ff5e 2021-10-12 15:23:53 +02:00
Philip Eisenlohr ee537ff5e1 Merge branch 'crystal-polishing' into 'development'
nicer formatting

See merge request damask/DAMASK!442
2021-10-12 11:47:08 +00:00
Martin Diehl c693006dd8 nicer formatting 2021-10-11 21:57:13 +02:00
Test User d4546fa477 [skip ci] updated version information after successful test of v3.0.0-alpha5-4-g89b0047d9 2021-10-08 17:44:42 +02:00
Martin Diehl 89b0047d91 Test with PETSc 3.16.0 on GitHub 2021-10-08 16:05:36 +02:00
Martin Diehl a6ee7bd942 new location in PRIVATE 2021-10-07 16:20:25 +02:00
Martin Diehl 6ced308e98 avoid failed test after release 2021-10-07 14:47:38 +02:00
Martin Diehl 5005d11f6e updated instructins for packaging 3.0.0-alpha5 2021-10-07 13:51:55 +02:00
Martin Diehl 5b4b1c1933 enforce correct shape 2021-08-05 20:32:58 +02:00
Martin Diehl 00a053c4c8 Merge remote-tracking branch 'origin/development' into initial-eigenstrain 2021-08-05 16:25:27 +02:00
Martin Diehl 5503592790 needs to be in constituents 2021-08-05 16:24:59 +02:00
Martin Diehl aa215ff81e generalization, now used for F_i 2021-07-24 19:30:15 +02:00
Martin Diehl a98ae267a0 option to initialize F_i
start simulation with eigenstrain. Works only for moderate
eigentstrains, reaching the plastic limit is most likely an issue.
2021-07-24 18:47:45 +02:00
689 changed files with 226519 additions and 400151 deletions

4
.gitattributes vendored
View File

@ -14,10 +14,10 @@
# ignore files from MSC.Marc in language statistics # ignore files from MSC.Marc in language statistics
install/MarcMentat/** linguist-vendored install/MarcMentat/** linguist-vendored
src/Marc/include/* linguist-vendored src/Marc/include/* linguist-vendored
install/MarcMentat/apply_DAMASK_modifications.py linguist-vendored=false install/MarcMentat/MSC_modifications.py linguist-vendored=false
# ignore reference files for tests in language statistics # ignore reference files for tests in language statistics
python/tests/reference/** linguist-vendored python/tests/resources/** linguist-vendored
# ignore deprecated scripts # ignore deprecated scripts
processing/legacy/** linguist-vendored processing/legacy/** linguist-vendored

View File

@ -2,32 +2,32 @@ name: Grid and Mesh Solver
on: [push] on: [push]
env: env:
HOMEBREW_NO_ANALYTICS: "ON" # Make Homebrew installation a little quicker PETSC_VERSION: '3.20.5'
HOMEBREW_NO_AUTO_UPDATE: "ON" HOMEBREW_NO_ANALYTICS: 'ON' # Make Homebrew installation a little quicker
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON" HOMEBREW_NO_AUTO_UPDATE: 'ON'
HOMEBREW_NO_GITHUB_API: "ON" HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 'ON'
HOMEBREW_NO_INSTALL_CLEANUP: "ON" HOMEBREW_NO_GITHUB_API: 'ON'
HOMEBREW_NO_INSTALL_CLEANUP: 'ON'
jobs: jobs:
gcc: gcc_ubuntu:
runs-on: ${{ matrix.os }} runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] gcc_v: [9, 10, 11, 12, 13]
gcc_v: [9, 10, 11] # Version of GCC compilers fail-fast: false
env: env:
GCC_V: ${{ matrix.gcc_v }} GCC_V: ${{ matrix.gcc_v }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: GCC - Install (Linux) - name: GCC - Install
if: contains( matrix.os, 'ubuntu')
run: | run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update sudo apt-get update
@ -37,53 +37,38 @@ jobs:
--slave /usr/bin/g++ g++ /usr/bin/g++-${GCC_V} \ --slave /usr/bin/g++ g++ /usr/bin/g++-${GCC_V} \
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V} --slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
- name: GCC - Install (macOS)
if: contains( matrix.os, 'macos')
run: |
brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
brew link gcc@${GCC_V}
- name: PETSc - Cache download - name: PETSc - Cache download
id: petsc-download id: petsc-download
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: download path: download
key: petsc-3.15.4.tar.gz key: petsc-${{ env.PETSC_VERSION }}.tar.gz
- name: PETSc - Download - name: PETSc - Download
if: steps.petsc-download.outputs.cache-hit != 'true' if: steps.petsc-download.outputs.cache-hit != 'true'
run: | run: |
wget -q https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.4.tar.gz -P download wget -q https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${PETSC_VERSION}.tar.gz -P download
- name: PETSc - Prepare - name: PETSc - Prepare
run: | run: |
tar -xf download/petsc-3.15.4.tar.gz -C . tar -xf download/petsc-${PETSC_VERSION}.tar.gz -C .
export PETSC_DIR=${PWD}/petsc-3.15.4 export PETSC_DIR=${PWD}/petsc-${PETSC_VERSION}
export PETSC_ARCH=gcc${GCC_V} export PETSC_ARCH=gcc${GCC_V}
printenv >> $GITHUB_ENV printenv >> $GITHUB_ENV
- name: PETSc - Cache installation - name: PETSc - Cache Installation
id: petsc-install id: petsc-install
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: petsc-3.15.4 path: petsc-${{ env.PETSC_VERSION }}
key: petsc-3.15.4-${{ matrix.os }}-gcc${{ matrix.gcc_v }}-${{ hashFiles('**/petscversion.h') }} key: petsc-${{ env.PETSC_VERSION }}-gcc${{ matrix.gcc_v }}-${{ hashFiles('**/petscversion.h') }}
- name: PETSc - Install (Linux) - name: PETSc - Installation
if: contains( matrix.os, 'ubuntu')
run: | run: |
cd petsc-3.15.4 cd petsc-${PETSC_VERSION}
./configure --with-fc=gfortran --with-cc=gcc --with-cxx=g++ \ ./configure --with-fc=gfortran --with-cc=gcc --with-cxx=g++ \
--download-mpich --download-fftw --download-hdf5 --download-zlib \ --download-openmpi --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib \
--with-mpi-f90module-visibility=0 --with-mpi-f90module-visibility=1
make all
- name: PETSc - Install (macOS)
if: contains( matrix.os, 'macos')
run: |
cd petsc-3.15.4
./configure --with-fc=gfortran-${GCC_V} --with-cc=gcc-${GCC_V} --with-cxx=g++-${GCC_V} \
--download-openmpi --download-fftw --download-hdf5 --download-zlib
make all make all
- name: DAMASK - Compile - name: DAMASK - Compile
@ -97,28 +82,29 @@ jobs:
- name: DAMASK - Run - name: DAMASK - Run
run: | run: |
./bin/DAMASK_grid -l tensionX.yaml -g 20grains16x16x16.vti -w examples/grid ./bin/DAMASK_grid -l tensionX.yaml -g 20grains16x16x16.vti -m material.yaml -w examples/grid
./bin/DAMASK_mesh -l tensionZ_3g.yaml -g cube_3grains.msh -m material.yaml -w examples/mesh
intel: intel:
runs-on: [ubuntu-latest] runs-on: ubuntu-22.04
strategy: strategy:
matrix: fail-fast: false
intel_v: [classic, llvm] # Variant of Intel compilers
env:
INTEL_V: ${{ matrix.intel_v }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Intel - Install - name: Intel - Install
run: | run: |
wget -q https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB sudo apt-get remove -y \
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB '^aspnetcore-runtime.*' '^clang.*' '^dotnet.*' '^gfortran.*' '^mono.*' '^llvm.*' '^ruby.*' '^r-cran.*' '^r-base.*' '^dotnet.*' '^apache2.*'
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB sudo apt-get autoremove -y
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" \
| sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update sudo apt-get update
sudo apt-get install \ sudo apt-get install \
intel-basekit \ intel-basekit \
@ -129,44 +115,40 @@ jobs:
- name: PETSc - Cache download - name: PETSc - Cache download
id: petsc-download id: petsc-download
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: download path: download
key: petsc-3.15.4.tar.gz key: petsc-${{ env.PETSC_VERSION }}.tar.gz
- name: PETSc - Download - name: PETSc - Download
if: steps.petsc-download.outputs.cache-hit != 'true' if: steps.petsc-download.outputs.cache-hit != 'true'
run: | run: |
wget -q https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.4.tar.gz -P download wget -q https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${PETSC_VERSION}.tar.gz -P download
- name: PETSc - Prepare - name: PETSc - Prepare
run: | run: |
tar -xf download/petsc-3.15.4.tar.gz -C . tar -xf download/petsc-${PETSC_VERSION}.tar.gz -C .
export PETSC_DIR=${PWD}/petsc-3.15.4 sed -i "1800s/if not os.path.isfile(os.path.join(self.packageDir,self.configureName)):/if True:/g" \
export PETSC_ARCH=intel-${INTEL_V} ./petsc-${PETSC_VERSION}/config/BuildSystem/config/package.py
export PETSC_DIR=${PWD}/petsc-${PETSC_VERSION}
export PETSC_ARCH=intel
printenv >> $GITHUB_ENV printenv >> $GITHUB_ENV
- name: PETSc - Cache installation - name: PETSc - Cache installation
id: petsc-install id: petsc-install
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: petsc-3.15.4 path: petsc-${{ env.PETSC_VERSION }}
key: petsc-3.15.4-intel-${{ matrix.intel_v }}-${{ hashFiles('**/petscversion.h') }} key: petsc-${{ env.PETSC_VERSION }}-intel-${{ hashFiles('**/petscversion.h') }}
- name: PETSc - Install (classic) - name: PETSc - Install
if: contains( matrix.intel_v, 'classic')
run: | run: |
cd petsc-3.15.4 cd petsc-${PETSC_VERSION}
./configure --with-fc=mpiifort --with-cc=mpiicc --with-cxx=mpiicpc \ ./configure \
--download-fftw --download-hdf5 --download-zlib --with-fc=mpiifx \
make all --with-cc=mpiicx \
--with-cxx=mpiicpx \
- name: PETSc - Install (LLVM) --download-fftw --download-hdf5 --download-hdf5-fortran-bindings=1 --download-zlib
if: contains( matrix.intel_v, 'llvm')
run: |
cd petsc-3.15.4
./configure --with-fc=mpiifort --with-cc="mpiicc -cc=icx" --with-cxx="mpiicpc -cxx=icpx" \
--download-fftw --download-hdf5 --download-zlib
make all make all
- name: DAMASK - Compile - name: DAMASK - Compile
@ -180,4 +162,5 @@ jobs:
- name: DAMASK - Run - name: DAMASK - Run
run: | run: |
./bin/DAMASK_grid -l tensionX.yaml -g 20grains16x16x16.vti -w examples/grid ./bin/DAMASK_grid -l tensionX.yaml -g 20grains16x16x16.vti -m material.yaml -w examples/grid
./bin/DAMASK_mesh -l tensionZ_3g.yaml -g cube_3grains.msh -m material.yaml -w examples/mesh

View File

@ -9,33 +9,61 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: ['3.7', '3.8', '3.9'] #, '3.10'] python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install pytest pandas scipy h5py vtk matplotlib pyyaml pip install pytest pandas scipy h5py vtk matplotlib pyyaml build
- name: Install and run unit tests - name: Strip git hash (Unix)
if: runner.os != 'Windows'
run: | run: |
python -m pip install ./python --no-deps -vv --use-feature=in-tree-build export VERSION=$(cat VERSION)
echo ${VERSION%-*} > VERSION
- name: Strip git hash (Windows)
if: runner.os == 'Windows'
run: |
$VERSION = Get-Content VERSION -first 1
$VERSION,$_ = $VERSION -Split '-g',2,"simplematch"
$VERSION | Out-File VERSION
- name: Build and Install
run: |
cd python
python -m build
python -m pip install dist/*.whl
python -c 'import damask;print(damask.__version__)'
- name: Install and run unit tests (Unix)
if: runner.os != 'Windows'
run: |
python -m pip install ./python --no-deps -vv
COLUMNS=256 pytest python COLUMNS=256 pytest python
- name: Install and run unit tests (Windows)
if: runner.os == 'Windows'
run: |
python -m pip install ./python --no-deps -vv
pytest python -k 'not XDMF'
apt: apt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install pytest - name: Install pytest
run: | run: |
@ -43,12 +71,13 @@ jobs:
pip install pytest pip install pytest
- name: Install dependencies - name: Install dependencies
# https://github.com/actions/virtual-environments/issues/4790
run: > run: >
sudo apt-get update && sudo apt-get update &&
sudo apt-get install python3-pip python3-pytest python3-pandas python3-scipy sudo apt-get remove mysql* &&
python3-h5py python3-vtk7 python3-matplotlib python3-yaml -y sudo apt-get install python3-pandas python3-scipy python3-h5py python3-vtk9 python3-matplotlib python3-yaml -y
- name: Run unit tests - name: Run unit tests
run: | run: |
export PYTHONPATH=${PWD}/python export PYTHONPATH=${PWD}/python
COLUMNS=256 python -m pytest python COLUMNS=256 pytest python

1
.gitignore vendored
View File

@ -2,6 +2,5 @@
*~ *~
.DS_Store .DS_Store
bin bin
PRIVATE
build build
system_report.txt system_report.txt

View File

@ -3,277 +3,287 @@ stages:
- prepare - prepare
- python - python
- compile - compile
- setup
- fortran - fortran
- performance - statistics
- deploy - finalize
- backup
- update_master
- distclean
- clean
################################################################################################### ###################################################################################################
before_script: default:
- if [ $(awk "/$CI_PIPELINE_ID/{print NR}" $LOCAL_HOME/GitLabCI.queue)x == 'x' ]; before_script:
then echo $CI_PIPELINE_ID >> $LOCAL_HOME/GitLabCI.queue; - ${LOCAL_HOME}/bin/queue ${CI_JOB_ID}
fi - source env/DAMASK.sh
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $LOCAL_HOME/GitLabCI.queue) != 1 ]; - export PATH=${TESTROOT}/bin:${PATH}
do sleep 5m;
echo -e "Currently queued pipelines:\n$(cat $LOCAL_HOME/GitLabCI.queue)\n";
done
- source $DAMASKROOT/env/DAMASK.sh
- cd $DAMASKROOT/PRIVATE/testing
- echo Job start:" $(date)" - echo Job start:" $(date)"
after_script:
###################################################################################################
after_script:
- echo Job end:" $(date)" - echo Job end:" $(date)"
################################################################################################### ###################################################################################################
variables: variables:
# =============================================================================================== # ===============================================================================================
# GitLab Settings # GitLab Settings
# =============================================================================================== # ===============================================================================================
GIT_SUBMODULE_STRATEGY: none GIT_SUBMODULE_STRATEGY: normal
# =============================================================================================== # ===============================================================================================
# Shortcut names # Shortcut names
# =============================================================================================== # ===============================================================================================
DAMASKROOT: "$LOCAL_HOME/GitLabCI_Pipeline_$CI_PIPELINE_ID/DAMASK" TESTROOT: "$LOCAL_HOME/GitLabCI_Pipeline_$CI_PIPELINE_ID"
TESTROOT: "$LOCAL_HOME/GitLabCI_Pipeline_$CI_PIPELINE_ID/tests"
# =============================================================================================== # ===============================================================================================
# Names of module files to load # Names of module files to load
# =============================================================================================== # ===============================================================================================
# ++++++++++++ Compiler +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # ++++++++++++ Compiler +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
IntelCompiler19_1: "Compiler/Intel/19.1.2 Libraries/IMKL/2020" COMPILER_GNU: "Compiler/GNU/10"
GNUCompiler10: "Compiler/GNU/10" COMPILER_INTELLLVM: "Compiler/oneAPI/2022.0.1 Libraries/IMKL/2022.0.1"
# ------------ Defaults ---------------------------------------------- COMPILER_INTEL: "Compiler/Intel/2022.0.1 Libraries/IMKL/2022.0.1"
IntelCompiler: "$IntelCompiler19_1"
GNUCompiler: "$GNUCompiler10"
# ++++++++++++ MPI ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # ++++++++++++ MPI ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
IMPI2020Intel19_1: "MPI/Intel/19.1.2/IntelMPI/2019" MPI_GNU: "MPI/GNU/10/OpenMPI/4.1.2"
OMPI4_0GNU10: "MPI/GNU/10/OpenMPI/4.0.5" MPI_INTELLLVM: "MPI/oneAPI/2022.0.1/IntelMPI/2021.5.0"
# ------------ Defaults ---------------------------------------------- MPI_INTEL: "MPI/Intel/2022.0.1/IntelMPI/2021.5.0"
MPI_Intel: "$IMPI2020Intel19_1"
MPI_GNU: "$OMPI4_0GNU10"
# ++++++++++++ PETSc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # ++++++++++++ PETSc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PETSc3_14_2IMPI2020Intel19_1: "Libraries/PETSc/3.14.2/Intel-19.1.2-IntelMPI-2019" PETSC_GNU: "Libraries/PETSc/3.16.4/GNU-10-OpenMPI-4.1.2"
PETSc3_14_2OMPI4_0GNU10: "Libraries/PETSc/3.14.2/GNU-10-OpenMPI-4.0.5" PETSC_INTELLLVM: "Libraries/PETSc/3.16.3/oneAPI-2022.0.1-IntelMPI-2021.5.0"
# ------------ Defaults ---------------------------------------------- PETSC_INTEL: "Libraries/PETSc/3.16.5/Intel-2022.0.1-IntelMPI-2021.5.0"
PETSc_Intel: "$PETSc3_14_2IMPI2020Intel19_1" # ++++++++++++ MSC Marc +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PETSc_GNU: "$PETSc3_14_2OMPI4_0GNU10" MSC: "FEM/MSC/2023.4"
# ++++++++++++ commercial FEM ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ IntelMarc: "Compiler/Intel/19.1.2 Libraries/IMKL/2020"
MSC2021: "FEM/MSC/2021.2" HDF5Marc: "HDF5/1.12.2/Intel-19.1.2"
# ------------ Defaults ----------------------------------------------
MSC: "$MSC2021"
IntelMarc: "$IntelCompiler19_1"
HDF5Marc: "HDF5/1.12.0/Intel-19.1.2"
################################################################################################### ###################################################################################################
checkout: create_testroot:
stage: prepare stage: prepare
before_script: before_script:
- echo $CI_PIPELINE_ID >> $LOCAL_HOME/GitLabCI.queue - ${LOCAL_HOME}/bin/queue ${CI_JOB_ID}
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $LOCAL_HOME/GitLabCI.queue) != 1 ]; - echo Job start:" $(date)"
do sleep 5m;
echo -e "Currently queued pipelines:\n$(cat $LOCAL_HOME/GitLabCI.queue)\n";
done
script: script:
- mkdir -p $DAMASKROOT - mkdir -p ${TESTROOT}
- mkdir -p $TESTROOT
- cd $DAMASKROOT
- git clone -q git@git.damask.mpie.de:damask/DAMASK.git .
- git checkout $CI_COMMIT_SHA
- git submodule update --init
- source env/DAMASK.sh
except:
- master
- release
################################################################################################### ###################################################################################################
processing: setuptools:
stage: python stage: python
script: script:
- cd $DAMASKROOT/python - sed -i 's/-[[:digit:]]*-.*//' VERSION
- COLUMNS=256 pytest --basetemp=${TESTROOT}/python -v --cov --cov-report=term - cd python
- coverage report --fail-under=90 - python3 -m build --wheel --no-isolation
except:
- master pytest:
- release stage: python
script:
- cd python
- pytest --basetemp ${TESTROOT}/python -v --cov
- coverage report --fail-under=90 --show-missing
mypy:
stage: python
script:
- cd python
- mypy damask
################################################################################################### ###################################################################################################
compile_grid_Intel: unittest_GNU_DEBUG:
stage: compile stage: compile
script: script:
- module load $IntelCompiler $MPI_Intel $PETSc_Intel - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
- cd pytest - TEMPDIR=$(mktemp -d)
- COLUMNS=256 pytest -k 'compile and grid' --basetemp=${TESTROOT}/compile_grid_Intel - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
except: - cmake --build ${TEMPDIR} --target install
- master - cd ${TEMPDIR}
- release - ./bin/DAMASK_test
- find -name \*.gcda -not -path "**/test/*" | xargs gcov
compile_mesh_Intel: unittest_GNU_RELEASE:
stage: compile stage: compile
script: script:
- module load $IntelCompiler $MPI_Intel $PETSc_Intel - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
- cd pytest - TEMPDIR=$(mktemp -d)
- COLUMNS=256 pytest -k 'compile and mesh' --basetemp=${TESTROOT}/compile_mesh_Intel - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=RELEASE -DBUILDCMD_POST=-coverage
except: - cmake --build ${TEMPDIR} --target install
- master - cd ${TEMPDIR}
- release - ./bin/DAMASK_test
- find -name \*.gcda -not -path "**/test/*" | xargs gcov
compile_grid_GNU: unittest_GNU_PERFORMANCE:
stage: compile stage: compile
script: script:
- module load $GNUCompiler $MPI_GNU $PETSc_GNU - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
- cd pytest - TEMPDIR=$(mktemp -d)
- COLUMNS=256 pytest -k 'compile and grid' --basetemp=${TESTROOT}/compile_grid_GNU - cmake -B ${TEMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TEMPDIR} -DCMAKE_BUILD_TYPE=PERFORMANCE -DBUILDCMD_POST=-coverage
except: - cmake --build ${TEMPDIR} --target install
- master - cd ${TEMPDIR}
- release - ./bin/DAMASK_test
- find -name \*.gcda -not -path "**/test/*" | xargs gcov
compile_mesh_GNU:
grid_GNU:
stage: compile stage: compile
script: script:
- module load $GNUCompiler $MPI_GNU $PETSc_GNU - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
- cd pytest - cd PRIVATE/testing/pytest
- COLUMNS=256 pytest -k 'compile and mesh' --basetemp=${TESTROOT}/compile_mesh_GNU - pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_GNU
except:
- master
- release
compile_Marc: mesh_GNU:
stage: compile
script:
- module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU}
- cd PRIVATE/testing/pytest
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_GNU
grid_GNU-64bit:
stage: compile
script:
- module load Compiler/GNU/10 Libraries/PETSc/3.16.4/64bit
- cd PRIVATE/testing/pytest
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_GNU-64bit
mesh_GNU-64bit:
stage: compile
script:
- module load Compiler/GNU/10 Libraries/PETSc/3.16.4/64bit
- cd PRIVATE/testing/pytest
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_GNU-64bit
grid_IntelLLVM:
stage: compile
script:
- module load ${COMPILER_INTELLLVM} ${MPI_INTELLLVM} ${PETSC_INTELLLVM}
- cd PRIVATE/testing/pytest
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_IntelLLVM
mesh_IntelLLVM:
stage: compile
script:
- module load ${COMPILER_INTELLLVM} ${MPI_INTELLLVM} ${PETSC_INTELLLVM}
- cd PRIVATE/testing/pytest
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_IntelLLVM
grid_Intel:
stage: compile
script:
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
- cd PRIVATE/testing/pytest
- pytest -k 'compile and grid' --basetemp ${TESTROOT}/compile_grid_Intel
mesh_Intel:
stage: compile
script:
- module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
- cd PRIVATE/testing/pytest
- pytest -k 'compile and mesh' --basetemp ${TESTROOT}/compile_mesh_Intel
Marc_Intel:
stage: compile stage: compile
script: script:
- module load $IntelMarc $HDF5Marc $MSC - module load $IntelMarc $HDF5Marc $MSC
- cd pytest - cd PRIVATE/testing/pytest
- COLUMNS=256 pytest -k 'compile and Marc' --basetemp=${TESTROOT}/compile_Marc - pytest -k 'compile and Marc' --basetemp ${TESTROOT}/compile_Marc
except:
- master
- release
###################################################################################################
setup_grid: setup_grid:
stage: setup stage: compile
script: script:
- module load $IntelCompiler $MPI_Intel $PETSc_Intel - module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
- BUILD_DIR=$(mktemp -d) - cd $(mktemp -d)
- cd ${BUILD_DIR} - cmake -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=${TESTROOT} ${CI_PROJECT_DIR}
- cmake -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=${DAMASKROOT} ${DAMASKROOT}
- make -j2 all install - make -j2 all install
except:
- master
- release
setup_mesh: setup_mesh:
stage: setup stage: compile
script: script:
- module load $IntelCompiler $MPI_Intel $PETSc_Intel - module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
- BUILD_DIR=$(mktemp -d) - cd $(mktemp -d)
- cd ${BUILD_DIR} - cmake -DDAMASK_SOLVER=MESH -DCMAKE_INSTALL_PREFIX=${TESTROOT} ${CI_PROJECT_DIR}
- cmake -DDAMASK_SOLVER=MESH -DCMAKE_INSTALL_PREFIX=${DAMASKROOT} ${DAMASKROOT}
- make -j2 all install - make -j2 all install
except:
- master setup_Marc:
- release stage: compile
script:
- module load $IntelMarc $HDF5Marc $MSC
- cd $(mktemp -d)
- cp ${CI_PROJECT_DIR}/examples/Marc/* .
- python3 -c "import damask;damask.solver.Marc().submit_job('r-value','texture',True,'h')"
- mkdir -p ${TESTROOT}/src/Marc
- mv ${CI_PROJECT_DIR}/src/Marc/DAMASK_Marc.marc ${TESTROOT}/src/Marc
################################################################################################### ###################################################################################################
core: open-source:
stage: fortran stage: fortran
script: script:
- module load $IntelCompiler $MPI_Intel $PETSc_Intel - module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
- cd pytest - cd PRIVATE/testing/pytest
- COLUMNS=256 pytest -k 'not compile' --basetemp=${TESTROOT}/fortran -v - pytest -k 'not compile and not Marc' -m 'not cifail' --basetemp ${TESTROOT}/open-source -v
except:
- master Marc:
- release stage: fortran
script:
- cd PRIVATE/testing/pytest
- pytest -k 'not compile and Marc' -m 'not cifail' --damask-root=${TESTROOT} --basetemp ${TESTROOT}/Marc -v
# Needs closer look # Needs closer look
# Phenopowerlaw_singleSlip: # Phenopowerlaw_singleSlip:
# stage: fortran # stage: fortran
# script: Phenopowerlaw_singleSlip/test.py # script: Phenopowerlaw_singleSlip/test.py
# except:
# - master
# - release
################################################################################################### ###################################################################################################
SpectralRuntime: grid_performance:
stage: performance stage: statistics
before_script:
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID} --blocking
- source env/DAMASK.sh
- echo Job start:" $(date)"
script: script:
- module load $IntelCompiler $MPI_Intel $PETSc_Intel - module load ${COMPILER_INTEL} ${MPI_INTEL} ${PETSC_INTEL}
- cd $DAMASKROOT - cd $(mktemp -d)
- make clean grid OPTIMIZATION=AGGRESSIVE - cmake -DOPTIMIZATION=AGGRESSIVE -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=./ ${CI_PROJECT_DIR}
- cd $LOCAL_HOME/performance # location of old results - make -j2 all install
- git checkout . # undo any changes (i.e. run time data from non-development branch) - export PATH=${PWD}/bin:${PATH}
- cd $DAMASKROOT/PRIVATE/testing - cd $(mktemp -d)
- ./runtime.py --results ${LOCAL_HOME}/performance --damask_root ${DAMASKROOT} --tag ${CI_COMMIT_SHA} - git clone -q git@git.damask.mpie.de:damask/statistics.git .
except: - ./measure_performance.py --input_dir ${CI_PROJECT_DIR}/examples/grid --tag ${CI_COMMIT_SHA}
- master - >
- release if [ ${CI_COMMIT_BRANCH} == development ]; then
git add performance.txt
git commit -m ${CI_PIPELINE_ID}_${CI_COMMIT_SHA}
git push
fi
################################################################################################### ###################################################################################################
source_distribution: update_plots:
stage: deploy stage: finalize
script: script:
- cd $(mktemp -d) - cd $(mktemp -d)
- $DAMASKROOT/PRIVATE/releasing/deploy.sh $DAMASKROOT $CI_COMMIT_SHA - git clone -q git@git.damask.mpie.de:damask/statistics.git .
except: - ./plot_commithistory.py --color green -n 5 -N 100
- master - ./plot_commithistory.py --color green -n 5 -N 1000
- release - ./plot_commithistory.py --color green -n 5 -N 10000
- scp -r ./commits_*.html damask.mpie.de:~/
################################################################################################## - ssh damask.mpie.de "./update_statistics_commits.sh"
backup_runtime_measurement: - ./plot_performance.py --template=xgridoff
stage: backup - scp -r ./runtime.html ./memory.html damask.mpie.de:~/
script: - ssh damask.mpie.de "./update_statistics_performance.sh"
- cd $LOCAL_HOME/performance # location of new runtime results
- git commit -am"${CI_PIPELINE_ID}_${CI_COMMIT_SHA}"
- git push
only: only:
- development - development
################################################################################################## update_revision:
merge_into_master: stage: finalize
stage: update_master before_script:
- ${LOCAL_HOME}/bin/queue ${CI_JOB_ID}
- echo Job start:" $(date)"
script: script:
- cd $DAMASKROOT - cd $(mktemp -d)
- export TESTEDREV=$(git describe) # might be detached from development branch - git clone -q git@git.damask.mpie.de:damask/DAMASK.git .
- echo $TESTEDREV > python/damask/VERSION - git pull
- export VERSION=$(git describe ${CI_COMMIT_SHA})
- echo ${VERSION:1} > VERSION
- > - >
git diff-index --quiet HEAD || git diff-index --quiet HEAD ||
git commit python/damask/VERSION -m "[skip ci] updated version information after successful test of $TESTEDREV" git commit VERSION -m "[skip ci] updated version information after successful test of $VERSION"
- export UPDATEDREV=$(git describe) # tested state + 1 commit - if [ ${CI_COMMIT_SHA} == $(git rev-parse HEAD^) ]; then git push --atomic --no-verify origin HEAD:development HEAD:master; fi
- git checkout master
- git merge $UPDATEDREV -s recursive -X ours # conflicts occur only for inconsistent state
- git push origin master # master is now tested version and has updated VERSION file
- git checkout development
- git pull
- git merge master -s recursive -X ours -m "[skip ci] Merge branch 'master' into development" # only possible conflict is in VERSION file
- git push origin development # development is unchanged (as master is based on it) but has updated VERSION file
only: only:
- development - development
###################################################################################################
remove_data:
stage: distclean
before_script:
- echo "Removing data and lock of pipeline $CI_PIPELINE_ID"
script:
- rm -rf $LOCAL_HOME/GitLabCI_Pipeline_$CI_PIPELINE_ID
- sed -i "/$CI_PIPELINE_ID/d" $LOCAL_HOME/GitLabCI.queue # in case pipeline was manually (web GUI) restarted and releaseLock was performed already
except:
- master
- release
###################################################################################################
remove_lock:
stage: clean
before_script:
- echo "Removing lock of pipeline $CI_PIPELINE_ID"
when: always
script: sed -i "/$CI_PIPELINE_ID/d" $LOCAL_HOME/GitLabCI.queue
except:
- master
- release

View File

@ -1,117 +1,148 @@
cmake_minimum_required (VERSION 3.12.0) cmake_minimum_required(VERSION 3.12.0)
include (FindPkgConfig REQUIRED) include(FindPkgConfig REQUIRED)
if (DEFINED ENV{PETSC_DIR}) if(DEFINED ENV{PETSC_DIR})
message ("PETSC_DIR:\n$ENV{PETSC_DIR}\n") message("PETSC_DIR:\n$ENV{PETSC_DIR}\n")
else () else()
message (FATAL_ERROR "PETSc location (PETSC_DIR) is not defined") message(FATAL_ERROR "PETSc location (PETSC_DIR) is not defined")
endif () endif()
# Dummy project to determine compiler names and version # Dummy project to determine compiler names and version
project (Prerequisites LANGUAGES) project(Prerequisites LANGUAGES)
set(ENV{PKG_CONFIG_PATH} "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/pkgconfig") set(ENV{PKG_CONFIG_PATH} "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}")
pkg_check_modules (PETSC REQUIRED PETSc>=3.12.0 PETSc<3.17.0) pkg_check_modules(PETSC_MIN REQUIRED PETSc>=3.12.0 QUIET) #CMake does not support version range
pkg_get_variable (CMAKE_Fortran_COMPILER PETSc fcompiler) pkg_check_modules(PETSC REQUIRED PETSc<3.21.0)
pkg_get_variable (CMAKE_C_COMPILER PETSc ccompiler)
pkg_get_variable(CMAKE_Fortran_COMPILER PETSc fcompiler)
pkg_get_variable(CMAKE_C_COMPILER PETSc ccompiler)
# Solver determines name of project # Solver determines name of project
string(TOUPPER "${DAMASK_SOLVER}" DAMASK_SOLVER) string(TOUPPER "${DAMASK_SOLVER}" DAMASK_SOLVER_UPPER)
if (DAMASK_SOLVER STREQUAL "GRID") string(TOLOWER "${DAMASK_SOLVER}" DAMASK_SOLVER_LOWER)
project (damask-grid HOMEPAGE_URL https://damask.mpie.de LANGUAGES Fortran C) if("${DAMASK_SOLVER_UPPER}" MATCHES "^(GRID|MESH|TEST)$")
elseif (DAMASK_SOLVER STREQUAL "MESH") project("damask-${DAMASK_SOLVER_LOWER}" HOMEPAGE_URL https://damask.mpie.de LANGUAGES Fortran C)
project (damask-mesh HOMEPAGE_URL https://damask.mpie.de LANGUAGES Fortran C) else()
else () message(FATAL_ERROR "Invalid solver: DAMASK_SOLVER=${DAMASK_SOLVER}")
message (FATAL_ERROR "Invalid solver: DAMASK_SOLVER=${DAMASK_SOLVER}") endif()
endif () add_definitions("-D${DAMASK_SOLVER_UPPER}")
add_definitions ("-D${DAMASK_SOLVER}")
file (STRINGS ${PROJECT_SOURCE_DIR}/VERSION DAMASK_VERSION) set(CMAKE_Fortran_PREPROCESS "ON") # works only for CMake >= 3.18
message ("\nBuilding ${CMAKE_PROJECT_NAME} ${DAMASK_VERSION}\n") # EXPERIMENTAL: This might help to detect HDF5 and FFTW3 in the future if PETSc is not aware of them
set(ENV{PKG_CONFIG_PATH} "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/externalpackages:$ENV{PKG_CONFIG_PATH}")
pkg_check_modules(HDF5 hdf5)
pkg_check_modules(FFTW3 fftw3)
pkg_check_modules(fYAML libfyaml)
pkg_check_modules(zlib zlib)
add_definitions (-DPETSC) file(STRINGS ${PROJECT_SOURCE_DIR}/VERSION DAMASK_VERSION)
add_definitions (-DDAMASKVERSION="${DAMASK_VERSION}")
add_definitions (-DCMAKE_SYSTEM="${CMAKE_SYSTEM}")
if (CMAKE_BUILD_TYPE STREQUAL "") message("\nBuilding ${CMAKE_PROJECT_NAME} ${DAMASK_VERSION}\n")
set (CMAKE_BUILD_TYPE "RELEASE")
endif () add_definitions(-DPETSC)
add_definitions(-DDAMASKVERSION="${DAMASK_VERSION}")
add_definitions(-DCMAKE_SYSTEM="${CMAKE_SYSTEM}")
if(PETSC_VERSION VERSION_EQUAL 3.17.0)
add_definitions("-DCHKERRQ=PetscCall")
endif()
if(CMAKE_BUILD_TYPE STREQUAL "")
set(CMAKE_BUILD_TYPE "RELEASE")
endif()
string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE) string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE)
# Predefined sets for OPTIMIZATION/OPENMP based on BUILD_TYPE # Predefined sets for OPTIMIZATION/OPENMP based on BUILD_TYPE
if (CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR CMAKE_BUILD_TYPE STREQUAL "SYNTAXONLY") if(CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR CMAKE_BUILD_TYPE STREQUAL "SYNTAXONLY")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -DDEBUG") set(DEBUG_FLAGS "${DEBUG_FLAGS} -DDEBUG")
set (PARALLEL "OFF") set(PARALLEL "OFF")
set (OPTI "OFF") set(OPTI "DEBUG")
elseif (CMAKE_BUILD_TYPE STREQUAL "RELEASE") elseif(CMAKE_BUILD_TYPE STREQUAL "RELEASE")
set (PARALLEL "ON") set(PARALLEL "ON")
set (OPTI "DEFENSIVE") set(OPTI "DEFENSIVE")
elseif (CMAKE_BUILD_TYPE STREQUAL "DEBUGRELEASE") elseif(CMAKE_BUILD_TYPE STREQUAL "DEBUGRELEASE")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -DDEBUG") set(DEBUG_FLAGS "${DEBUG_FLAGS} -DDEBUG")
set (PARALLEL "ON") set(PARALLEL "ON")
set (OPTI "DEFENSIVE") set(OPTI "DEFENSIVE")
elseif (CMAKE_BUILD_TYPE STREQUAL "PERFORMANCE") elseif(CMAKE_BUILD_TYPE STREQUAL "PERFORMANCE")
set (PARALLEL "ON") set(PARALLEL "ON")
set (OPTI "AGGRESSIVE") set(OPTI "AGGRESSIVE")
else () else()
message (FATAL_ERROR "Invalid build type: CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") message(FATAL_ERROR "Invalid build type: CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
endif () endif()
# $OPTIMIZATION takes precedence over $BUILD_TYPE defaults # $OPTIMIZATION takes precedence over $BUILD_TYPE defaults
if (OPTIMIZATION STREQUAL "" OR NOT DEFINED OPTIMIZATION) if(OPTIMIZATION STREQUAL "" OR NOT DEFINED OPTIMIZATION)
set (OPTIMIZATION "${OPTI}") set(OPTIMIZATION "${OPTI}")
else () else()
set (OPTIMIZATION "${OPTIMIZATION}") set(OPTIMIZATION "${OPTIMIZATION}")
endif () endif()
# $OPENMP takes precedence over $BUILD_TYPE defaults # $OPENMP takes precedence over $BUILD_TYPE defaults
if (OPENMP STREQUAL "" OR NOT DEFINED OPENMP) if(OPENMP STREQUAL "" OR NOT DEFINED OPENMP)
set (OPENMP "${PARALLEL}") set(OPENMP "${PARALLEL}")
else () else()
set(OPENMP "${OPENMP}") set(OPENMP "${OPENMP}")
endif () endif()
# syntax check only (mainly for pre-receive hook) # syntax check only(mainly for pre-receive hook)
if (CMAKE_BUILD_TYPE STREQUAL "SYNTAXONLY") if(CMAKE_BUILD_TYPE STREQUAL "SYNTAXONLY")
set (BUILDCMD_POST "${BUILDCMD_POST} -fsyntax-only") set(BUILDCMD_POST "${BUILDCMD_POST} -fsyntax-only")
endif () endif()
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
set(Fortran_COMPILER_VERSION_MIN 9.1)
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
set(Fortran_COMPILER_VERSION_MIN 19)
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "IntelLLVM")
set(Fortran_COMPILER_VERSION_MIN 19)
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
set(Fortran_COMPILER_VERSION_MIN 19)
else()
message(FATAL_ERROR "Compiler '${CMAKE_Fortran_COMPILER_ID}' not supported")
endif()
if(CMAKE_Fortran_COMPILER_VERSION VERSION_LESS Fortran_COMPILER_VERSION_MIN)
message(FATAL_ERROR "Version '${CMAKE_Fortran_COMPILER_VERSION}' of '${CMAKE_Fortran_COMPILER_ID}' is not supported")
endif()
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
if (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel") include("Compiler-${CMAKE_Fortran_COMPILER_ID}")
include (Compiler-Intel)
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
include (Compiler-GNU)
else ()
message (FATAL_ERROR "Compiler type (CMAKE_Fortran_COMPILER_ID) not recognized")
endif ()
file (STRINGS "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/petsc/conf/petscvariables" PETSC_EXTERNAL_LIB REGEX "PETSC_WITH_EXTERNAL_LIB = .*$?") file(STRINGS "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/petsc/conf/petscvariables" PETSC_EXTERNAL_LIB REGEX "PETSC_EXTERNAL_LIB_BASIC = .*$?")
string (REGEX MATCHALL "-[lLW]([^\" ]+)" PETSC_EXTERNAL_LIB "${PETSC_EXTERNAL_LIB}") string(REPLACE "PETSC_EXTERNAL_LIB_BASIC = " "" PETSC_EXTERNAL_LIB "${PETSC_EXTERNAL_LIB}")
list (REMOVE_DUPLICATES PETSC_EXTERNAL_LIB) message("PETSC_EXTERNAL_LIB:\n${PETSC_EXTERNAL_LIB}\n")
string (REPLACE ";" " " PETSC_EXTERNAL_LIB "${PETSC_EXTERNAL_LIB}")
message ("PETSC_EXTERNAL_LIB:\n${PETSC_EXTERNAL_LIB}\n")
file (STRINGS "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/petsc/conf/petscvariables" PETSC_INCLUDES REGEX "PETSC_FC_INCLUDES = .*$?") file(STRINGS "$ENV{PETSC_DIR}/$ENV{PETSC_ARCH}/lib/petsc/conf/petscvariables" PETSC_INCLUDES REGEX "PETSC_FC_INCLUDES = .*$?")
string (REGEX MATCHALL "-I([^\" ]+)" PETSC_INCLUDES "${PETSC_INCLUDES}") string(REPLACE "PETSC_FC_INCLUDES = " "" PETSC_INCLUDES "${PETSC_INCLUDES}")
list (REMOVE_DUPLICATES PETSC_INCLUDES) message("PETSC_INCLUDES:\n${PETSC_INCLUDES}\n")
string (REPLACE ";" " " PETSC_INCLUDES "${PETSC_INCLUDES}")
message ("PETSC_INCLUDES:\n${PETSC_INCLUDES}\n")
set (CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE} "${BUILDCMD_PRE} ${OPENMP_FLAGS} ${STANDARD_CHECK} ${OPTIMIZATION_FLAGS} ${COMPILE_FLAGS} ${PRECISION_FLAGS}") set(CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE} "${BUILDCMD_PRE} ${OPENMP_FLAGS} ${STANDARD_CHECK} ${OPTIMIZATION_FLAGS} ${COMPILE_FLAGS}")
set (CMAKE_Fortran_LINK_EXECUTABLE "${BUILDCMD_PRE} ${CMAKE_Fortran_COMPILER} ${OPENMP_FLAGS} ${OPTIMIZATION_FLAGS} ${LINKER_FLAGS}") set(CMAKE_Fortran_LINK_EXECUTABLE "${BUILDCMD_PRE} ${CMAKE_Fortran_COMPILER} ${OPENMP_FLAGS} ${OPTIMIZATION_FLAGS} ${LINKER_FLAGS}")
if (CMAKE_BUILD_TYPE STREQUAL "DEBUG") if(CMAKE_BUILD_TYPE STREQUAL "DEBUG")
set (CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}} ${DEBUG_FLAGS}") set(CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}} ${DEBUG_FLAGS}")
set (CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} ${DEBUG_FLAGS}") set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} ${DEBUG_FLAGS}")
endif () endif()
set (CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}} ${PETSC_INCLUDES} ${BUILDCMD_POST}") set(CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}} ${PETSC_INCLUDES} ${BUILDCMD_POST}")
set (CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} <OBJECTS> -o <TARGET> <LINK_LIBRARIES> ${PETSC_EXTERNAL_LIB} -lz ${BUILDCMD_POST}")
message ("Fortran Compiler Flags:\n${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}}\n") set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} <OBJECTS> -o <TARGET> <LINK_LIBRARIES> -L${PETSC_LIBRARY_DIRS} -lpetsc ${PETSC_EXTERNAL_LIB} -lz")
message ("C Compiler Flags:\n${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}}\n")
message ("Fortran Linker Command:\n${CMAKE_Fortran_LINK_EXECUTABLE}\n") if(fYAML_FOUND STREQUAL "1")
set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} -L${fYAML_LIBRARY_DIRS}")
foreach(fYAML_LIBRARY ${fYAML_LIBRARIES})
set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} -L${fYAML_LIBRARY_DIRS} -l${fYAML_LIBRARY}")
endforeach()
add_definitions(-DFYAML)
pkg_get_variable(fYAML_INCLUDE_DIR libfyaml includedir) # fYAML_INCLUDE_DIRS and fYAML_CFLAGS are not working
set(CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}} -I${fYAML_INCLUDE_DIR}")
endif()
set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} ${BUILDCMD_POST}")
message("Fortran Compiler Flags:\n${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}}\n")
message("C Compiler Flags:\n${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}}\n")
message("Fortran Linker Command:\n${CMAKE_Fortran_LINK_EXECUTABLE}\n")
# location of code # location of code
add_subdirectory (src) add_subdirectory(src)

110
COPYING
View File

@ -1,23 +1,21 @@
GNU GENERAL PUBLIC LICENSE GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 29 June 2007 Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. of this license document, but changing it is not allowed.
Preamble Preamble
The GNU General Public License is a free, copyleft license for The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works. software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast, to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the software for all its users.
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you price. Our General Public Licenses are designed to make sure that you
@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things. free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you Developers that use our General Public Licenses protect your rights
these rights or asking you to surrender the rights. Therefore, you have with two steps: (1) assert copyright on the software, and (2) offer
certain responsibilities if you distribute copies of the software, or if you this License which gives you legal permission to copy, distribute
you modify it: responsibilities to respect the freedom of others. and/or modify the software.
For example, if you distribute copies of such a program, whether A secondary benefit of defending all users' freedom is that
gratis or for a fee, you must pass on to the recipients the same improvements made in alternate versions of the program, if they
freedoms that you received. You must make sure that they, too, receive receive widespread use, become available for other developers to
or can get the source code. And you must show them these terms so they incorporate. Many developers of free software are heartened and
know their rights. encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
Developers that use the GNU GPL protect your rights with two steps: The GNU Affero General Public License is designed specifically to
(1) assert copyright on the software, and (2) offer you this License ensure that, in such cases, the modified source code becomes available
giving you legal permission to copy, distribute and/or modify it. to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
For the developers' and authors' protection, the GPL clearly explains An older license, called the Affero General Public License and
that there is no warranty for this free software. For both users' and published by Affero, was designed to accomplish similar goals. This is
authors' sake, the GPL requires that modified versions be marked as a different license, not a version of the Affero GPL, but Affero has
changed, so that their problems will not be attributed erroneously to released a new version of the Affero GPL which permits relicensing under
authors of previous versions. this license.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and The precise terms and conditions for copying, distribution and
modification follow. modification follow.
@ -72,7 +60,7 @@ modification follow.
0. Definitions. 0. Definitions.
"This License" refers to version 3 of the GNU General Public License. "This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks. works, such as semiconductor masks.
@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program. License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License. 13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work, License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License, but the work with which it is combined will remain governed by version
section 13, concerning interaction through a network will apply to the 3 of the GNU General Public License.
combination as such.
14. Revised Versions of this License. 14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will the GNU Affero General Public License from time to time. Such new versions
be similar in spirit to the present version, but may differ in detail to will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns. address new problems or concerns.
Each version is given a distinguishing version number. If the Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation. by the Free Software Foundation.
If the Program specifies that a proxy can decide which future If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you public statement of acceptance of a version permanently authorizes you
to choose that version for the Program. to choose that version for the Program.

View File

@ -1,128 +0,0 @@
#!/usr/bin/env bash
#==================================================================================================
# Execute this script (type './DAMASK_prerequisites.sh')
# and send system_report.txt to damask@mpie.de for support
#==================================================================================================
OUTFILE="system_report.txt"
echo ===========================================
echo + Generating $OUTFILE
echo + Send to damask@mpie.de for support
echo + view with \'cat $OUTFILE\'
echo ===========================================
function firstLevel {
echo -e '\n\n=============================================================================================='
echo $1
echo ==============================================================================================
}
function secondLevel {
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo $1
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
}
function thirdLevel {
echo -e '\n----------------------------------------------------------------------------------------------'
echo $1
echo ----------------------------------------------------------------------------------------------
}
function getDetails {
if which $1 &> /dev/null; then
secondLevel $1:
echo + location:
which $1
echo + $1 $2:
$1 $2
else
echo $1 not found
fi
echo
}
# redirect STDOUT and STDERR to logfile
# https://stackoverflow.com/questions/11229385/redirect-all-output-in-a-bash-script-when-using-set-x^
exec > $OUTFILE 2>&1
# directory, file is not a symlink by definition
# https://stackoverflow.com/questions/59895/getting-the-source-directory-of-a-bash-script-from-within
DAMASK_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo System report for \'$(hostname)\' created on $(date '+%Y-%m-%d %H:%M:%S') by \'$(whoami)\'
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
firstLevel "DAMASK"
secondLevel "DAMASK_ROOT"
echo $DAMASK_ROOT
echo
secondLevel "Version"
cat VERSION
firstLevel "System"
uname -a
echo
echo PATH: $PATH
echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH
echo PYTHONPATH: $PYTHONPATH
echo SHELL: $SHELL
echo PETSC_ARCH: $PETSC_ARCH
echo PETSC_DIR: $PETSC_DIR
echo
echo $PETSC_DIR/$PETSC_ARCH/lib:
ls $PETSC_DIR/$PETSC_ARCH/lib
echo
echo $PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/petscvariables:
cat $PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/petscvariables
firstLevel "Python"
DEFAULT_PYTHON=python3
for EXECUTABLE in python python3; do
getDetails $EXECUTABLE '--version'
done
secondLevel "Details on $DEFAULT_PYTHON:"
echo $(ls -la $(which $DEFAULT_PYTHON))
for MODULE in numpy scipy pandas matplotlib yaml h5py;do
thirdLevel $module
$DEFAULT_PYTHON -c "import $MODULE; \
print('Version: {}'.format($MODULE.__version__)); \
print('Location: {}'.format($MODULE.__file__))"
done
thirdLevel vtk
$DEFAULT_PYTHON -c "import vtk; \
print('Version: {}'.format(vtk.vtkVersion.GetVTKVersion())); \
print('Location: {}'.format(vtk.__file__))"
firstLevel "GNU Compiler Collection"
for EXECUTABLE in gcc g++ gfortran ;do
getDetails $EXECUTABLE '--version'
done
firstLevel "Intel Compiler Suite (classic)"
for EXECUTABLE in icc icpc ifort ;do
getDetails $EXECUTABLE '--version'
done
firstLevel "Intel Compiler Suite (LLVM)"
for EXECUTABLE in icx icpx ifx ;do
getDetails $EXECUTABLE '--version'
done
firstLevel "MPI Wrappers"
for EXECUTABLE in mpicc mpiCC mpiicc mpic++ mpiicpc mpicxx mpifort mpiifort mpif90 mpif77; do
getDetails $EXECUTABLE '-show'
done
firstLevel "MPI Launchers"
for EXECUTABLE in mpirun mpiexec; do
getDetails $EXECUTABLE '--version'
done
firstLevel "CMake"
getDetails cmake --version

14
LICENSE
View File

@ -1,14 +1,14 @@
Copyright 2011-2021 Max-Planck-Institut für Eisenforschung GmbH Copyright 2011-2024 Max-Planck-Institut für Eisenforschung GmbH
DAMASK is free software: you can redistribute it and/or modify DAMASK is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU Affero General Public License as
the Free Software Foundation, either version 3 of the License, or published by the Free Software Foundation, either version 3 of the
(at your option) any later version. License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU Affero General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.

View File

@ -10,14 +10,17 @@ all: grid mesh
.PHONY: grid .PHONY: grid
grid: grid:
@cmake -B build/grid -DDAMASK_SOLVER=grid -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE=${BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP} @cmake -B build/grid -DDAMASK_SOLVER=grid -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE=${BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP}
@cmake --build build/grid --parallel @cmake --build build/grid --parallel --target install
@cmake --install build/grid
.PHONY: mesh .PHONY: mesh
mesh: mesh:
@cmake -B build/mesh -DDAMASK_SOLVER=mesh -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE=${BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP} @cmake -B build/mesh -DDAMASK_SOLVER=mesh -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE=${BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP}
@cmake --build build/mesh --parallel @cmake --build build/mesh --parallel --target install
@cmake --install build/mesh
.PHONY: test
test:
@cmake -B build/test -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${PWD} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DBUILDCMD_POST=${BUILDCMD_POST} -DBUILDCMD_PRE=${BUILDCMD_PRE} -DOPTIMIZATION=${OPTIMIZATION} -DOPENMP=${OPENMP}
@cmake --build build/test --parallel --target install
.PHONY: clean .PHONY: clean
clean: clean:

@ -1 +1 @@
Subproject commit 65c453c46d157f6448ab48829d059b1d641fde47 Subproject commit 63bc14bfd7dee73978615cfd939bad69c50cca3a

13
README
View File

@ -1,13 +0,0 @@
DAMASK - The Düsseldorf Advanced Material Simulation Kit
Visit damask.mpie.de for installation and usage instructions
CONTACT INFORMATION
Max-Planck-Institut für Eisenforschung GmbH
Max-Planck-Str. 1
40237 Düsseldorf
Germany
damask@mpie.de
https://damask.mpie.de
https://git.damask.mpie.de

44
README.md Normal file
View File

@ -0,0 +1,44 @@
# DAMASK - The Düsseldorf Advanced Material Simulation Kit
- Usage, installation, and support: https://damask.mpie.de
- Code development: https://git.damask.mpie.de
- General inquiries: damask@mpie.de
## DAMASK_EICMD
This is a DAMASK fork with implementation of the "Discrete Deformation Twinning Model" based on work done by Dr. Satyapriya Gupta and Dr. Philip Eisenlohr at MSU.
### The Discrete Deformation Twinning Model
The aim of this model is to accurately match experimental observations of deformation twinning while remaining computationally efficient compared to physics-based phase field models.
* We introduce stochasticity for the nucleation and growth events of twinning through random sampling, similar to Monte Carlo Methods.
* The ease or difficulty of a twinning event is controlled by adjusting the frequency of sampling.
* At each voxel, the state of twinning is treated as a discrete quantity, unlike the approach based on diffused volume fraction method.
* The kinetics of twinning occur in the form of a “jump,” rather than following a rate equation as in the “pseudo-slip” approach.
* The jumped state is evaluated using the correspondence matrix from Niewczas, Acta Materialia, 2010.
## Repository Locations
### [git.damask.mpie.de](https://git.damask.mpie.de)
All code development is centralized in the principal DAMASK code repository hosted at [git.damask.mpie.de](https://git.damask.mpie.de).
Access to this GitLab instance requires registration and is granted to anyone with an interest in actively supporting the development of DAMASK.
### [github.com](https://github.com)
GitHub hosts the publicly accessible, but read-only, mirror of the principal DAMASK code repository and replicates its three top-level branches from [git.damask.mpie.de](https://git.damask.mpie.de).
The site is primarily meant to provide a forum for [Discussions](https://github.com/eisenforschung/DAMASK/discussions) and [Issues](https://github.com/eisenforschung/DAMASK/issues).
## Contact Information
(
EICMD Team, IIT Dharwad
https://sites.google.com/view/eicmd/home
)
Max-Planck-Institut für Eisenforschung GmbH
Max-Planck-Str. 1
40237 Düsseldorf
Germany

View File

@ -1 +0,0 @@
python/damask/VERSION

1
VERSION Normal file
View File

@ -0,0 +1 @@
3.0.0-beta.45

View File

@ -1,38 +1,31 @@
################################################################################################### ###################################################################################################
# GNU Compiler # GNU Compiler
################################################################################################### ###################################################################################################
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8.0)
message (FATAL_ERROR "GCC Compiler version: ${CMAKE_Fortran_COMPILER_VERSION} not supported")
endif ()
if (OPENMP) if (OPENMP)
set (OPENMP_FLAGS "-fopenmp") set (OPENMP_FLAGS "-fopenmp")
endif () endif ()
if (OPTIMIZATION STREQUAL "OFF") if (OPTIMIZATION STREQUAL "DEBUG")
set (OPTIMIZATION_FLAGS "-Og")
elseif (OPTIMIZATION STREQUAL "OFF")
set (OPTIMIZATION_FLAGS "-O0") set (OPTIMIZATION_FLAGS "-O0")
elseif (OPTIMIZATION STREQUAL "DEFENSIVE") elseif (OPTIMIZATION STREQUAL "DEFENSIVE")
set (OPTIMIZATION_FLAGS "-O2 -mtune=generic") set (OPTIMIZATION_FLAGS "-O2 -mtune=native")
elseif (OPTIMIZATION STREQUAL "AGGRESSIVE") elseif (OPTIMIZATION STREQUAL "AGGRESSIVE")
set (OPTIMIZATION_FLAGS "-O3 -march=native -ffast-math -funroll-loops -ftree-vectorize") set (OPTIMIZATION_FLAGS "-O3 -march=native -funroll-loops -ftree-vectorize -flto")
endif () endif ()
set (STANDARD_CHECK "-std=f2018 -pedantic-errors" ) set (STANDARD_CHECK "-std=f2018 -pedantic-errors" )
set (LINKER_FLAGS "${LINKER_FLAGS} -Wl")
# options parsed directly to the linker
set (LINKER_FLAGS "${LINKER_FLAGS},-undefined,dynamic_lookup" )
# ensure to link against dynamic libraries
#------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------
# Fine tuning compilation options # Fine tuning compilation options
set (COMPILE_FLAGS "${COMPILE_FLAGS} -cpp") set (COMPILE_FLAGS "${COMPILE_FLAGS} -cpp") # preprocessor, needed for CMake < 3.18
# preprocessor
set (COMPILE_FLAGS "${COMPILE_FLAGS} -fPIC -fPIE") set (COMPILE_FLAGS "${COMPILE_FLAGS} -fPIE")
# position independent code # position independent code
set (COMPILE_FLAGS "${COMPILE_FLAGS} -ffree-line-length-132") set (COMPILE_FLAGS "${COMPILE_FLAGS} -ffree-line-length-none")
# restrict line length to the standard 132 characters (lattice.f90 require more characters) # PETSc macros are long, line length is enforced in pre-receive hook
set (COMPILE_FLAGS "${COMPILE_FLAGS} -fimplicit-none") set (COMPILE_FLAGS "${COMPILE_FLAGS} -fimplicit-none")
# assume "implicit none" even if not present in source # assume "implicit none" even if not present in source
@ -104,12 +97,11 @@ set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wsuggest-attribute=pure")
set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wsuggest-attribute=noreturn") set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wsuggest-attribute=noreturn")
set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wconversion-extra") set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wconversion-extra")
set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wimplicit-procedure") set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wimplicit-procedure")
set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wno-unused-parameter") set (COMPILE_FLAGS "${COMPILE_FLAGS} -Wunused-parameter")
set (COMPILE_FLAGS "${COMPILE_FLAGS} -ffpe-summary=all") set (COMPILE_FLAGS "${COMPILE_FLAGS} -ffpe-summary=all")
# print summary of floating point exeptions (invalid,zero,overflow,underflow,inexact,denormal) # print summary of floating point exeptions (invalid,zero,overflow,underflow,inexact,denormal)
# Additional options # Additional options
# -Warray-temporarieswarnings: because we have many temporary arrays (performance issue?)
# -Wimplicit-interface: no interfaces for lapack/MPI routines # -Wimplicit-interface: no interfaces for lapack/MPI routines
# -Wunsafe-loop-optimizations: warn if the loop cannot be optimized due to nontrivial assumptions # -Wunsafe-loop-optimizations: warn if the loop cannot be optimized due to nontrivial assumptions
@ -123,6 +115,9 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS} -ffpe-trap=invalid,zero,overflow")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -g") set (DEBUG_FLAGS "${DEBUG_FLAGS} -g")
# Generate symbolic debugging information in the object file # Generate symbolic debugging information in the object file
set (DEBUG_FLAGS "${DEBUG_FLAGS} -Og")
# Optimize debugging experience
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fbacktrace") set (DEBUG_FLAGS "${DEBUG_FLAGS} -fbacktrace")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fdump-core") set (DEBUG_FLAGS "${DEBUG_FLAGS} -fdump-core")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fcheck=all") set (DEBUG_FLAGS "${DEBUG_FLAGS} -fcheck=all")
@ -131,14 +126,10 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS} -fcheck=all")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all") set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all")
# Inserts a guard variable onto the stack frame for all functions # Inserts a guard variable onto the stack frame for all functions
set (DEBUG_FLAGS "${DEBUG_FLAGS} -finit-real=snan -finit-integer=-2147483648")
# "strange" values to simplify debugging
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fsanitize=undefined") set (DEBUG_FLAGS "${DEBUG_FLAGS} -fsanitize=undefined")
# detect undefined behavior # detect undefined behavior
# Additional options # Additional options
# -fsanitize=address,leak,thread # -fsanitize=address,leak,thread
#------------------------------------------------------------------------------------------------
# precision settings
set (PRECISION_FLAGS "${PRECISION_FLAGS} -fdefault-real-8")
# set precision to 8 bytes for standard real (=8 for pReal). Will set size of double to 16 bytes as long as -fdefault-double-8 is not set
set (PRECISION_FLAGS "${PRECISION_FLAGS} -fdefault-double-8")
# set precision to 8 bytes for double real, would be 16 bytes if -fdefault-real-8 is used

View File

@ -1,20 +1,16 @@
################################################################################################### ###################################################################################################
# Intel Compiler # Intel Compiler
################################################################################################### ###################################################################################################
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 18.0)
message (FATAL_ERROR "Intel Compiler version: ${CMAKE_Fortran_COMPILER_VERSION} not supported")
endif ()
if (OPENMP) if (OPENMP)
set (OPENMP_FLAGS "-qopenmp -parallel") set (OPENMP_FLAGS "-qopenmp -parallel")
endif () endif ()
if (OPTIMIZATION STREQUAL "OFF") if (OPTIMIZATION STREQUAL "OFF" OR OPTIMIZATION STREQUAL "DEBUG")
set (OPTIMIZATION_FLAGS "-O0 -no-ip") set (OPTIMIZATION_FLAGS "-O0 -no-ip")
elseif (OPTIMIZATION STREQUAL "DEFENSIVE") elseif (OPTIMIZATION STREQUAL "DEFENSIVE")
set (OPTIMIZATION_FLAGS "-O2") set (OPTIMIZATION_FLAGS "-O2")
elseif (OPTIMIZATION STREQUAL "AGGRESSIVE") elseif (OPTIMIZATION STREQUAL "AGGRESSIVE")
set (OPTIMIZATION_FLAGS "-ipo -O3 -no-prec-div -fp-model fast=2 -xHost") set (OPTIMIZATION_FLAGS "-ipo -O3 -fp-model fast=2 -xHost")
# -fast = -ipo, -O3, -no-prec-div, -static, -fp-model fast=2, and -xHost" # -fast = -ipo, -O3, -no-prec-div, -static, -fp-model fast=2, and -xHost"
endif () endif ()
@ -26,16 +22,15 @@ set (LINKER_FLAGS "${LINKER_FLAGS} -shared-intel")
#------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------
# Fine tuning compilation options # Fine tuning compilation options
set (COMPILE_FLAGS "${COMPILE_FLAGS} -fpp") set (COMPILE_FLAGS "${COMPILE_FLAGS} -fpp") # preprocessor, needed for CMake < 3.18
# preprocessor
set (COMPILE_FLAGS "${COMPILE_FLAGS} -ftz") set (COMPILE_FLAGS "${COMPILE_FLAGS} -no-ftz")
# flush underflow to zero, automatically set if -O[1,2,3] # disable flush underflow to zero, will be set if -O[1,2,3]
set (COMPILE_FLAGS "${COMPILE_FLAGS} -diag-disable") set (COMPILE_FLAGS "${COMPILE_FLAGS} -diag-disable")
# disables warnings ... # disables warnings ...
set (COMPILE_FLAGS "${COMPILE_FLAGS} 5268") set (COMPILE_FLAGS "${COMPILE_FLAGS} 5268")
# ... the text exceeds right hand column allowed on the line (we have only comments there) # ... the text exceeds right hand column allowed on the line (enforced by pre-receive hook)
set (COMPILE_FLAGS "${COMPILE_FLAGS},7624") set (COMPILE_FLAGS "${COMPILE_FLAGS},7624")
# ... about deprecated forall (has nice syntax and most likely a performance advantage) # ... about deprecated forall (has nice syntax and most likely a performance advantage)
@ -93,10 +88,8 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS},pointers")
# ... for certain disassociated or uninitialized pointers or unallocated allocatable objects. # ... for certain disassociated or uninitialized pointers or unallocated allocatable objects.
set (DEBUG_FLAGS "${DEBUG_FLAGS},uninit") set (DEBUG_FLAGS "${DEBUG_FLAGS},uninit")
# ... for uninitialized variables. # ... for uninitialized variables.
set (DEBUG_FLAGS "${DEBUG_FLAGS} -ftrapuv") set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0 -ftz")
# ... initializes stack local variables to an unusual value to aid error detection # ... capture all floating-point exceptions, need to overwrite -no-ftz
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0")
# ... capture all floating-point exceptions, sets -ftz automatically
# disable due to compiler bug https://community.intel.com/t5/Intel-Fortran-Compiler/false-positive-stand-f18-and-IEEE-SELECTED-REAL-KIND/m-p/1227336 # disable due to compiler bug https://community.intel.com/t5/Intel-Fortran-Compiler/false-positive-stand-f18-and-IEEE-SELECTED-REAL-KIND/m-p/1227336
#set (DEBUG_FLAGS "${DEBUG_FLAGS} -warn") #set (DEBUG_FLAGS "${DEBUG_FLAGS} -warn")
@ -106,16 +99,15 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0")
#set (DEBUG_FLAGS "${DEBUG_FLAGS},stderrors") #set (DEBUG_FLAGS "${DEBUG_FLAGS},stderrors")
# ... warnings about Fortran standard violations are changed to errors # ... warnings about Fortran standard violations are changed to errors
set (DEBUG_FLAGS "${DEBUG_FLAGS} -debug-parameters all") #set (DEBUG_FLAGS "${DEBUG_FLAGS} -debug-parameters all")
# generate debug information for parameters # generate debug information for parameters
# Disabled due to ICE when compiling phase_damage.f90 (not understandable, there is no parameter in there)
set (DEBUG_FLAGS "${DEBUG_FLAGS} -debug all")
# generate complete debugging information
# Additional options # Additional options
# -heap-arrays: Should not be done for OpenMP, but set "ulimit -s unlimited" on shell. Probably it helps also to unlimit other limits # -heap-arrays: Should not be done for OpenMP, but set "ulimit -s unlimited" on shell. Probably it helps also to unlimit other limits
# -check: Checks at runtime, where # -check: Checks at runtime, where
# arg_temp_created: will cause a lot of warnings because we create a bunch of temporary arrays (performance?) # arg_temp_created: will cause a lot of warnings because we create a bunch of temporary arrays (performance?)
# stack: # stack:
#------------------------------------------------------------------------------------------------
# precision settings
set (PRECISION_FLAGS "${PRECISION_FLAGS} -real-size 64")
# set precision for standard real to 32 | 64 | 128 (= 4 | 8 | 16 bytes, type pReal is always 8 bytes)

View File

@ -0,0 +1,117 @@
###################################################################################################
# IntelLLVM Compiler
###################################################################################################
if (OPENMP)
set (OPENMP_FLAGS "-fiopenmp")
endif ()
if (OPTIMIZATION STREQUAL "OFF" OR OPTIMIZATION STREQUAL "DEBUG")
set (OPTIMIZATION_FLAGS "-O0")
elseif (OPTIMIZATION STREQUAL "DEFENSIVE")
set (OPTIMIZATION_FLAGS "-O2")
elseif (OPTIMIZATION STREQUAL "AGGRESSIVE")
#set (OPTIMIZATION_FLAGS "-ipo -O3 -fp-model fast=2 -xHost") # ifx 2022.0 has problems with YAML types and IPO
set (OPTIMIZATION_FLAGS "-O3 -fp-model fast=2 -xHost")
endif ()
# -assume std_mod_proc_name (included in -standard-semantics) causes problems if other modules
# (PETSc, HDF5) are not compiled with this option (https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/62172)
set (STANDARD_CHECK "-stand f18 -assume nostd_mod_proc_name")
set (LINKER_FLAGS "${LINKER_FLAGS} -shared-intel")
# Link against shared Intel libraries instead of static ones
set (LINKER_FLAGS "${LINKER_FLAGS} -shared-intel -fc=ifx")
# enforce use of ifx for MPI wrapper
#------------------------------------------------------------------------------------------------
# Fine tuning compilation options
set (COMPILE_FLAGS "${COMPILE_FLAGS} -fpp") # preprocessor, needed for CMake < 3.18
set (COMPILE_FLAGS "${COMPILE_FLAGS} -no-ftz")
# disable flush underflow to zero, will be set if -O[1,2,3]
set (COMPILE_FLAGS "${COMPILE_FLAGS} -diag-disable")
# disables warnings ...
set (COMPILE_FLAGS "${COMPILE_FLAGS} 5268")
# ... the text exceeds right hand column allowed on the line (enforced by pre-receive hook)
set (COMPILE_FLAGS "${COMPILE_FLAGS},7624")
# ... about deprecated forall (has nice syntax and most likely a performance advantage)
set (COMPILE_FLAGS "${COMPILE_FLAGS} -warn")
# enables warnings ...
set (COMPILE_FLAGS "${COMPILE_FLAGS} declarations")
# ... any undeclared names (alternative name: -implicitnone)
set (COMPILE_FLAGS "${COMPILE_FLAGS},general")
# ... warning messages and informational messages are issued by the compiler
set (COMPILE_FLAGS "${COMPILE_FLAGS},usage")
# ... questionable programming practices
set (COMPILE_FLAGS "${COMPILE_FLAGS},interfaces")
# ... checks the interfaces of all SUBROUTINEs called and FUNCTIONs invoked in your compilation against an external set of interface blocks
set (COMPILE_FLAGS "${COMPILE_FLAGS},ignore_loc")
# ... %LOC is stripped from an actual argument
set (COMPILE_FLAGS "${COMPILE_FLAGS},alignments")
# ... data that is not naturally aligned
set (COMPILE_FLAGS "${COMPILE_FLAGS},unused")
# ... declared variables that are never used
# Additional options
# -warn: enables warnings, where
# truncated_source: Determines whether warnings occur when source exceeds the maximum column width in fixed-format files.
# (too many warnings because we have comments beyond character 132)
# uncalled: Determines whether warnings occur when a statement function is never called
# all:
# -name as_is: case sensitive Fortran!
#------------------------------------------------------------------------------------------------
# Runtime debugging
set (DEBUG_FLAGS "${DEBUG_FLAGS} -g")
# Generate symbolic debugging information in the object file
set (DEBUG_FLAGS "${DEBUG_FLAGS} -traceback")
# Generate extra information in the object file to provide source file traceback information when a severe error occurs at run time
set (DEBUG_FLAGS "${DEBUG_FLAGS} -gen-interfaces")
# Generate an interface block for each routine. http://software.intel.com/en-us/blogs/2012/01/05/doctor-fortran-gets-explicit-again/
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fp-stack-check")
# Generate extra code after every function call to ensure that the floating-point (FP) stack is in the expected state
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fp-model strict")
# Trap uninitalized variables
set (DEBUG_FLAGS "${DEBUG_FLAGS} -check" )
# Checks at runtime ...
set (DEBUG_FLAGS "${DEBUG_FLAGS} bounds")
# ... if an array index is too small (<1) or too large!
set (DEBUG_FLAGS "${DEBUG_FLAGS},format")
# ... for the data type of an item being formatted for output.
set (DEBUG_FLAGS "${DEBUG_FLAGS},output_conversion")
# ... for the fit of data items within a designated format descriptor field.
set (DEBUG_FLAGS "${DEBUG_FLAGS},pointers")
# ... for certain disassociated or uninitialized pointers or unallocated allocatable objects.
set (DEBUG_FLAGS "${DEBUG_FLAGS},uninit")
# ... for uninitialized variables.
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0 -ftz")
# ... capture all floating-point exceptions, need to overwrite -no-ftz
set (DEBUG_FLAGS "${DEBUG_FLAGS} -init=arrays,zero,minus_huge,snan")
# ... initialize logical to false, integer to -huge, float+complex to signaling NaN
# disable due to compiler bug https://community.intel.com/t5/Intel-Fortran-Compiler/false-positive-stand-f18-and-IEEE-SELECTED-REAL-KIND/m-p/1227336
#set (DEBUG_FLAGS "${DEBUG_FLAGS} -warn")
# enables warnings ...
#set (DEBUG_FLAGS "${DEBUG_FLAGS} errors")
# ... warnings are changed to errors
#set (DEBUG_FLAGS "${DEBUG_FLAGS},stderrors")
# ... warnings about Fortran standard violations are changed to errors
set (DEBUG_FLAGS "${DEBUG_FLAGS} -debug-parameters all")
# generate debug information for parameters
set (DEBUG_FLAGS "${DEBUG_FLAGS} -debug all")
# generate complete debugging information
# Additional options
# -heap-arrays: Should not be done for OpenMP, but set "ulimit -s unlimited" on shell. Probably it helps also to unlimit other limits
# -check: Checks at runtime, where
# arg_temp_created: will cause a lot of warnings because we create a bunch of temporary arrays (performance?)
# stack:

View File

@ -0,0 +1,12 @@
###################################################################################################
# LLVM Compiler
###################################################################################################
if (OPENMP)
set (OPENMP_FLAGS "-fopenmp")
endif ()
set (STANDARD_CHECK "-std=f2018 -pedantic" )
#------------------------------------------------------------------------------------------------
# Fine tuning compilation options
set (COMPILE_FLAGS "${COMPILE_FLAGS} -cpp") # preprocessor, needed for CMake < 3.18

1
examples/.gitignore vendored
View File

@ -1,4 +1,3 @@
*.C_ref
*.hdf5 *.hdf5
*.xdmf *.xdmf
*.sta *.sta

View File

@ -13,19 +13,414 @@ phase:
plastic: plastic:
type: phenopowerlaw type: phenopowerlaw
N_sl: [12] N_sl: [12]
a_sl: 2.25 a_sl: [2.25]
atol_xi: 1.0 atol_xi: 1.0
dot_gamma_0_sl: 0.001 dot_gamma_0_sl: [0.001]
h_0_sl-sl: 75.e+6 h_0_sl-sl: [75.e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4]
n_sl: 20 n_sl: [20]
output: [xi_sl] output: [xi_sl]
xi_0_sl: [31.e+6] xi_0_sl: [31.e+6]
xi_inf_sl: [63.e+6] xi_inf_sl: [63.e+6]
material: material:
- homogenization: SX - constituents:
constituents: - O: [0.31638628373524325, 0.4606971763404367, -0.25136671882289513, 0.7902357900300152]
- phase: Aluminum phase: Aluminum
v: 1.0 v: 1.0
O: [0.9330127018922194, 0.25, 0.06698729810778066, 0.25] homogenization: SX
- constituents:
- O: [0.17926942151539643, -0.8129164299504208, -0.5453207208299451, -0.09825814907531387]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.11156578191572807, -0.4904242197947781, -0.8051447086471791, 0.3142915192646224]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.050875167730042026, -0.4676541613791777, -0.3231762099798638, -0.8211385022980162]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5736388730744205, 0.030011807121272376, 0.1793738934298104, -0.7986630961094017]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3524596363123286, 0.8260984090345517, 0.4361208241824434, 0.05596650851705724]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.1475195192105493, -0.2681290123533707, -0.8885681859138441, -0.3417475722928759]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3878621882257487, -0.4133490094014299, -0.5962575110690821, 0.5684914246189594]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.44765430421636465, 0.1688301032261743, 0.5590033642770855, 0.6772128608407416]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3154783988579777, -0.893128078628195, 0.126738882437621, 0.294504449369408]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.01177697706652547, -0.8423157700616575, 0.4660610852557732, -0.2704672089677829]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.6023412506865766, 0.33897759335409144, -0.587639839755177, 0.42066450724741294]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.1457746940340264, 0.33010317541439926, 0.7204157567665017, 0.592269169857055]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.10885124011262147, 0.38223867611365064, -0.5398450127934588, -0.7420325896959369]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3329465044039982, 0.005520408719519113, 0.4218135102429913, 0.843320527954356]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.2773927866814888, 0.282254093261412, -0.9094550709020325, -0.12758268983226237]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.22508894523834683, 0.3481870269276267, -0.6119961977184769, -0.673469683793499]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.7972172843203117, -0.42474780085647684, -0.2632560619322889, 0.3387183979420616]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.1856727896017474, 0.5407410320424911, 0.8064864929236231, 0.15067942194898976]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.35572128347826554, -0.21063165012009927, 0.7164748021511587, -0.561925737380588]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.951689791582057, -0.18424932026485139, 0.24330606914616992, 0.03377699360630425]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.7518830912041409, -0.6350086418080308, 0.03666967302842633, -0.17346808660504054]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.45893176203555247, -0.10107069709110554, -0.8532524342056044, -0.22611199770616278]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.6863555826979106, 0.7132418012703317, -0.12068837363804946, -0.07507638436064179]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5031196491913161, 0.7534072343296819, -0.418000862383123, 0.0672565008327974]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5354367280219723, 0.1489275079865293, -0.5066200327507001, 0.6591390218047527]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.7481103019200436, -0.6384221488364733, 0.14256832672505068, -0.11145585785834745]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.02565565294273664, 0.5032076562445432, -0.10524431346049941, -0.8573490984734187]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.09677483527453862, 0.42211465960588607, 0.39550590793620377, -0.8099561236208737]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5682732488475628, -0.018709507415836685, 0.5596636589678777, 0.6029030252098423]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.520651625785196, 0.5331055583395244, -0.1753591314180096, 0.6434046341634921]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.7323990700263593, 0.5135195038892626, -0.28947480564659256, -0.34072519461542217]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.2379144266672964, 0.9451799147482833, -0.022386636015155, 0.2225544716870999]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.6929401940723844, 0.6921675787458842, 0.04806193711709397, 0.196030560302569]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.114679536930033, -0.02786128070118354, -0.2458076367959361, -0.9621075607955694]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5536359330028813, 0.3398797644491804, 0.6552731815916284, -0.3854686198548249]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.9501825140749718, -0.17348508997627773, -0.023693401768133945, 0.2578657329207251]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5269902873788485, -0.38600076480335854, 0.7335400729523406, -0.18762624537269798]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.16353281877366127, -0.8502634877258836, 0.2921682908502614, -0.4061363175656595]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.2506727462997232, 0.38078481221063915, -0.8812340677720474, -0.12487040822466101]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.53797656304294, 0.04453446570800863, -0.73466834243862, -0.41092618023082744]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5147765687773858, -0.012009003671292302, 0.8506194553313438, -0.10633630744205957]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.45770418863630163, 0.46122438992768267, -0.5413625109006552, 0.5335780820385708]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.12028049877433303, 0.5509971760365859, 0.5424247126754088, 0.6226637493007807]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.1208751835697386, -0.11646202949704858, 0.1842663733100575, -0.9684377570859003]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.24961872240151486, 0.29610154171987574, -0.885460753706652, 0.2568533123457741]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.4494732523235404, 0.8130366919200476, -0.22342614248113637, -0.2950015116798619]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3566054427707518, 0.6009999195769142, 0.6204413194609187, 0.35592727341468655]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.041340362458678996, -0.7766310224212297, -0.446615292586641, 0.4423460295656439]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3143906305984617, 0.637462215667549, -0.06250872515926072, -0.7006376483369167]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.15960096982054908, 0.0154505822997579, -0.6938445646590042, 0.7020459600568152]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.10937013835716297, 0.005361991476876583, 0.07892487169799395, -0.9908482661389645]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.5566919673747123, 0.12234937037008195, 0.03295758799282205, 0.8209984667611823]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.03242357741517866, -0.1003019572329824, -0.25727891603352054, -0.9605705535604615]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.07439180141351488, 0.222039714860086, 0.9710557663706901, 0.04706297382800665]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.386406745139845, -0.3485065110202708, 0.0213726326755233, -0.8536839284298527]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.9148730990764601, 0.0859699947503276, -0.2653710064737939, 0.29188114278237975]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.05351534255347124, -0.47484306303499174, -0.4424245873225889, -0.7588943655946909]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.1850990827256794, -0.7850365894615515, 0.5790701003651098, 0.11888524569444774]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.2293488176462691, 0.8155102586104775, 0.36252844203460916, -0.3884781418063178]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.6824605981608404, -0.07237666863890763, 0.6154543161215582, 0.38758887311431783]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.7240310183899645, -0.1492281437355668, -0.5793271457602446, 0.3433512832533411]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.4130306435878869, -0.08991141120131982, -0.8934593257803132, 0.15182904455126872]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.9217038188689652, -0.2551303946186847, 0.2760910380891145, 0.09562578475994342]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.49248590418849286, 0.7555385277692129, 0.01782522408264428, -0.4316264920256593]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.288763491302084, 0.26595000602129804, -0.8721581902166229, 0.29193549223478765]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.18741690177717063, -0.959586229086916, -0.01605960190298382, -0.2093114021302156]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.6141655879532604, 0.44351951295059505, 0.35530824864623534, 0.5475829806066271]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.2814752417920179, 0.7638077896809081, -0.5255180392616715, 0.24738661865884956]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.16603578951305883, -0.6913575628365758, -0.6767106315334661, -0.1911009107226411]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.7317089905438434, -0.4610621713555634, -0.01149547471101715, -0.5018879171322728]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.12911750380868442, -0.775968622433847, -0.5524437669202766, -0.27569412688569794]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.18347252569039887, -0.3000323311682173, -0.9120086722006003, -0.21108911483411225]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.2453327661435727, -0.041601186144862225, -0.967732952958631, 0.039675016391321906]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.9885220121542625, 0.08409037295425872, -0.06115390693360882, -0.1096049284004023]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.3506668690363713, 0.8300197131399097, 0.3314704911076744, -0.2796915019878287]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.43424700094705143, -0.6863040633023977, -0.3990882505417852, -0.4256111407642043]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.09516090822469872, -0.09694359326006573, 0.7244026181255996, -0.6758603318174947]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.6299976256081414, -0.6188326478138776, 0.4105304204739873, 0.22718697056217957]
phase: Aluminum
v: 1.0
homogenization: SX
- constituents:
- O: [0.1624065072613073, -0.6001819140771016, 0.5096769212668724, -0.5946723739521216]
phase: Aluminum
v: 1.0
homogenization: SX

View File

@ -1,5 +1,5 @@
title r-value title R-Wert
$....MARC input file produced by Marc Mentat 2019 (64bit) $....MARC input file produced by Marc Mentat 2021.2 (64bit)
$................................... $...................................
$....input file using extended precision $....input file using extended precision
extended extended
@ -7,11 +7,11 @@ $...................................
sizing 0 80 165 0 sizing 0 80 165 0
alloc 25 alloc 25
elements 7 elements 7
version 14 1 0 1 version 15 1 0 1
table 0 0 2 1 1 0 0 1 table 0 0 2 1 1 0 0 1
processor 1 1 1 0 processor 1 1 1 0
$no list $no list
large stra 2 1 0 0 0 0 0 large stra 2 1 0 0 0 0 0 0
all points all points
no echo 1 2 3 4 no echo 1 2 3 4
state vars 2 state vars 2
@ -269,8 +269,6 @@ coordinates
163 3.999999999999999+1 9.999999999999996+0-5.000000000000000-1 163 3.999999999999999+1 9.999999999999996+0-5.000000000000000-1
164 3.999999999999999+1 9.999999999999996+0 0.000000000000000+0 164 3.999999999999999+1 9.999999999999996+0 0.000000000000000+0
165 3.999999999999999+1 9.999999999999996+0 5.000000000000000-1 165 3.999999999999999+1 9.999999999999996+0 5.000000000000000-1
define element set DAMASK_elements
1 to 80
define node set unten_y_nodes define node set unten_y_nodes
2 5 8 11 14 2 5 8 11 14
define node set oben_y_nodes define node set oben_y_nodes
@ -283,6 +281,166 @@ define node set unten_z_nodes
7 to 9 7 to 9
define node set oben_z_nodes define node set oben_z_nodes
157 to 159 157 to 159
define element set material0_elements
1
define element set material1_elements
2
define element set material2_elements
3
define element set material3_elements
4
define element set material4_elements
5
define element set material5_elements
6
define element set material6_elements
7
define element set material7_elements
8
define element set material8_elements
9
define element set material9_elements
10
define element set material10_elements
11
define element set material11_elements
12
define element set material12_elements
13
define element set material13_elements
14
define element set material14_elements
15
define element set material15_elements
16
define element set material16_elements
17
define element set material17_elements
18
define element set material18_elements
19
define element set material19_elements
20
define element set material20_elements
21
define element set material21_elements
22
define element set material22_elements
23
define element set material23_elements
24
define element set material24_elements
25
define element set material25_elements
26
define element set material26_elements
27
define element set material27_elements
28
define element set material28_elements
29
define element set material29_elements
30
define element set material30_elements
31
define element set material31_elements
32
define element set material32_elements
33
define element set material33_elements
34
define element set material34_elements
35
define element set material35_elements
36
define element set material36_elements
37
define element set material37_elements
38
define element set material38_elements
39
define element set material39_elements
40
define element set material40_elements
41
define element set material41_elements
42
define element set material42_elements
43
define element set material43_elements
44
define element set material44_elements
45
define element set material45_elements
46
define element set material46_elements
47
define element set material47_elements
48
define element set material48_elements
49
define element set material49_elements
50
define element set material50_elements
51
define element set material51_elements
52
define element set material52_elements
53
define element set material53_elements
54
define element set material54_elements
55
define element set material55_elements
56
define element set material56_elements
57
define element set material57_elements
58
define element set material58_elements
59
define element set material59_elements
60
define element set material60_elements
61
define element set material61_elements
62
define element set material62_elements
63
define element set material63_elements
64
define element set material64_elements
65
define element set material65_elements
66
define element set material66_elements
67
define element set material67_elements
68
define element set material68_elements
69
define element set material69_elements
70
define element set material70_elements
71
define element set material71_elements
72
define element set material72_elements
73
define element set material73_elements
74
define element set material74_elements
75
define element set material75_elements
76
define element set material76_elements
77
define element set material77_elements
78
define element set material78_elements
79
define element set material79_elements
80
hypoelastic hypoelastic
1 0 1 0 1TKS 0 1 0 1 0 1TKS 0
@ -294,13 +452,13 @@ mat color
1 1 230 0 0 1 1 230 0 0
table weg_x table weg_x
1 1 0 0 2 1 1 0 0 2
1 2 2 0 0 2 0 0 2 0 0 2 1 2 2 0 0 2 0 0 2 0 0 2 0 0 0 0
0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0
2.000000000000000+2 1.600000000000000+1 2.000000000000000+2 1.600000000000000+1
geometry geometry
0 0 2 0 0 2
1 9 1 230 0 0 1 9 1 230 0 0
r-value-sample r-wert-probe
0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0 0.000000000000000+0
usdata 1 usdata 1
@ -344,20 +502,655 @@ unten_fest_nodes
oben_ziehen_nodes oben_ziehen_nodes
initial state initial state
2 6 1 0 0 0DAMASK 2 6 1 0 0 0material0
0.000000000000000+0 0.000000000000000+0
0 0
1 1
DAMASK_elements material0_elements
loadcase r-value initial state
5
DAMASK 2 6 1 0 0 0material1
1.000000000000000+0
0
1
material1_elements
initial state
2 6 1 0 0 0material2
2.000000000000000+0
0
1
material2_elements
initial state
2 6 1 0 0 0material3
3.000000000000000+0
0
1
material3_elements
initial state
2 6 1 0 0 0material4
4.000000000000000+0
0
1
material4_elements
initial state
2 6 1 0 0 0material5
5.000000000000000+0
0
1
material5_elements
initial state
2 6 1 0 0 0material6
6.000000000000000+0
0
1
material6_elements
initial state
2 6 1 0 0 0material7
7.000000000000000+0
0
1
material7_elements
initial state
2 6 1 0 0 0material8
8.000000000000000+0
0
1
material8_elements
initial state
2 6 1 0 0 0material9
9.000000000000000+0
0
1
material9_elements
initial state
2 6 1 0 0 0material10
10.000000000000000+0
0
1
material10_elements
initial state
2 6 1 0 0 0material11
11.000000000000000+0
0
1
material11_elements
initial state
2 6 1 0 0 0material12
12.000000000000000+0
0
1
material12_elements
initial state
2 6 1 0 0 0material13
13.000000000000000+0
0
1
material13_elements
initial state
2 6 1 0 0 0material14
14.000000000000000+0
0
1
material14_elements
initial state
2 6 1 0 0 0material15
15.000000000000000+0
0
1
material15_elements
initial state
2 6 1 0 0 0material16
16.000000000000000+0
0
1
material16_elements
initial state
2 6 1 0 0 0material17
17.000000000000000+0
0
1
material17_elements
initial state
2 6 1 0 0 0material18
18.000000000000000+0
0
1
material18_elements
initial state
2 6 1 0 0 0material19
19.000000000000000+0
0
1
material19_elements
initial state
2 6 1 0 0 0material20
20.000000000000000+0
0
1
material20_elements
initial state
2 6 1 0 0 0material21
21.000000000000000+0
0
1
material21_elements
initial state
2 6 1 0 0 0material22
22.000000000000000+0
0
1
material22_elements
initial state
2 6 1 0 0 0material23
23.000000000000000+0
0
1
material23_elements
initial state
2 6 1 0 0 0material24
24.000000000000000+0
0
1
material24_elements
initial state
2 6 1 0 0 0material25
25.000000000000000+0
0
1
material25_elements
initial state
2 6 1 0 0 0material26
26.000000000000000+0
0
1
material26_elements
initial state
2 6 1 0 0 0material27
27.000000000000000+0
0
1
material27_elements
initial state
2 6 1 0 0 0material28
28.000000000000000+0
0
1
material28_elements
initial state
2 6 1 0 0 0material29
29.000000000000000+0
0
1
material29_elements
initial state
2 6 1 0 0 0material30
30.000000000000000+0
0
1
material30_elements
initial state
2 6 1 0 0 0material31
31.000000000000000+0
0
1
material31_elements
initial state
2 6 1 0 0 0material32
32.000000000000000+0
0
1
material32_elements
initial state
2 6 1 0 0 0material33
33.000000000000000+0
0
1
material33_elements
initial state
2 6 1 0 0 0material34
34.000000000000000+0
0
1
material34_elements
initial state
2 6 1 0 0 0material35
35.000000000000000+0
0
1
material35_elements
initial state
2 6 1 0 0 0material36
36.000000000000000+0
0
1
material36_elements
initial state
2 6 1 0 0 0material37
37.000000000000000+0
0
1
material37_elements
initial state
2 6 1 0 0 0material38
38.000000000000000+0
0
1
material38_elements
initial state
2 6 1 0 0 0material39
39.000000000000000+0
0
1
material39_elements
initial state
2 6 1 0 0 0material40
40.000000000000000+0
0
1
material40_elements
initial state
2 6 1 0 0 0material41
41.000000000000000+0
0
1
material41_elements
initial state
2 6 1 0 0 0material42
42.000000000000000+0
0
1
material42_elements
initial state
2 6 1 0 0 0material43
43.000000000000000+0
0
1
material43_elements
initial state
2 6 1 0 0 0material44
44.000000000000000+0
0
1
material44_elements
initial state
2 6 1 0 0 0material45
45.000000000000000+0
0
1
material45_elements
initial state
2 6 1 0 0 0material46
46.000000000000000+0
0
1
material46_elements
initial state
2 6 1 0 0 0material47
47.000000000000000+0
0
1
material47_elements
initial state
2 6 1 0 0 0material48
48.000000000000000+0
0
1
material48_elements
initial state
2 6 1 0 0 0material49
49.000000000000000+0
0
1
material49_elements
initial state
2 6 1 0 0 0material50
50.000000000000000+0
0
1
material50_elements
initial state
2 6 1 0 0 0material51
51.000000000000000+0
0
1
material51_elements
initial state
2 6 1 0 0 0material52
52.000000000000000+0
0
1
material52_elements
initial state
2 6 1 0 0 0material53
53.000000000000000+0
0
1
material53_elements
initial state
2 6 1 0 0 0material54
54.000000000000000+0
0
1
material54_elements
initial state
2 6 1 0 0 0material55
55.000000000000000+0
0
1
material55_elements
initial state
2 6 1 0 0 0material56
56.000000000000000+0
0
1
material56_elements
initial state
2 6 1 0 0 0material57
57.000000000000000+0
0
1
material57_elements
initial state
2 6 1 0 0 0material58
58.000000000000000+0
0
1
material58_elements
initial state
2 6 1 0 0 0material59
59.000000000000000+0
0
1
material59_elements
initial state
2 6 1 0 0 0material60
60.000000000000000+0
0
1
material60_elements
initial state
2 6 1 0 0 0material61
61.000000000000000+0
0
1
material61_elements
initial state
2 6 1 0 0 0material62
62.000000000000000+0
0
1
material62_elements
initial state
2 6 1 0 0 0material63
63.000000000000000+0
0
1
material63_elements
initial state
2 6 1 0 0 0material64
64.000000000000000+0
0
1
material64_elements
initial state
2 6 1 0 0 0material65
65.000000000000000+0
0
1
material65_elements
initial state
2 6 1 0 0 0material66
66.000000000000000+0
0
1
material66_elements
initial state
2 6 1 0 0 0material67
67.000000000000000+0
0
1
material67_elements
initial state
2 6 1 0 0 0material68
68.000000000000000+0
0
1
material68_elements
initial state
2 6 1 0 0 0material69
69.000000000000000+0
0
1
material69_elements
initial state
2 6 1 0 0 0material70
70.000000000000000+0
0
1
material70_elements
initial state
2 6 1 0 0 0material71
71.000000000000000+0
0
1
material71_elements
initial state
2 6 1 0 0 0material72
72.000000000000000+0
0
1
material72_elements
initial state
2 6 1 0 0 0material73
73.000000000000000+0
0
1
material73_elements
initial state
2 6 1 0 0 0material74
74.000000000000000+0
0
1
material74_elements
initial state
2 6 1 0 0 0material75
75.000000000000000+0
0
1
material75_elements
initial state
2 6 1 0 0 0material76
76.000000000000000+0
0
1
material76_elements
initial state
2 6 1 0 0 0material77
77.000000000000000+0
0
1
material77_elements
initial state
2 6 1 0 0 0material78
78.000000000000000+0
0
1
material78_elements
initial state
2 6 1 0 0 0material79
79.000000000000000+0
0
1
material79_elements
loadcase R-Wert
83
material0
material1
material2
material3
material4
material5
material6
material7
material8
material9
material10
material11
material12
material13
material14
material15
material16
material17
material18
material19
material20
material21
material22
material23
material24
material25
material26
material27
material28
material29
material30
material31
material32
material33
material34
material35
material36
material37
material38
material39
material40
material41
material42
material43
material44
material45
material46
material47
material48
material49
material50
material51
material52
material53
material54
material55
material56
material57
material58
material59
material60
material61
material62
material63
material64
material65
material66
material67
material68
material69
material70
material71
material72
material73
material74
material75
material76
material77
material78
material79
unten_z unten_z
unten_y unten_y
unten_fest unten_fest
no print no print
post post
6 16 17 0 0 19 20 0 1 0 0 0 0 0 0 0 3 16 17 0 0 19 20 0 1 0 0 0 0 0 0 0
17 0
301 0
311 0
parameters parameters
1.000000000000000+0 1.000000000000000+9 1.000000000000000+2 1.000000000000000+6 2.500000000000000-1 5.000000000000000-1 1.500000000000000+0-5.000000000000000-1 1.000000000000000+0 1.000000000000000+9 1.000000000000000+2 1.000000000000000+6 2.500000000000000-1 5.000000000000000-1 1.500000000000000+0-5.000000000000000-1
8.625000000000000+0 2.000000000000000+1 1.000000000000000-4 1.000000000000000-6 1.000000000000000+0 1.000000000000000-4 8.625000000000000+0 2.000000000000000+1 1.000000000000000-4 1.000000000000000-6 1.000000000000000+0 1.000000000000000-4
@ -367,9 +1160,9 @@ parameters
3.000000000000000+0 4.000000000000000-1 3.000000000000000+0 4.000000000000000-1
end option end option
$................... $...................
$....start of loadcase Tensile $....start of loadcase Ziehen
title Tensile title Ziehen
loadcase Tensile loadcase Ziehen
6 6
unten_z unten_z
unten_y unten_y
@ -392,5 +1185,5 @@ auto load
time step time step
2.000000000000000+0 2.000000000000000+0
continue continue
$....end of loadcase Tensile $....end of loadcase Ziehen
$................... $...................

View File

@ -1,26 +0,0 @@
type: dislotungsten
N_sl: [12]
rho_mob_0: [1.0e+9]
rho_dip_0: [1.0]
nu_a: [9.1e+11]
b_sl: [2.72e-10]
Delta_H_kp,0: [2.61154e-19] # 1.63 eV, Delta_H0
tau_Peierls: [2.03e+9]
p_sl: [0.86]
q_sl: [1.69]
h: [2.566e-10]
w: [2.992e-09]
B: [8.3e-5]
D_a: 1.0 # d_edge
# climb (disabled)
D_0: 0.0
Q_cl: 0.0
V_cl: [0.0]
h_sl-sl: [0.009, 0.72, 0.009, 0.05, 0.05, 0.06, 0.09]
a_nonSchmid: [0.938, 0.71, 4.43]

View File

@ -1,31 +0,0 @@
type: dislotwin
output: [rho_mob, rho_dip, gamma_sl, Lambda_sl, tau_pass, f_tw, Lambda_tw, tau_hat_tw, f_tr]
D: 2.0e-5
N_sl: [12]
b_sl: [2.56e-10]
rho_mob_0: [1.0e+12]
rho_dip_0: [1.0]
v_0: [1.0e+4]
Q_sl: [3.7e-19]
p_sl: [1.0]
q_sl: [1.0]
tau_0: [1.5e+8]
i_sl: [10.0] # Adj. parameter controlling dislocation mean free path
D_0: 4.0e-5 # Vacancy diffusion prefactor / m^2/s
D_a: 1.0 # minimum dipole distance / b
Q_cl: 4.5e-19 # Activation energy for climb / J
h_sl-sl: [0.122, 0.122, 0.625, 0.07, 0.137, 0.137, 0.122] # Interaction coefficients (Kubin et al. 2008)
# twinning parameters
N_tw: [12]
b_tw: [1.47e-10] # Burgers vector length of twin system / b
t_tw: [5.0e-8] # Twin stack mean thickness / m
L_tw: 442.0 # Length of twin nuclei / b
x_c_tw: 1.0e-9 # critical distance for formation of twin nucleus / m
V_cs: 1.67e-29 # cross slip volume / m^3
p_tw: [10.0] # r-exponent in twin formation probability
i_tw: 1.0 # Adj. parameter controlling twin mean free path
h_sl-tw: [0.0, 1.0, 1.0] # dislocation-twin interaction coefficients
h_tw-tw: [0.0, 1.0] # twin-twin interaction coefficients
T_ref: 0.0
Gamma_sf: -0.0396 # stacking fault energy / J/m^2 at zero K; TWIP steel: -0.0526; Cu: -0.0396
Gamma_sf,T: 0.0002 # temperature dependence / J/(m^2 K) of stacking fault energy

View File

@ -1,17 +0,0 @@
# Tasan et.al. 2015 Acta Materalia
# Tasan et.al. 2015 International Journal of Plasticity
# Diehl et.al. 2015 Meccanica
Martensite:
lattice: cI
mechanical:
elastic: {C_11: 417.4e+9, C_12: 242.4e+9, C_44: 211.1e+9, type: Hooke}
plastic:
N_sl: [12, 12]
a_sl: 2.0
dot_gamma_0_sl: 0.001
h_0_sl-sl: 563.0e+9
h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4]
n_sl: 20
type: phenopowerlaw
xi_0_sl: [405.8e+6, 456.7e+6]
xi_inf_sl: [872.9e+6, 971.2e+6]

View File

@ -1,12 +0,0 @@
phase: [basic, extensive, selective]
CPFEM: [basic, extensive, selective]
# options for selective debugging
element: 1
integrationpoint: 1
constituent: 1
# solver-specific
mesh: [PETSc]
grid: [basic, rotation, PETSc]
Marc: [basic]

View File

@ -0,0 +1 @@
N_constituents: 8

View File

@ -1,4 +0,0 @@
[Parallel3]
mech isostrain
nconstituents 3
mapping sum # or 'parallel'

View File

@ -0,0 +1 @@
N_constituents: 2

View File

@ -0,0 +1,3 @@
# For single point calculations, requires N_constituents = 1
type: pass
output: ['T']

View File

@ -0,0 +1 @@
N_constituents: 1

View File

@ -1,10 +1,8 @@
8Grains: # For Relaxed Grain Cluster homogenization, requires N_constituents = 8
N_constituents: 8 type: RGC
mechanical: D_alpha: [4.0e-06, 4.0e-06, 2.0e-06]
type: RGC a_g: [0.0, 0.0, 0.0]
D_alpha: [4.0e-06, 4.0e-06, 2.0e-06] c_alpha: 2.0
a_g: [0.0, 0.0, 0.0] cluster_size: [2, 2, 2]
c_alpha: 2.0 output: [M, Delta_V, avg_dot_a, max_dot_a]
cluster_size: [2, 2, 2] xi_alpha: 10.0
output: [M, Delta_V, avg_dot_a, max_dot_a]
xi_alpha: 10.0

View File

@ -1,3 +0,0 @@
Taylor2:
N_constituents: 2
mechanical: {type: isostrain}

View File

@ -0,0 +1,3 @@
# For Taylor homogenization with N_constituents > 1
type: isostrain
output: ['F', 'P']

View File

@ -0,0 +1,3 @@
# For single point calculations, requires N_constituents = 1
type: pass
output: ['F', 'P']

View File

@ -0,0 +1,3 @@
# For homogenization with N_constituents > 1
type: isotemperature
output: ['T']

View File

@ -0,0 +1,3 @@
# For single point calculations, requires N_constituents = 1
type: pass
output: ['T']

View File

@ -1,83 +1,100 @@
# Available numerical parameters # Default values of all available numerical parameters
# Case sensitive keys # Please note that keys are case sensitive
solver:
grid:
N_staggered_iter_max: 10 # max number of field-level staggered iterations
N_cutback_max: 3 # maximum cutback level (0: 1, 1: 0.5, 2: 0.25, etc)
damage:
N_iter_max: 100 # maximum iteration number
eps_abs_phi: 1.0e-2 # absolute tolerance for damage evolution
eps_rel_phi: 1.0e-6 # relative tolerance for damage evolution
phi_min: 1.0e-6 # residual integrity
thermal:
N_iter_max: 100 # maximum iteration number
eps_abs_T: 1.0e-2 # absolute tolerance for thermal equilibrium
eps_rel_T: 1.0e-6 # relative tolerance for thermal equilibrium
mechanical:
N_iter_min: 1 # minimum iteration number
N_iter_max: 100 # maximum iteration number
eps_abs_div(P): 1.0e-4 # absolute tolerance for fulfillment of stress equilibrium
eps_rel_div(P): 5.0e-4 # relative tolerance for fulfillment of stress equilibrium
eps_abs_P: 1.0e3 # absolute tolerance for fulfillment of stress BC
eps_rel_P: 1.0e-3 # relative tolerance for fulfillment of stress BC
update_gamma: false # update Gamma-operator with current dPdF (not possible if FFT: memory_efficient == true)
PETSc_options: -snes_type ngmres -snes_ngmres_anderson # PETSc solver options
FFT:
memory_efficient: true # precalculate Gamma-operator (81 doubles per point)
divergence_correction: size+grid # use size-independent divergence criterion {none, size, size+grid}
derivative: continuous # approximation used for derivatives in Fourier space {continuous, central_difference, FWBW_difference}
FFTW_plan_mode: FFTW_MEASURE # planning-rigor flags, see manual at https://www.fftw.org/fftw3_doc/Planner-Flags.html
FFTW_timelimit: -1.0 # time limit of plan creation for FFTW, see manual on www.fftw.org. (-1.0: disable time limit)
alpha: 1.0 # polarization scheme parameter 0.0 < alpha < 2.0 (1.0: AL scheme, 2.0: accelerated scheme)
beta: 1.0 # polarization scheme parameter 0.0 < beta < 2.0 (1.0: AL scheme, 2.0: accelerated scheme)
eps_abs_curl(F): 1.0e-10 # absolute tolerance for fulfillment of strain compatibility
eps_rel_curl(F): 5.0e-4 # relative tolerance for fulfillment of strain compatibility
mesh:
N_cutback_max: 3 # maximum cut back level (0: 1, 1: 0.5, 2: 0.25, etc)
N_staggered_iter_max: 10 # max number of field level staggered iterations
p_s: 2 # order of displacement shape functions
p_i: 2 # order of quadrature rule required
bbarstabilization: false
mechanical:
N_iter_max: 250 # Maximum iteration number
eps_abs_div(P): 1.0e-10 # absolute tolerance for mechanical equilibrium
eps_rel_div(P): 1.0e-4 # relative tolerance for mechanical equilibrium
Marc:
unit_length: 1.0 # physical length of one computational length unit
homogenization: homogenization:
mech: mechanical:
RGC: RGC:
atol: 1.0e+4 # absolute tolerance of RGC residuum (in Pa) eps_abs_P: 1.0e+4 # absolute tolerance of RGC residuum (in Pa)
rtol: 1.0e-3 # relative ... eps_rel_P: 1.0e-3 # relative ...
amax: 1.0e+10 # absolute upper-limit of RGC residuum (in Pa) eps_abs_max: 1.0e+10 # absolute upper-limit of RGC residuum (in Pa)
rmax: 1.0e+2 # relative ... eps_rel_max: 1.0e+2 # relative ...
perturbpenalty: 1.0e-7 # perturbation for computing penalty tangent Delta_a: 1.0e-7 # perturbation for computing penalty tangent
relevantmismatch: 1.0e-5 # minimum threshold of mismatch relevant_mismatch: 1.0e-5 # minimum threshold of mismatch
viscositypower: 1.0e+0 # power (sensitivity rate) of numerical viscosity in RGC scheme viscosity_exponent: 1.0e+0 # power (sensitivity rate) of numerical viscosity in RGC scheme
viscositymodulus: 0.0e+0 # stress modulus of RGC numerical viscosity (zero = without numerical viscosity) viscosity_modulus: 0.0e+0 # stress modulus of RGC numerical viscosity (0: without numerical viscosity)
# suggestion: larger than the aTol_RGC but still far below the expected flow stress of material # suggestion: larger than the aTol_RGC but still far below the expected flow stress of material
refrelaxationrate: 1.0e-3 # reference rate of relaxation (about the same magnitude as straining rate, possibly a bit higher) dot_a_ref: 1.0e-3 # reference rate of relaxation (about the same magnitude as straining rate, possibly a bit higher)
maxrelaxationrate: 1.0e+0 # threshold of maximum relaxation vector increment (if exceed this then cutback) dot_a_max: 1.0e+0 # threshold of maximum relaxation vector increment (if exceed this then cutback)
maxvoldiscrepancy: 1.0e-5 # maximum allowable relative volume discrepancy Delta_V_max: 1.0e-5 # maximum allowable relative volume discrepancy
voldiscrepancymod: 1.0e+12 Delta_V_modulus: 1.0e+12
discrepancypower: 5.0 Delta_V_exponent: 5.0
generic:
subStepMin: 1.0e-3 # minimum (relative) size of sub-step allowed during cutback in homogenization
subStepSize: 0.25 # size of substep when cutback introduced in homogenization (value between 0 and 1)
stepIncrease: 1.5 # increase of next substep size when previous substep converged in homogenization (value higher than 1)
nMPstate: 10 # materialpoint state loop limit
grid: phase:
eps_div_atol: 1.0e-3 # absolute tolerance for fulfillment of stress equilibrium mechanical:
eps_div_rtol: 5.0e-4 # relative tolerance for fulfillment of stress equilibrium r_cutback_min: 1.0e-3 # minimum (relative) size of step allowed during cutback in phase state calculation
eps_curl_atol: 1.0e-12 # absolute tolerance for fulfillment of strain compatibility r_cutback: 0.25 # factor to decrease size of step when cutback introduced in phase state calculation (value between 0 and 1)
eps_curl_rtol: 5.0e-4 # relative tolerance for fulfillment of strain compatibility r_increase: 1.5 # factor to increase size of next step when previous step converged in phase state calculation
eps_stress_atol: 1.0e+3 # absolute tolerance for fulfillment of stress BC eps_rel_state: 1.0e-6 # relative tolerance in phase state loop (abs tol provided by constitutive law)
eps_stress_rtol: 0.01 # relative tolerance for fulfillment of stress BC N_iter_state_max: 10 # state loop limit
eps_damage_atol: 1.0e-2 # absolute tolerance for damage evolution
eps_damage_rtol: 1.0e-6 # relative tolerance for damage evolution
eps_thermal_atol: 1.0e-2 # absolute tolerance for thermal equilibrium
eps_thermal_rtol: 1.0e-6 # relative tolerance for thermal equilibrium
itmax: 250 # Maximum iteration number
itmin: 2 # Minimum iteration number
fftw_timelimit: -1.0 # timelimit of plan creation for FFTW, see manual on www.fftw.org, Default -1.0: disable timelimit
fftw_plan_mode: FFTW_PATIENT # reads the planing-rigor flag, see manual on www.fftw.org, Default FFTW_PATIENT: use patient planner flag
maxCutBack: 3 # maximum cut back level (0: 1, 1: 0.5, 2: 0.25, etc)
maxStaggeredIter: 10 # max number of field level staggered iterations
memory_efficient: 1 # Precalculate Gamma-operator (81 double per point)
update_gamma: false # Update Gamma-operator with current dPdF (not possible if memory_efficient=1)
divergence_correction: 2 # Use size-independent divergence criterion
derivative: continuous # Approximation used for derivatives in Fourier space
petsc_options: -snes_type ngmres -snes_ngmres_anderson # PetSc solver options
alpha: 1.0 # polarization scheme parameter 0.0 < alpha < 2.0. alpha = 1.0 ==> AL scheme, alpha = 2.0 ==> accelerated scheme
beta: 1.0 # polarization scheme parameter 0.0 < beta < 2.0. beta = 1.0 ==> AL scheme, beta = 2.0 ==> accelerated scheme
mesh: plastic:
maxCutBack: 3 # maximum cut back level (0: 1, 1: 0.5, 2: 0.25, etc) r_linesearch_Lp: 0.5 # factor to decrease the step if Lp calculation fails to converge
maxStaggeredIter: 10 # max number of field level staggered iterations eps_rel_Lp: 1.0e-6 # relative tolerance in Lp residuum
structorder: 2 # order of displacement shape functions (when mesh is defined) eps_abs_Lp: 1.0e-8 # absolute tolerance in Lp residuum
bbarstabilisation: false N_iter_Lp_max: 40 # stress loop limit for Lp
integrationorder: 2 # order of quadrature rule required (when mesh is defined) f_update_jacobi_Lp: 1 # frequency of Jacobian update of residuum in Lp
itmax: 250 # Maximum iteration number integrator_state: FPI # integration method (FPI = Fixed Point Iteration, Euler = Euler, AdaptiveEuler = Adaptive Euler, RK4 = classical 4th order Runge-Kutta, RKCK45 = 5th order Runge-Kutta Cash-Karp)
itmin: 2 # Minimum iteration number
eps_struct_atol: 1.0e-10 # absolute tolerance for mechanical equilibrium
eps_struct_rtol: 1.0e-4 # relative tolerance for mechanical equilibrium
crystallite: eigen:
subStepMin: 1.0e-3 # minimum (relative) size of sub-step allowed during cutback in crystallite r_linesearch_Li: 0.5 # factor to decrease the step if Li calculation fails to converge
subStepSize: 0.25 # size of substep when cutback introduced in crystallite (value between 0 and 1) eps_rel_Li: 1.0e-6 # relative tolerance in Li residuum
stepIncrease: 1.5 # increase of next substep size when previous substep converged in crystallite (value higher than 1) eps_abs_Li: 1.0e-8 # absolute tolerance in Li residuum
subStepSizeLp: 0.5 # size of first substep when cutback in Lp calculation N_iter_Li_max: 40 # stress loop limit for Li
subStepSizeLi: 0.5 # size of first substep when cutback in Li calculation f_update_jacobi_Li: 1 # frequency of updating the Jacobian of residuum in Li
nState: 10 # state loop limit
nStress: 40 # stress loop limit
rtol_State: 1.0e-6 # relative tolerance in crystallite state loop (abs tol provided by constitutive law)
rtol_Stress: 1.0e-6 # relative tolerance in crystallite stress loop (Lp residuum)
atol_Stress: 1.0e-8 # absolute tolerance in crystallite stress loop (Lp residuum!)
integrator: FPI # integration method (FPI = Fixed Point Iteration, Euler = Euler, AdaptiveEuler = Adaptive Euler, RK4 = classical 4th order Runge-Kutta, RKCK45 = 5th order Runge-Kutta Cash-Karp)
iJacoLpresiduum: 1 # frequency of Jacobian update of residuum in Lp
commercialFEM:
unitlength: 1 # physical length of one computational length unit
generic: generic:
random_seed: 0 # fixed seeding for pseudo-random number generator, Default 0: use random seed. random_seed: 0 # fixed seeding for pseudo-random number generator (0: use random seed)
residualStiffness: 1.0e-6 # non-zero residual damage.

View File

@ -0,0 +1,7 @@
references:
- H.M. Ledbetter,
physica status solidi (a) 85(1):89-96, 1984,
https://doi.org/10.1002/pssa.2210850111
lattice: cF
rho: 7937.0

View File

@ -0,0 +1,5 @@
references:
- https://en.wikipedia.org/wiki/Silver
lattice: cF
rho: 10490.0

View File

@ -1,4 +1,5 @@
references: references:
- https://en.wikipedia.org/wiki/Aluminium - https://en.wikipedia.org/wiki/Aluminium
lattice: cF lattice: cF
rho: 2700.0 rho: 2700.0

View File

@ -1,4 +1,5 @@
references: references:
- https://en.wikipedia.org/wiki/Gold - https://en.wikipedia.org/wiki/Gold
lattice: cF lattice: cF
rho: 19300.0 rho: 19300.0

View File

@ -1,4 +1,5 @@
references: references:
- https://en.wikipedia.org/wiki/Copper - https://en.wikipedia.org/wiki/Copper
lattice: cF lattice: cF
rho: 8960.0 rho: 8960.0

View File

@ -1,4 +1,5 @@
references: references:
- https://en.wikipedia.org/wiki/Iron - https://en.wikipedia.org/wiki/Iron
lattice: cI lattice: cI
rho: 7874.0 rho: 7874.0

View File

@ -2,6 +2,7 @@ references:
- D. Tromans, - D. Tromans,
International Journal of Recent Research and Applied Studies 6(4):462-483, 2011, International Journal of Recent Research and Applied Studies 6(4):462-483, 2011,
https://www.arpapress.com/Volumes/Vol6Issue4/IJRRAS_6_4_14.pdf https://www.arpapress.com/Volumes/Vol6Issue4/IJRRAS_6_4_14.pdf
lattice: hP lattice: hP
c/a: 1.62350 c/a: 1.62350
rho: 1740.0 rho: 1740.0

View File

@ -1,4 +1,5 @@
references: references:
- https://en.wikipedia.org/wiki/Nickel - https://en.wikipedia.org/wiki/Nickel
lattice: cF lattice: cF
rho: 8908.0 rho: 8908.0

View File

@ -0,0 +1,5 @@
references:
- https://en.wikipedia.org/wiki/Platinum
lattice: cF
rho: 21450.0

View File

@ -0,0 +1,9 @@
references:
- J.A. Rayne and B.S. Chandrasekhar,
Physical Review 120(5):1658-1663, 1960,
https://doi.org/10.1103/PhysRev.120.1658
- https://en.wikipedia.org/wiki/Tin
lattice: tI
c/a: 0.5458 # T=300K (c=31.83nm, a=5.832nm)
rho: 7265.0

View File

@ -1,6 +1,7 @@
references: references:
- https://www.totalmateria.com/page.aspx?ID=CheckArticle&site=ktn&NM=221 - https://www.totalmateria.com/page.aspx?ID=CheckArticle&site=ktn&NM=221
- https://en.wikipedia.org/wiki/Titanium - https://en.wikipedia.org/wiki/Titanium
lattice: hP lattice: hP
c/a: 1.587 c/a: 1.587
rho: 4506.0 rho: 4506.0

View File

@ -1,4 +1,5 @@
references: references:
- https://en.wikipedia.org/wiki/Tungsten - https://en.wikipedia.org/wiki/Tungsten
lattice: cF
lattice: cI
rho: 19300.0 rho: 19300.0

View File

@ -0,0 +1,2 @@
lattice: tI
c/a: 0.55

View File

@ -1,11 +1,13 @@
type: anisobrittle type: anisobrittle
N_cl: [3]
g_crit: [0.5e+7]
s_crit: [0.006666]
dot_o: 1.e-3
q: 20
output: [f_phi] output: [f_phi]
D_11: 1.0 N_cl: [3]
g_crit: [0.5e+7]
s_crit: [0.006666]
dot_o_0: 1.e-3
p: 20
l_c: 1.0
mu: 0.001 mu: 0.001

View File

@ -1,7 +1,7 @@
type: isobrittle type: isobrittle
W_crit: 1400000.0
output: [f_phi] output: [f_phi]
D_11: 1.0 G_crit: 1400000.0
l_c: 1.0
mu: 0.001 mu: 0.001

View File

@ -0,0 +1,2 @@
lattice: hP
c/a: 1.6333

View File

@ -0,0 +1,14 @@
type: thermalexpansion
references:
- R.H. Bogaard et al.,
Thermochimica Acta 218:373-393, 1993,
https://doi.org/10.1016/0040-6031(93)80437-F,
fit to Fig. 6 (T_min=100K, T_max=1200K)
Alpha_11: 14.9e-6
Alpha_11,T: 1.838e-08
Alpha_11,T^2: -2.028e-11
Alpha_11,T^3: 9.173e-15
T_ref: 293.15

View File

@ -1,5 +1,7 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://en.wikipedia.org/wiki/Thermal_expansion - https://en.wikipedia.org/wiki/Thermal_expansion,
A_11: 23.1e-6 293.15K
T_ref: 293.15
Alpha_11: 23.1e-6

View File

@ -1,5 +1,7 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://en.wikipedia.org/wiki/Thermal_expansion - https://en.wikipedia.org/wiki/Thermal_expansion,
A_11: 14.e-6 293.15K
T_ref: 293.15
Alpha_11: 14.e-6

View File

@ -1,8 +1,11 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://commons.wikimedia.org/wiki/File:Coefficient_dilatation_lineique_aciers.svg, - https://commons.wikimedia.org/wiki/File:Coefficient_dilatation_lineique_aciers.svg,
fitted from image description (Scilab code) fit to image description (Scilab code)
A_11: 12.70371e-6
A_11,T: 7.54e-9 Alpha_11: 10.2e-6
A_11,T^2: -1.0e-11 Alpha_11,T: 1.260e-08
T_ref: 273.0 Alpha_11,T^2: -1.000e-11
T_ref: 293.15

View File

@ -1,5 +1,7 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://en.wikipedia.org/wiki/Thermal_expansion - https://en.wikipedia.org/wiki/Thermal_expansion,
A_11: 17.e-6 293.15K
T_ref: 293.15
Alpha_11: 17.e-6

View File

@ -1,5 +1,7 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://en.wikipedia.org/wiki/Thermal_expansion - https://en.wikipedia.org/wiki/Thermal_expansion,
A_11: 11.8e-6 293.15K
T_ref: 293.15
Alpha_11: 11.8e-6

View File

@ -0,0 +1,16 @@
type: thermalexpansion
references:
- Z. Li and R.C. Bradt,
Journal of the American Ceramic Society 69(12):863-866, 1986,
https://doi.org/10.1111/j.1151-2916.1986.tb07385.x
Alpha_11: 3.27e-6
Alpha_11,T: 3.25e-9
Alpha_11,T^2: -1.36e-12
Alpha_33: 3.18e-6
Alpha_33,T: 2.48e-9
Alpha_33,T^2: -8.51e-13
T_ref: 273.15

View File

@ -0,0 +1,12 @@
type: thermalexpansion
references:
- Z. Li and R.C. Bradt,
Journal of Materials Science 21:4366-4368, 1986,
https://doi.org/10.1007/BF01106557
Alpha_11: 3.19e-6
Alpha_11,T: 3.60e-9
Alpha_11,T^2: -1.68e-12
T_ref: 273.15

View File

@ -0,0 +1,17 @@
type: thermalexpansion
references:
- V.T. Deshpande and D.B. Sirdeshmukh,
Acta Crystallographica 15:294-295, 1962,
https://doi.org/10.1107/S0365110X62000742,
fit to Tab. 2 (T_min=30ºC, T_max=210ºC)
Alpha_11: 16.4e-6
Alpha_11,T: 1.799e-08
Alpha_11,T^2: 1.734e-10
Alpha_33: 32.6e-6
Alpha_33,T: 1.387e-08
Alpha_33,T^2: 5.794e-10
T_ref: 293.15

View File

@ -1,5 +1,7 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://en.wikipedia.org/wiki/Thermal_expansion - https://en.wikipedia.org/wiki/Thermal_expansion,
A_11: 4.5e-6 293.15K
T_ref: 293.15
Alpha_11: 4.5e-6

View File

@ -1,7 +1,10 @@
type: thermalexpansion type: thermalexpansion
references: references:
- https://commons.wikimedia.org/wiki/File:Coefficient_dilatation_lineique_aciers.svg - https://commons.wikimedia.org/wiki/File:Coefficient_dilatation_lineique_aciers.svg,
fitted from image description (Scilab code) fit to Scilab code for generating the image (T_min=100ºC, T_max=400ºC)
A_11: 11.365e-6
A_11,T: 5.0e-9 Alpha_11: 10.1e-6
T_ref: 273.0 Alpha_11,T: 5.000e-09
T_ref: 293.15

View File

@ -0,0 +1,10 @@
type: Hooke
references:
- H.M. Ledbetter,
physica status solidi (a) 85(1):89-96, 1984,
https://doi.org/10.1002/pssa.2210850111
C_11: 204.6e+9
C_12: 137.7e+9
C_44: 126.2e+9

View File

@ -0,0 +1,25 @@
type: Hooke
references:
- J.R. Neighbours and G.A. Alers,
Physical Review 111:707-712, 1958,
https://doi.org/10.1103/PhysRev.111.707,
fit to Tab. I (T_min=100K, T_max=300K)
- Y.A. Chang and L. Himmel,
Journal of Applied Physics 37:3567-3572, 1966,
https://doi.org/10.1063/1.1708903,
fit to Tab. II (T_min=300K, T_max=800K)
C_11: 124.1e+9
C_11,T: -3.148e+7
C_11,T^2: -6.594e+3
C_12: 93.7e+9
C_12,T: -1.657e+7
C_12,T^2: -4.220e+3
C_44: 46.4e+9
C_44,T: -1.775e+7
C_44,T^2: -1.973e+3
T_ref: 293.15

View File

@ -1,8 +1,25 @@
type: Hooke type: Hooke
references: references:
- J. Vallin et al., - G.N. Kamm and G.A. Alers,
Journal of Applied Physics 35(6):1825-1826, 1964, Journal of Applied Physics 35:327-330, 1964,
https://doi.org/10.1063/1.1713749 https://doi.org/10.1063/1.1713309,
C_11: 107.3e+9 fit to Tab. I (T_min=100K, T_max=300K)
C_12: 60.8e+9 - D. Gerlich and E.S. Fisher,
C_44: 28.3e+9 Journal of Physics and Chemistry of Solids 30:1197-1205, 1969,
https://doi.org/10.1016/0022-3697(69)90377-1,
fit to Tab. 2 (T_min=293K, T_max=900K)
C_11: 106.9e+9
C_11,T: -3.691e+7
C_11,T^2: -9.790e+3
C_12: 60.5e+9
C_12,T: -8.412e+6
C_12,T^2: -3.972e+3
C_44: 28.4e+9
C_44,T: -1.413e+7
C_44,T^2: -3.408e+3
T_ref: 293.15

View File

@ -1,9 +1,25 @@
type: Hooke type: Hooke
references: references:
- J.P. Hirth and J. Lothe, - J.R. Neighbours and G.A. Alers,
Theory of Dislocations, 1982, Physical Review 111:707-712, 1958,
John Wiley & Sons, https://doi.org/10.1103/PhysRev.111.707,
page 837 fit to Tab. II (T_min=100K, T_max=300K)
C_11: 186.e+9 - Y.A. Chang and L. Himmel,
C_12: 157.e+9 Journal of Applied Physics 37:3567-3572, 1966,
C_44: 42.e+9 https://doi.org/10.1063/1.1708903,
fit to Tab. III (T_min=300K, T_max=800K)
C_11: 192.7e+9
C_11,T: -3.472e+7
C_11,T^2: 1.102e+3
C_12: 163.2e+9
C_12,T: -2.607e+7
C_12,T^2: 2.397e+3
C_44: 42.2e+9
C_44,T: -1.172e+7
C_44,T^2: -3.078e+3
T_ref: 293.15

View File

@ -1,7 +1,25 @@
type: Hooke type: Hooke
references: references:
- https://www.mit.edu/~6.777/matprops/copper.htm, - W.C. Overton Jr. and J. Gaffney,
fixed typo Physical Review 98(4):969-977, 1955,
C_11: 168.3e+9 https://doi.org/10.1103/PhysRev.98.969,
C_12: 122.1e+9 fit to Tab. I (T_min=100K, T_max=300K)
C_44: 75.7e+9 - Y.A. Chang and L. Himmel,
Journal of Applied Physics 37:3567-3572, 1966,
https://doi.org/10.1063/1.1708903,
fit to Tab. II (T_min=300K, T_max=800K)
C_11: 168.9e+9
C_11,T: -3.332e+7
C_11,T^2: -1.074e+4
C_12: 121.8e+9
C_12,T: -1.402e+7
C_12,T^2: -9.003e+3
C_44: 75.8e+9
C_44,T: -2.555e+7
C_44,T^2: -2.188e+3
T_ref: 293.15

View File

@ -1,9 +1,21 @@
type: Hooke type: Hooke
references: references:
- J.P. Hirth and J. Lothe, - D.J. Dever,
Theory of Dislocations, 1982, Journal of Applied Physics 43(8):3293-3301, 1972,
John Wiley & Sons, https://doi.org/10.1063/1.1661710,
page 837 fit to Tab. II (T_min=25ºC, T_max=880ºC)
C_11: 242.e9
C_12: 146.5e+9 C_11: 232.2e+9
C_44: 112.e9 C_11,T: -4.683e+7
C_11,T^2: -5.988e+4
C_12: 136.4e+9
C_12,T: -1.970e+7
C_12,T^2: 3.760e+3
C_44: 117.0e+9
C_44,T: -2.015e+7
C_44,T^2: -7.485e+2
T_ref: 293.15

View File

@ -0,0 +1,18 @@
type: Hooke
references:
- Z. Wang et al.,
Materials Science and Engineering:A 674:406-412, 2016,
https://doi.org/10.1016/j.msea.2016.08.010,
fit to Tab. 2 (last 3 rows)
C_11: 243.9e+9
C_11,T: -5.410e+7
C_12: 157.0e+9
C_12,T: -9.352e+6
C_44: 117.9e+9
C_44,T: -2.798e+7
T_ref: 293.15

View File

@ -1,10 +1,29 @@
type: Hooke type: Hooke
references: references:
- D. Tromans, - L.J. Slutsky and C.W. Garland,
International Journal of Recent Research and Applied Studies 6(4):462-483, 2011, Physical Review 107(4):972-976, 1957,
https://www.arpapress.com/Volumes/Vol6Issue4/IJRRAS_6_4_14.pdf https://doi.org/10.1103/PhysRev.107.972,
C_11: 59.3e+9 fit to Tab. I (T_min=100K, T_max=300K)
C_33: 61.5e+9
C_44: 16.4e+9 C_11: 59.5e+9
C_12: 25.7e+9 C_11,T: -1.930e+7
C_13: 21.4e+9 C_11,T^2: -1.215e+4
C_12: 25.6e+9
C_12,T: -2.216e+6
C_12,T^2: -4.138e+3
C_44: 16.5e+9
C_44,T: -1.006e+7
C_44,T^2: -7.692e+3
C_33: 61.7e+9
C_33,T: -2.175e+7
C_33,T^2: -5.624e+3
C_13: 21.5e+9
C_13,T: -1.921e+6
C_13,T^2: -4.283e+3
T_ref: 293.15

View File

@ -1,9 +1,21 @@
type: Hooke type: Hooke
references: references:
- J.P. Hirth and J. Lothe, - G.A. Alers,
Theory of Dislocations, 1982, Journal of Physics and Chemistry of Solids 13(1-2):40-55, 1960,
John Wiley & Sons, https://doi.org/10.1016/0022-3697(60)90125-6,
page 837 fit to Tab. 2 (T_min=100K, T_max=700K)
C_11: 246.5e+9
C_12: 147.3e+9 C_11: 251.0e+9
C_44: 124.7e+9 C_11,T: -4.967e+7
C_11,T^2: -3.327e+4
C_12: 150.0e+9
C_12,T: -3.714e+6
C_12,T^2: -7.414e+3
C_44: 123.7e+9
C_44,T: -3.621e+7
C_44,T^2: -8.017e+3
T_ref: 293.15

View File

@ -0,0 +1,26 @@
type: Hooke
references:
- S.M. Collard and R.B. McLellan,
Acta Metallurgica et Materialia 40:699-702, 1992,
https://doi.org/10.1016/0956-7151(92)90011-3
C_11: 373.42e+9
C_11,T: -8.929e+7
C_11,T^2: -1.298e+5
C_11,T^3: 1.2807e+2
C_11,T^4: -4.6114e-2
C_12: 241.74e+9
C_12,T: 5.705e+7
C_12,T^2: 0.4511e+5
C_12,T^3: -0.4860e+2
C_12,T^4: 1.446e-2
C_44: 77.65e+9
C_44,T: -1.342e+7
C_44,T^2: -0.1493e+5
C_44,T^3: 0.1260e+2
C_44,T^4: -0.6470e-2
T_ref: 0

View File

@ -0,0 +1,11 @@
type: Hooke
references:
- S.A. Kim and W.L. Johnson,
Materials Science & Engineering A 452-453:633-639, 2007,
https://doi.org/10.1016/j.msea.2006.11.147,
Tab. 1 (averaged for bcc)
C_11: 267.9e+9
C_12: 110.8e+9
C_44: 78.9e+9

View File

@ -0,0 +1,27 @@
type: Hooke
references:
- J.A. Rayne and B.S. Chandrasekhar,
Physical Review 120(5):1658-1663, 1960,
https://doi.org/10.1103/PhysRev.120.1658,
fit to Tab. IV (T_min=77K, T_max=300K)
C_11: 72.6e+9
C_11,T: -4.135e+7
C_12: 59.4e+9
C_12,T: 6.726e+6
C_44: 22.2e+9
C_44,T: -1.870e+7
C_33: 88.8e+9
C_33,T: -5.381e+7
C_13: 35.8e+9
C_13,T: -2.870e+6
C_66: 24.1e+9
C_66,T: -1.709e+7
T_ref: 293.15

View File

@ -1,4 +1,5 @@
type: Hooke type: Hooke
references: references:
- D. Music et al., - D. Music et al.,
Applied Physics Letters 99(19):191904, 2007, Applied Physics Letters 99(19):191904, 2007,
@ -6,6 +7,7 @@ references:
- S.L. Wong et al., - S.L. Wong et al.,
Acta Materialia 118:140-151, 2016, Acta Materialia 118:140-151, 2016,
https://doi.org/10.1016/j.actamat.2016.07.032 https://doi.org/10.1016/j.actamat.2016.07.032
C_11: 175.0e+9 C_11: 175.0e+9
C_12: 115.0e+9 C_12: 115.0e+9
C_44: 135.0e+9 C_44: 135.0e+9

View File

@ -0,0 +1,21 @@
type: Hooke
references:
- F.H. Featherston and J.R. Neighbours,
Physical Review 130(4):1324-1333, 1963,
https://doi.org/10.1103/PhysRev.130.1324,
fit to Tab. II (T_min=100K, T_max=300K)
C_11: 523.6e+9
C_11,T: -7.704e+7
C_11,T^2: -1.562e+5
C_12: 204.6e+9
C_12,T: -2.485e+7
C_12,T^2: -1.182e+5
C_44: 160.7e+9
C_44,T: -1.028e+7
C_44,T^2: 1.291e+4
T_ref: 293.15

View File

@ -1,10 +1,29 @@
type: Hooke type: Hooke
references: references:
- L. Wang et al., - E.S. Fisher and C.J. Renken,
Acta Materialia 132:598-610, 2017, Physical Review 135(2A):A482-A494, 1964,
https://doi.org/10.1016/j.actamat.2017.05.015 https://doi.org/10.1103/PhysRev.135.A482,
C_11: 162.4e+9 fit to Tab. IV (T_min=77K, T_max=923K)
C_33: 181.6e+9
C_44: 47.2e+9 C_11: 162.5e+9
C_12: 92.e+9 C_11,T: -5.915e+7
C_13: 69.e+9 C_11,T^2: 1.156e+4
C_12: 91.8e+9
C_12,T: 2.192e+7
C_12,T^2: -1.621e+4
C_44: 46.8e+9
C_44,T: -1.857e+7
C_44,T^2: -3.745e+3
C_33: 180.6e+9
C_33,T: -4.110e+7
C_33,T^2: 7.330e+3
C_13: 68.9e+9
C_13,T: 2.965e+6
C_13,T^2: -5.767e+3
T_ref: 293.15

View File

@ -0,0 +1,21 @@
type: Hooke
references:
- R.A. Ayres et al.,
Journal of Applied Physics 46:1526-1530, 1975,
https://doi.org/10.1063/1.321804,
fit to Table IV (T_min=100K, T_max=300K)
C_11: 524.6e+9
C_11,T: -5.783e+07
C_11,T^2: -1.355e+05
C_12: 219.0e+9
C_12,T: 1.940e+07
C_12,T^2: 7.634e+04
C_44: 168.7e+9
C_44,T: -2.048e+07
C_44,T^2: -5.478e+04
T_ref: 293.15

View File

@ -0,0 +1,21 @@
type: Hooke
references:
- R.A. Ayres et al.,
Journal of Applied Physics 46:1526-1530, 1975,
https://doi.org/10.1063/1.321804,
fit to Table IV (T_min=100K, T_max=300K)
C_11: 535.1e+9
C_11,T: -6.459e+07
C_11,T^2: -1.664e+05
C_12: 216.1e+9
C_12,T: 2.357e+07
C_12,T^2: 5.186e+04
C_44: 161.1e+9
C_44,T: -1.498e+07
C_44,T^2: -3.234e+04
T_ref: 293.15

View File

@ -1,8 +1,18 @@
type: Hooke type: Hooke
references: references:
- D. Cereceda et al., - F.H. Featherston and J.R. Neighbours,
International Journal of Plasticity 78:242-265, 2016, Physical Review 130(4):1324-1333, 1963,
https://doi.org/10.1016/j.ijplas.2015.09.002 https://doi.org/10.1103/PhysRev.130.1324,
C_11: 523.e+9 fit to Tab. III (T_min=100K, T_max=300K)
C_12: 202.e+9
C_44: 161.e+9 C_11: 524.3e+9
C_11,T: -4.794e+07
C_12: 205.1e+9
C_12,T: -2.836e+06
C_44: 160.7e+9
C_44,T: -1.269e+07
T_ref: 293.15

View File

@ -1,8 +1,10 @@
type: Hooke type: Hooke
references: references:
- T. Maiti and P. Eisenlohr, - T. Maiti and P. Eisenlohr,
Scripta Materialia 145:37-40, 2018, Scripta Materialia 145:37-40, 2018,
https://doi.org/10.1016/j.scriptamat.2017.09.047 https://doi.org/10.1016/j.scriptamat.2017.09.047
C_11: 1.e+8 C_11: 1.e+8
C_12: 1.e+6 C_12: 1.e+6
C_44: 4.95e+7 C_44: 4.95e+7

View File

@ -0,0 +1,39 @@
type: dislotungsten
references:
- D. Cereceda et al.,
International Journal of Plasticity 78:242-265, 2016,
https://doi.org/10.1016/j.ijplas.2015.09.002
- R. Gröger et al.,
Acta Materialia 56(19):5412-5425, 2008,
https://doi.org/10.1016/j.actamat.2008.07.037
output: [Lambda_sl]
N_sl: [12]
b_sl: [2.72e-10]
rho_mob_0: [1.0e+9] # estimated from section 3.2
rho_dip_0: [1.0] # not given
Q_s: [2.61154e-19] # 1.63 eV, Delta_H0
B: [8.3e-5]
omega: [9.1e+11] # nu_0
p_sl: [0.86]
q_sl: [1.69]
tau_Peierls: [2.03e+9]
h: [2.566e-10]
h_sl-sl: [0.009, 0.72, 0.009, 0.05, 0.05, 0.06, 0.09]
w: [2.992e-09] # 11b
# values in Cereceda et al. are high, using parameters from Gröger et al.
a_nonSchmid_110: [0.0, 0.56, 0.75] # Tab. 2
# (almost) no annhilation, adjustment needed for simulations beyond the yield point
i_sl: [1] # c, eq. (25)
D: 1.0e+20 # d_g, eq. (25)
D_a: 1.0 # d_edge = D_a*b
# disable climb (not discussed in Cereceda et al.)
D_0: 0.0
f_at: 1
Q_cl: 1.0

View File

@ -1,14 +1,20 @@
type: dislotwin type: dislotwin
references: references:
- K. Sedighiani et al., - K. Sedighiani et al.,
International Journal of Plasticity 134:102779, 2020, International Journal of Plasticity 134:102779, 2020,
https://doi.org/10.1016/j.ijplas.2020.102779 https://doi.org/10.1016/j.ijplas.2020.102779
- K. Sedighiani et al., - K. Sedighiani et al.,
Mechanics of Materials, submitted Mechanics of Materials, 164:104117, 2022,
https://doi.org/10.1016/j.mechmat.2021.104117
output: [rho_dip, rho_mob] output: [rho_dip, rho_mob]
N_sl: [12, 12] N_sl: [12, 12]
f_edge: [1.0, 1.0]
b_sl: [2.49e-10, 2.49e-10] b_sl: [2.49e-10, 2.49e-10]
rho_mob_0: [2.81e12, 2.8e+12] rho_mob_0: [2.81e+12, 2.8e+12]
rho_dip_0: [1.0, 1.0] # not given rho_dip_0: [1.0, 1.0] # not given
v_0: [1.4e+3, 1.4e+3] v_0: [1.4e+3, 1.4e+3]
Q_sl: [1.57e-19, 1.57e-19] # Delta_F Q_sl: [1.57e-19, 1.57e-19] # Delta_F

View File

@ -0,0 +1,74 @@
type: dislotwin
references:
- S.L. Wong et al.,
Acta Materialia 118:140-151, 2016,
https://doi.org/10.1016/j.actamat.2016.07.032
- K. Sedighiani et al.,
Mechanics of Materials, 164:104117, 2022,
https://doi.org/10.1016/j.mechmat.2021.104117
- L. Kubin et al.,
Acta Materialia 56:6040-6049,
https://doi.org/10.1016/j.actamat.2008.08.012
output: [rho_mob, rho_dip, gamma_sl, Lambda_sl, tau_pass, f_tw, Lambda_tw, f_tr]
# Glide
N_sl: [12]
f_edge: [1.0]
b_sl: [2.56e-10] # a/sqrt(2)
Q_sl: [3.5e-19]
p_sl: [0.325]
q_sl: [1.55]
B: [0.001]
i_sl: [30.0]
v_0: [1.4e+3]
tau_0: [5.5e+8] # adjusted
D_a: 2.0
Q_cl: 3.0e-19
rho_mob_0: [5.0e+10]
rho_dip_0: [5.0e+10]
h_sl-sl: [0.122, 0.122, 0.625, 0.07, 0.137, 0.137, 0.122]
# Twin
N_tw: [12]
b_tw: [1.47e-10] # a_cF/sqrt(6)
L_tw: 1.91e-7 # 1300 *b_tw
i_tw: 10.0
t_tw: [5.0e-8]
p_tw: [7] # A, adjusted
h_tw-tw: [1.0, 1.0]
h_sl-tw: [1.0, 1.0, 1.0]
# Transformation
N_tr: [12]
b_tr: [1.47e-10] # a_cF/sqrt(6)
L_tr: 2.21e-7 # 1500 *b_tr
i_tr: 10.0 # adjusted
t_tr: [1.0e-7]
p_tr: [4] # B, adjusted
V_mol: 7.09e-6
c/a_hP: 1.633
Delta_G: 1.2055e+2
Delta_G,T: 2.5515
Delta_G,T^2: 1.4952e-3
h_tr-tr: [1.0, 1.0]
h_sl-tr: [1.5, 1.5, 1.5]
# Twin & Transformation
T_ref: 293.15
Gamma_sf: 2.833e-2
Gamma_sf,T: 1.214e-4
Gamma_sf,T^2: 1.473e-7
x_c: 1.0e-9
V_cs: 1.67e-29
# Slip & Twin & Transformation
D: 5.0e-5

View File

@ -0,0 +1,15 @@
type: dislotwin
references:
- N. Jia et al.,
Acta Materialia 60(3):1099-1115, 2012,
https://doi.org/10.1016/j.actamat.2011.10.047
- N. Jia et al.,
Acta Materialia 60:3415-3434, 2012,
https://doi.org/10.1016/j.actamat.2012.03.005
gamma_0_sb: 0.0001
tau_sb: 180.0e6 # tau_hat_sb
Q_sb: 4.0e-19 # Q_0
p_sb: 1.15
q_sb: 1.0

View File

@ -1,9 +1,12 @@
type: isotropic type: isotropic
references: references:
- T. Maiti and P. Eisenlohr, - T. Maiti and P. Eisenlohr,
Scripta Materialia 145:37-40, 2018, Scripta Materialia 145:37-40, 2018,
https://doi.org/10.1016/j.scriptamat.2017.09.047 https://doi.org/10.1016/j.scriptamat.2017.09.047
output: [xi] output: [xi]
dot_gamma_0: 0.001 dot_gamma_0: 0.001
n: 20. n: 20.
xi_0: 0.3e+6 xi_0: 0.3e+6

View File

@ -0,0 +1,23 @@
type: kinehardening
references:
- J.A. Wollmershauser et al.,
International Journal of Fatigue 36(1):181-193, 2012,
https://doi.org/10.1016/j.ijfatigue.2011.07.008
output: [xi, chi, chi_flip, gamma_flip, gamma, sgn(gamma)]
N_sl: [12]
xi_0: [0.070e+9] # τ_0,for
xi_inf: [0.015e+9] # τ_1,for
h_0_xi: [0.065e+9] # θ_0,for
h_inf_xi: [0.045e+9] # θ_1,for
chi_inf: [0.027e+9] # τ_1,bs
h_0_chi: [55e+9] # θ_0,bs
h_inf_chi: [1.3e+9] # θ_1,bs
n: [20] # not mentioned in the reference
dot_gamma_0: [1e-4] # not mentioned in the reference
h_sl-sl: [1, 1, 1, 1, 1, 1, 1]

View File

@ -1,10 +1,13 @@
type: nonlocal type: nonlocal
references: references:
C. Kords, - C. Kords,
On the role of dislocation transport in the constitutive description of crystal plasticity, On the role of dislocation transport in the constitutive description of crystal plasticity,
RWTH Aachen 2013, RWTH Aachen 2013,
http://publications.rwth-aachen.de/record/229993/files/4862.pdf http://publications.rwth-aachen.de/record/229993/files/4862.pdf
output: [rho_u_ed_pos, rho_b_ed_pos, rho_u_ed_neg, rho_b_ed_neg, rho_u_sc_pos, rho_b_sc_pos, rho_u_sc_neg, rho_b_sc_neg, rho_d_ed, rho_d_sc] output: [rho_u_ed_pos, rho_b_ed_pos, rho_u_ed_neg, rho_b_ed_neg, rho_u_sc_pos, rho_b_sc_pos, rho_u_sc_neg, rho_b_sc_neg, rho_d_ed, rho_d_sc]
N_sl: [12] N_sl: [12]
b_sl: [2.86e-10] b_sl: [2.86e-10]
@ -37,7 +40,7 @@ nu_a: 50.e+9
B: 1.e-2 B: 1.e-2
f_ed: 1.0 # k_3 f_ed: 1.0 # k_3
h_sl-sl: [0, 0, 0.625, 0.07, 0.137, 0.137, 0.122] # Table 3.4 h_sl-sl: [0, 0, 0.625, 0.07, 0.137, 0.137, 0.122] # Tab. 3.4
chi_GB: 0.0 # full blocking at GB chi_GB: 0.0 # full blocking at GB
chi_surface: 1.0 # no blocking at surface chi_surface: 1.0 # no blocking at surface

View File

@ -1,10 +1,13 @@
type: nonlocal type: nonlocal
references: references:
C. Kords, - C. Kords,
On the role of dislocation transport in the constitutive description of crystal plasticity, On the role of dislocation transport in the constitutive description of crystal plasticity,
RWTH Aachen 2013, RWTH Aachen 2013,
http://publications.rwth-aachen.de/record/229993/files/4862.pdf http://publications.rwth-aachen.de/record/229993/files/4862.pdf
output: [rho_u_ed_pos, rho_b_ed_pos, rho_u_ed_neg, rho_b_ed_neg, rho_u_sc_pos, rho_b_sc_pos, rho_u_sc_neg, rho_b_sc_neg, rho_d_ed, rho_d_sc] output: [rho_u_ed_pos, rho_b_ed_pos, rho_u_ed_neg, rho_b_ed_neg, rho_u_sc_pos, rho_b_sc_pos, rho_u_sc_neg, rho_b_sc_neg, rho_d_ed, rho_d_sc]
N_sl: [12] N_sl: [12]
b_sl: [2.48e-10] b_sl: [2.48e-10]
@ -37,7 +40,7 @@ nu_a: 50.e+9
B: 1.e-3 B: 1.e-3
f_ed: 0.01 # k_3 f_ed: 0.01 # k_3
h_sl-sl: [0, 0, 0.625, 0.07, 0.137, 0.137, 0.122] # Table 3.4 h_sl-sl: [0, 0, 0.625, 0.07, 0.137, 0.137, 0.122] # Tab. 3.4
chi_GB: 0.0 # full blocking at GB chi_GB: 0.0 # full blocking at GB
chi_surface: 1.0 # no blocking at surface chi_surface: 1.0 # no blocking at surface

View File

@ -0,0 +1,19 @@
type: phenopowerlaw
references:
- T.J. Barrett and M. Knezevic,
Computer Methods in Applied Mechanics and Engineering 354:245-270, 2019,
https://doi.org/10.1016/j.cma.2019.05.035,
fitted to data shown in Fig 1 and Fig. 2a
output: [xi_sl, gamma_sl]
N_sl: [12]
dot_gamma_0_sl: [0.001]
n_sl: [20]
a_sl: [3.7]
xi_0_sl: [76.e+6]
xi_inf_sl: [266.e+6]
h_0_sl-sl: [1.02e+9]
h_sl-sl: [1, 1, 5.123, 0.574, 1.123, 1.123, 1]

View File

@ -1,18 +1,19 @@
type: phenopowerlaw type: phenopowerlaw
references: references:
- W.F. Hosford et al., - W.F. Hosford et al.,
Acta Metallurgica 8(3):187-199, 1960, Acta Metallurgica 8(3):187-199, 1960,
https://doi.org/10.1016/0001-6160(60)90127-9, https://doi.org/10.1016/0001-6160(60)90127-9,
fitted from Fig. 5 fitted to Fig. 5 ([111] and [001])
- U.F. Kocks,
Metallurgical and Materials Transactions B 1:11211143, 1970,
https://doi.org/10.1007/BF02900224
output: [xi_sl, gamma_sl] output: [xi_sl, gamma_sl]
N_sl: [12] N_sl: [12]
n_sl: 20
a_sl: 3.1 dot_gamma_0_sl: [7.5e-5]
h_0_sl-sl: 1.7e+8 n_sl: [20]
xi_0_sl: [5.0e+6] a_sl: [5.4]
xi_inf_sl: [37.5e+6] xi_0_sl: [2.69e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] xi_inf_sl: [67.5e+6]
dot_gamma_0_sl: 7.5e-5 h_0_sl-sl: [0.2815e+9]
h_sl-sl: [1, 1, 5.123, 0.574, 1.123, 1.123, 1]

View File

@ -1,4 +1,5 @@
type: phenopowerlaw type: phenopowerlaw
references: references:
- D. Ma et al., - D. Ma et al.,
Acta Materialia 103:796-808, 2016, Acta Materialia 103:796-808, 2016,
@ -9,12 +10,15 @@ references:
- U.F. Kocks, - U.F. Kocks,
Metallurgical and Materials Transactions B 1:11211143, 1970, Metallurgical and Materials Transactions B 1:11211143, 1970,
https://doi.org/10.1007/BF02900224 https://doi.org/10.1007/BF02900224
output: [xi_sl, gamma_sl] output: [xi_sl, gamma_sl]
N_sl: [12] N_sl: [12]
n_sl: 83.3
a_sl: 1.0 dot_gamma_0_sl: [0.001]
h_0_sl-sl: 75.0e+6 n_sl: [83.3]
a_sl: [1.0]
xi_0_sl: [26.25e+6] xi_0_sl: [26.25e+6]
xi_inf_sl: [53.0e+6] xi_inf_sl: [53.0e+6]
h_0_sl-sl: [75.0e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4]
dot_gamma_0_sl: 0.001

View File

@ -1,18 +1,19 @@
type: phenopowerlaw type: phenopowerlaw
references: references:
- T Takeuchi, - T. Takeuchi,
Transactions of the Japan Institute of Metals 16(10):629-640, 1975, Transactions of the Japan Institute of Metals 16(10):629-640, 1975,
https://doi.org/10.2320/matertrans1960.16.629, https://doi.org/10.2320/matertrans1960.16.629,
fitted from Fig. 3b fitted to Fig. 3b ([111] and [001])
- U.F. Kocks,
Metallurgical and Materials Transactions B 1:11211143, 1970,
https://doi.org/10.1007/BF02900224
output: [xi_sl, gamma_sl] output: [xi_sl, gamma_sl]
N_sl: [12] N_sl: [12]
n_sl: 20
a_sl: 1.0 dot_gamma_0_sl: [3.e-3]
h_0_sl-sl: 2.4e+8 n_sl: [20]
xi_0_sl: [1.5e+6] a_sl: [0.6]
xi_inf_sl: [112.5e+6] xi_0_sl: [1.6e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] xi_inf_sl: [96.4e+6]
dot_gamma_0_sl: 3.e-3 h_0_sl-sl: [0.35e+9]
h_sl-sl: [1, 1, 5.123, 0.574, 1.123, 1.123, 1]

View File

@ -1,4 +1,5 @@
type: phenopowerlaw type: phenopowerlaw
references: references:
- C.C. Tasan et al., - C.C. Tasan et al.,
Acta Materialia 81:386-400, 2014, Acta Materialia 81:386-400, 2014,
@ -6,12 +7,15 @@ references:
- U.F. Kocks, - U.F. Kocks,
Metallurgical and Materials Transactions B 1:11211143, 1970, Metallurgical and Materials Transactions B 1:11211143, 1970,
https://doi.org/10.1007/BF02900224 https://doi.org/10.1007/BF02900224
output: [xi_sl, gamma_sl] output: [xi_sl, gamma_sl]
N_sl: [12, 12] N_sl: [12, 12]
n_sl: 20
a_sl: 2.25 dot_gamma_0_sl: [0.001, 0.001]
h_0_sl-sl: 1.0e+9 n_sl: [20, 20]
a_sl: [2.25, 2.25]
xi_0_sl: [95.e+6, 96.e+6] xi_0_sl: [95.e+6, 96.e+6]
xi_inf_sl: [222.e+6, 412.e+6] xi_inf_sl: [222.e+6, 412.e+6]
h_0_sl-sl: [1.0e+9, 1.0e+9]
h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4]
dot_gamma_0_sl: 0.001

View File

@ -1,4 +1,5 @@
type: phenopowerlaw type: phenopowerlaw
references: references:
- F. Wang et al., - F. Wang et al.,
Acta Materialia 80:77-93, 2014, Acta Materialia 80:77-93, 2014,
@ -6,24 +7,33 @@ references:
output: [xi_sl, xi_tw] output: [xi_sl, xi_tw]
N_sl: [3, 3, 0, 6, 0, 6] # basal, 1. prism, -, 1. pyr<a>, -, 2. pyr<c+a> N_sl: [3, 3, 6, 0, 6] # basal, prism, 1. pyr<a>, -, 2. pyr<c+a>
N_tw: [6, 0, 6] # tension, -, compression N_tw: [6, 0, 6] # tension, -, compression
xi_0_sl: [10.e+6, 55.e+6, 0., 60.e+6, 0., 60.e+6] xi_0_sl: [10.e+6, 55.e+6, 60.e+6, 0., 60.e+6]
xi_inf_sl: [40.e+6, 135.e+6, 0., 150.e+6, 0., 150.e+6] xi_inf_sl: [40.e+6, 135.e+6, 150.e+6, 0., 150.e+6]
xi_0_tw: [40.e+6, 0., 60.e+6] xi_0_tw: [40.e+6, 0., 60.e+6]
a_sl: 2.25 a_sl: [2.25, 2.25, 2.25, 1, 2.25]
dot_gamma_0_sl: 0.001 dot_gamma_0_sl: [0.001, 0.001, 0.001, 0, 0.001]
dot_gamma_0_tw: 0.001 dot_gamma_0_tw: [0.001, 0, 0.001]
n_sl: 20 n_sl: [20, 20, 20, 1, 20]
n_tw: 20 n_tw: [20, 1, 20]
f_sat_sl-tw: 10.0 f_sat_sl-tw: [10.0, 10.0, 10.0, 0, 10.0]
h_0_sl-sl: 500.0e+6 h_0_sl-sl: [0.5e+9, 0.5e+9, 0.5e+9, 0, 0.5e+9]
h_0_tw-tw: 50.0e+6 h_0_tw-tw: [50.0e+6, 0, 50.0e+6]
h_0_tw-sl: 150.0e+6 h_0_tw-sl: [0.15e+9, 0, 0.15e+9]
h_sl-sl: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] h_sl-sl: [+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
h_tw-tw: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] +1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, -1.0,
h_tw-sl: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0,
h_sl-tw: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 1.0, -1.0,
-1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0] # unused entries are indicated by -1.0
h_tw-tw: [+1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 1.0, 1.0,
-1.0, 1.0] # unused entries are indicated by -1.0
h_tw-sl: [1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0, -1.0,
1.0, -1.0, -1.0, -1.0, -1.0, -1.0, +1.0, -1.0, 1.0, -1.0] # unused entries are indicated by -1.0
h_sl-tw: [1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0, -1.0,
1.0, -1.0, -1.0, -1.0, -1.0, -1.0, +1.0, -1.0, 1.0] # unused entries are indicated by -1.0

View File

@ -0,0 +1,19 @@
type: phenopowerlaw
references:
- K.M. Jackson and C. Lang,
Platinum Metals Review 50:15-19, 2006,
https://doi.org/10.1595/147106705X93359,
fitted to Fig. 5 (Pt-5% Cu recrystallised)
output: [xi_sl, gamma_sl]
N_sl: [12]
dot_gamma_0_sl: [0.001]
n_sl: [20]
a_sl: [0.9]
xi_0_sl: [0.114e+9]
xi_inf_sl: [0.207e+9]
h_0_sl-sl: [0.7812e+9]
h_sl-sl: [1, 1, 5.123, 0.574, 1.123, 1.123, 1]

View File

@ -0,0 +1,33 @@
type: phenopowerlaw
references:
- A. Chakraborty and P. Eisenlohr,
Journal of Applied Physics 124:025302, 2018,
https://doi.org/10.1063/1.5029933
output: [xi_sl, gamma_sl]
N_sl: [2, 2, 2, 4, 2, 4, 2, 2, 4, 0, 0, 8]
n_sl: [6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 1, 1, 6.0]
a_sl: [2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 1.0, 1.0, 2.0]
h_0_sl-sl: [20e+6, 20e+6, 20e+6, 20e+6, 20e+6, 20e+6, 20e+6, 20e+6, 20e+6, 0.0, 0.0, 20e+6]
xi_0_sl: [8.5e+6, 4.3e+6, 10.4e+6, 4.5e+6, 5.6e+6, 5.1e+6, 7.4e+6, 15.0e+6, 6.6e+6, 0.0, 0.0, 12.0e+6]
xi_inf_sl: [11.0e+6, 9.0e+6, 11.0e+6, 9.0e+6, 10.0e+6, 10.0e+6, 10.0e+6, 10.0e+6, 9.0e+6, 0.0, 0.0, 13.0e+6]
h_sl-sl: [+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, # 50
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, # 100
-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0,
-1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0,
+1.0, -1.0, -1.0, 1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0, # 150
+1.0, 1.0, 1.0, 1.0, 1.0, 1.0] # unused entries are indicated by -1.0
dot_gamma_0_sl: [2.6e-8, 2.6e-8, 2.6e-8, 2.6e-8, 2.6e-8, 2.6e-8, 2.6e-8, 2.6e-8, 2.6e-8, 1.0, 1.0, 2.6e-8]

Some files were not shown because too many files have changed in this diff Show More