Commit Graph

15320 Commits

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