Commit Graph

54 Commits

Author SHA1 Message Date
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 f687e0a433 helpful error message 2023-11-06 23:42:11 +01: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
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
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
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 e944ece5ec document source of symmetry operations 2023-08-17 14:41:46 +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
Philip Eisenlohr 06201da5e2 Improvements to Python docstrings 2023-02-21 15:27:06 +00:00
Philip Eisenlohr 6315f97f4a added explicit Optional type hint 2022-11-22 16:26:15 -05: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 3d9ac817bb shorter code 2022-03-09 18:24:18 -05:00
Martin Diehl 03912b0a03 Merge remote-tracking branch 'origin/development' into polishing 2022-03-04 03:44:36 +01:00
Martin Diehl c7b512a94e support the user 2022-02-26 17:40:12 +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
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
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
Philip Eisenlohr 6a4ad7ff75 moved symmetry_operations from Orientation to Crystal 2022-02-22 10:12:03 -05:00
Philip Eisenlohr 3d554e40b9 clarify real/reciprocal space coordinates 2022-02-22 09:15:32 -05:00
Martin Diehl 3a078db6f1 some guidance for users 2022-02-22 06:40:17 +01:00
Martin Diehl 9fc6469b13 Merge remote-tracking branch 'origin/development' into python-polishing 2022-02-16 23:13:46 +01:00
Martin Diehl 2907facfd3 polishing
classes should return 'MyType' for inheritance without hassle
2022-02-13 02:47:08 +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 1364441703 better readable 2022-02-10 22:57:23 +01: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 e2437ee9b5 adjusting style + documentation 2022-01-27 15:29:33 +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
Martin Diehl 4ca501c73f small changes in logic for type hints 2022-01-27 08:53:27 +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 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 0f26da0ec1 nicer reporting 2022-01-04 17:25:01 +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
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 c693006dd8 nicer formatting 2021-10-11 21:57:13 +02:00
Philip Eisenlohr b11a14999b simplified lattice point data; added test 2021-09-30 11:01:42 -04:00
Philip Eisenlohr d293fb8af9 added lattice point property; fixed edge case for angle sum 2021-09-29 12:11:38 -04:00
Philip Eisenlohr 077da6ca2a removed incorrect parts of help 2021-08-16 13:19:10 -04:00
Philip Eisenlohr 5292f9b414 added crystal repr(); fixed typos; extended help 2021-08-08 17:56:54 -04:00
Martin Diehl bb5db3e79c structured according to family 2021-08-04 16:17:29 +02:00
Martin Diehl d1c3d767cc documenting 2021-07-25 19:59:26 +02:00
Martin Diehl 19ca99e033 matching name 2021-07-18 16:39:52 +02:00
Martin Diehl 86a60283c3 keep data close to where it is used 2021-07-18 16:34:42 +02:00
Martin Diehl 212a4ed63c don't test implementation details 2021-07-18 15:57:51 +02:00