Commit Graph

13875 Commits

Author SHA1 Message Date
Martin Diehl e270b5fe5f cleaned tests 2020-09-07 18:29:32 +02:00
Martin Diehl d78bc81026 use test which is insensitive to numerical noise 2020-09-07 18:27:06 +02:00
Franz Roters 5c02fdae29 updated reference 2020-09-07 18:22:29 +02:00
Franz Roters e43d8d208f updated tests 2020-09-07 17:20:59 +02:00
Franz Roters 44f5f2cc01 only statevar 2 is used for material definition 2020-09-07 17:01:38 +02:00
Martin Diehl 774cf7658e pytest now includes RGC test 2020-09-07 13:23:42 +02:00
Martin Diehl d176a89c78 ensure defined initital state 2020-09-07 13:20:00 +02:00
Martin Diehl 715a55b4c8 geom file format will be removed soon. No need to test 2020-09-07 13:19:38 +02:00
Martin Diehl 751bf7862d variable name = parameter name 2020-09-07 11:48:26 +02:00
Martin Diehl 2f7414de22 only m=1 makes sense for isobrittle 2020-09-07 11:46:12 +02:00
Martin Diehl 3fdcebc0a0 following python recommendation
functions have "active" docstring
2020-09-06 17:50:32 +02:00
Martin Diehl 9ce406ed11 wrapper for zlib library
assume that zlib is available for linking. This is usually the case
(zlib is a stable standard library), but there is currently no check
that gives a nice error message or the possibility to use zlib from a
non-standard location
2020-09-06 17:49:00 +02:00
Martin Diehl a931625be0 functionality to decode base64 strings into bytes 2020-09-06 17:44:02 +02:00
Martin Diehl 54207760db conversion byte -> float/int with 4/8 byte length 2020-09-06 17:36:05 +02:00
Test User de4587c52e [skip ci] updated version information after successful test of v3.0.0-alpha-89-g23d61511 2020-09-04 13:03:16 +02:00
Franz Roters 23d6151197 Merge branch 'with-to-file-methods' into 'development'
modified file writing of geom and table to a general to_file() that takes a "format=" argument

See merge request damask/DAMASK!213
2020-09-04 10:27:30 +02:00
Philip Eisenlohr 1393fe8b54 updated tests in PRIVATE to use Table.to_file() 2020-09-03 12:39:11 -04:00
Philip Eisenlohr be0668dc27 fixed all affected shell scripts 2020-09-03 11:19:19 -04:00
Philip Eisenlohr a4785ba562 modified file writing of geom and table to a general to_file() that takes a "format=" argument 2020-09-03 10:53:16 -04:00
Test User 3954ccb6b4 [skip ci] updated version information after successful test of v3.0.0-alpha-84-g2f1e0644 2020-09-03 00:47:58 +02:00
Philip Eisenlohr 2f1e064435 Merge branch 'vtk-to-file-method' into 'development'
renamed VTK.write() to VTK.to_file()

See merge request damask/DAMASK!208
2020-09-02 22:12:32 +02:00
Philip Eisenlohr d645849baf fixed remnant occurrences of .write() --> .to_file() 2020-09-02 11:32:40 -04:00
Philip Eisenlohr 6785062a10 Merge branch 'development' into 'vtk-to-file-method'
# Conflicts:
#   python/tests/test_VTK.py
2020-08-31 21:10:29 +02:00
Test User 98494506a6 [skip ci] Merge branch 'master' into development 2020-08-31 20:03:45 +02:00
Test User 1cc31c7156 Merge commit 'v3.0.0-alpha-76-g41f7c659' 2020-08-31 20:03:24 +02:00
Test User 41f7c6597a [skip ci] updated version information after successful test of v3.0.0-alpha-75-g6986d20b 2020-08-31 20:03:24 +02:00
Test User bb81bca9ed [skip ci] Merge branch 'master' into development 2020-08-31 15:00:16 +02:00
Test User 33527c1263 [skip ci] updated version information after successful test of v3.0.0-alpha-51-g31282973 2020-08-31 15:00:07 +02:00
Franz Roters 6986d20b32 Merge branch 'geom-out-of-place' into 'development'
Geom methods are now out-of-place, i.e. return an updated duplicate

See merge request damask/DAMASK!203
2020-08-31 12:39:01 +02:00
Samad Vakili 3128297301 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2020-08-31 12:29:39 +02:00
Samad Vakili 6f4d93627b Merge branch 'fix-inhomogeneous-phase-physics' into development 2020-08-31 12:27:00 +02:00
Test User ffd45aa5fc [skip ci] updated version information after successful test of v3.0.0-alpha-47-g3ee8c471 2020-08-30 20:54:25 +02:00
Sharan Roongta 3ee8c4719a Merge branch 'grid-no-homogenization-at' into 'development'
remove homogenizationAt from grid/mesh

See merge request damask/DAMASK!211
2020-08-30 17:09:44 +02:00
Martin Diehl d66cdc8324 fixed incomplete rename 2020-08-30 06:52:15 +02:00
Martin Diehl 80b84cf76a fixed hickup of state variables
two times the wrong location resulted in the correct behavior before
2020-08-29 23:37:59 +02:00
Martin Diehl 23bf51cca0 homogenizationAt from discretization not needed anymore 2020-08-29 16:45:18 +02:00
Martin Diehl 44bb99c57a not needed 2020-08-29 16:34:19 +02:00
Martin Diehl 03b02ad641 typos/sentence 2020-08-29 16:06:10 +02:00
Martin Diehl c58693328e don't try to access folders that don't exist
this happened in the case when different types of output exist in
different phases, e.g.

Aluminum: generic, plastic, sources
Steel: generic, plastic

We are a little bit inconsistent because 'generic' and 'plastic' are
always created (even if empty) but 'sources' will only exist if it
contains output. In future, we should have only folders that actually
contain data
2020-08-28 12:45:41 +02:00
Test User 338281e0ab [skip ci] updated version information after successful test of v3.0.0-alpha-41-g94574356 2020-08-27 19:32:28 +02:00
Franz Roters 9457435612 Merge branch 'polishing-for-release' into 'development'
Polishing for release

See merge request damask/DAMASK!206
2020-08-27 17:01:43 +02:00
Test User 4090fdb1dd [skip ci] updated version information after successful test of v3.0.0-alpha-32-g792db297 2020-08-27 15:51:27 +02:00
Samad Vakili 792db2975d Merge branch 'nice-error-message-add_xxx' into development 2020-08-27 12:48:08 +02:00
Martin Diehl 0d5279863d avoid rounding errors related to rotation 2020-08-27 09:33:09 +02:00
Martin Diehl 94797f8325 ignore all kinds of FPE 2020-08-27 09:32:49 +02:00
Martin Diehl c5761831e2 more meaningful message
if add_xxx (Results) does not find matching datasets, inform the user
about this fact instead of saying
TypeError: object of type 'IMapUnorderedIterator' has no len()
2020-08-27 00:14:37 +02:00
Philip Eisenlohr c2191fd930 Make logic to mask (outside of) primitive more apparent (hopefully). 2020-08-27 00:06:52 +02:00
Martin Diehl 248ef8ef97 more tests
- invalid files
- scalar/array size,center,exponent for add_primitive
- rotation invariance for add primitive
2020-08-26 23:56:20 +02:00
Martin Diehl 229f6139c8 better user experience
- no meaningless warnings regarding floating point precision
- meaningful error message for invalid header
2020-08-26 23:54:56 +02:00
Philip Eisenlohr b9f1421c6b [skip ci] removed unnecessary line continuations "\" 2020-08-26 17:27:08 -04:00