Commit Graph

16795 Commits

Author SHA1 Message Date
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