Commit Graph

680 Commits

Author SHA1 Message Date
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
Daniel Otto de Mentock ad39577ea4 improvements to docstrings (in `damask.Rotation`) 2023-03-02 18:46:00 +00:00
Philip Eisenlohr b15096c2f6 flexibility for non-standard ANG headers. 2023-02-28 15:35:31 +00:00
Martin Diehl c40b446854 add keywords to signature of Orientation functions that inherit from Rotation 2023-02-23 18:49:08 +00:00
Philip Eisenlohr 06201da5e2 Improvements to Python docstrings 2023-02-21 15:27:06 +00:00
Philip Eisenlohr 71e383bfc8 test for ValueError 2023-02-20 14:44:40 -05: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
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 7420c779d7 checking for invalid volume fractions 2023-02-02 22:13:17 +01:00
Martin Diehl 46ad436d76 check for invalid materialpoint configuration 2023-02-01 22:48:43 +01:00
Martin Diehl 8895e7a36f more logical behavior
explicit keywords are more important than existing one
2023-02-01 14:59:00 +01:00
Philip Eisenlohr 5edd001d4c Option to normalize rotation matrix 2023-01-16 23:53:49 +00:00
Daniel Otto de Mentock 1b8f3292f0 test was not using parametrized values 2023-01-16 11:45:09 +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 0e48f04d0f consistent naming 2022-12-11 16:09:54 +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
Martin Diehl ce2e0a01f5 single elements of numpy arrays are not of native type 2022-12-05 20:29:08 +01:00
Philip Eisenlohr 5127dfe90b from/as tests use rotation-array; separate bounds checks 2022-12-05 02:08:31 +00:00
Martin Diehl f8844285d7 putting understanding of hybridIA into code 2022-11-25 01:15:39 +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
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
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 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
Philip Eisenlohr 25979fcd77 Merge branch 'development' into 'polish-rotation-error-determination'
# Conflicts:
#   python/damask/_rotation.py
2022-11-16 18:05:36 +00: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 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
Martin Diehl 26284ba2df accidentally added 2022-11-10 09:37:16 +01:00
Philip Eisenlohr 02d785f8f1 comprehensive simulation_setup tests 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
Martin Diehl b2db825fca newest file format 2022-11-09 22:06:20 +01:00
Philip Eisenlohr 1a748ec5aa shorter function name; setup_files is property 2022-11-09 09:39:47 -05: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
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
Martin Diehl 4f0db64e15 grid assemble + corrected grid.scale 2022-11-08 18:52:08 +00: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
Daniel Otto de Mentock 2c3da9c1bf added custom path export option to Result.export_* functions 2022-11-06 18:10:23 +00:00