Commit Graph

111 Commits

Author SHA1 Message Date
Martin Diehl df96110733 some suggestions from prospector/pylint 2022-01-29 22:38:17 +01:00
Martin Diehl 609f13c590 Python 3.8 magic: The walrus operator ":=" 2022-01-29 18:29:42 +01:00
Martin Diehl f70df11b67 consistent reporting 2022-01-29 15:59:22 +01:00
Martin Diehl bc667888ce consistent style 2022-01-26 23:37:07 +01:00
Daniel Otto de Mentock 0c21b6a8e0 [skip ci] changed almost all function definition lines to multiline for colormap, grid, table, vtk and util modules 2022-01-26 16:25:27 +01:00
Martin Diehl 2bbc4c4e46 polishing 2022-01-22 09:04:14 +01:00
Daniel Otto de Mentock bfa7fd6ecc Merge branch 'development' into 'typehints_vtk_util'
# Conflicts:
#   python/damask/_grid.py
2022-01-20 16:54:23 +00:00
Daniel Otto de Mentock 77f22318a8 Typehint improvements 2022-01-20 11:52:56 +00:00
Martin Diehl a545baebbf VTK polishing
avoid segmentation fault (also allows testing)
2022-01-16 19:23:12 +01:00
Martin Diehl b796bc0697 simplified 2022-01-14 20:44:34 +01:00
Daniel Otto de Mentock 01cc6ffd2c added minor grid adjustments after initial merge of typehints_grid branch 2022-01-14 17:56:58 +01:00
Martin Diehl 3acabcdc7f docstring adjustments 2022-01-12 23:57:21 +01:00
Martin Diehl 2c1231a806 using best practices from grid_filters 2022-01-12 23:06:48 +01:00
Daniel Otto de Mentock e60d41d5e4 merge with current development branch 2022-01-05 14:06:06 +01:00
Daniel Otto de Mentock 1de12bb402 removed direct attribute assignments for size and origin 2021-12-06 15:48:19 +01:00
Daniel Otto de Mentock 5558c301fa added fist typehints for _grid module 2021-12-06 14:22:52 +01:00
Philip Eisenlohr 66f9c771dd correct unit for size 2021-11-16 10:28:23 -05:00
Martin Diehl fd0a3f58fa improved grid reporting
- a-b-c vs. x-y-z confusing and not needed
- unit is helpful (got a request on the helpdesk)
2021-11-16 09:17:32 +01:00
Martin Diehl f9c7781a35 avoid int16
for any reasoable input, int32 should be sufficient, no need to worry
about int64.
2021-09-12 21:54:04 +02:00
Martin Diehl f11e7742e5 better document
make damask.mpie.de colorful ;)
2021-07-16 10:30:33 +02:00
Martin Diehl abf7c8e9f1 limit search space to actual RVE
periodic copies of the seeds are sufficient, no need to copy the grid
2021-07-09 12:13:18 +02:00
Martin Diehl 9f7e2bdc0b simplified 2021-07-02 07:48:01 +02:00
Martin Diehl 30fb257c40 help the user 2021-07-02 06:16:12 +02:00
Martin Diehl 9dca7d8055 not needed 2021-06-29 10:44:13 +02:00
Martin Diehl abd660e62d Merge remote-tracking branch 'origin/development' into polishing 2021-06-19 13:28:56 +02:00
Martin Diehl 32b5e4dece update time estimate for long running processes 2021-06-18 18:14:52 +02:00
Martin Diehl db1882e4de polishing 2021-06-17 18:26:37 +02:00
Martin Diehl f19dc27246 transition compatibility 2021-06-16 14:35:54 +02:00
Martin Diehl 01a32ea236 import from Neper 2021-06-15 22:29:28 +02:00
Martin Diehl 1bfbd30ae2 polishing 2021-06-15 19:53:05 +02:00
Martin Diehl 218e6a79a8 VTK image data is the appropriate type, not VTK rectilinear grid
FFTs require constant spacing in all three directions, this is
guaranteed by the vtkImageData but not by vtkRectilinearGrid
2021-06-15 19:02:26 +02:00
Martin Diehl b061b4911d compatible with older scipy versions 2021-04-29 08:58:32 +02:00
Martin Diehl 00bc6a9031 4 threads as default. Reasonable for modern computers
hardcoded + and as shell variable
2021-04-28 20:26:25 +02:00
Martin Diehl 0459f17f58 improved usability 2021-04-25 07:58:15 +02:00
Martin Diehl 95831e53f6 using improved documentation 2021-04-24 16:23:34 +02:00
Martin Diehl 26f37d822d state return value
not for Rotation as its docstring is extended by Orientation
2021-04-23 19:15:11 +02:00
Philip Eisenlohr bf2515c4c1 removed `Grid.diff` in lieu of `__eq__` 2021-04-06 12:10:35 -04:00
Martin Diehl 115e3dd4c7 simplified 2021-04-05 17:18:12 +02:00
Martin Diehl 65b03aeb2d Merge remote-tracking branch 'origin/development' into Results.read-.place 2021-04-05 10:22:49 +02:00
Martin Diehl 39c0bc9de6 polishing 2021-04-03 08:19:16 +02:00
Martin Diehl c742f7c9d0 need to cope with _asciitable.py and _test.py 2021-03-27 12:47:58 +01:00
Martin Diehl be9e00347b cleaning
dropped support for legacy table
2021-03-27 10:11:31 +01:00
Philip Eisenlohr 3d4590a522 Merge branch 'citation-style' into development 2021-03-25 14:39:44 -04:00
Martin Diehl 572c3204d0 let the computer do the work 2021-03-23 14:28:56 +01:00
Martin Diehl 1c3d1ee0f2 documented 2021-03-20 13:37:06 +01:00
Martin Diehl 394fda5f37 improving import from DREAM.3D
- no duplicated entries even for non-segmented data
- using phase labels from file
- material.yaml: Dummy homogenization and phase
- tests to ensure correct order and match between Grid and
  ConfigMaterial
2021-03-20 12:56:18 +01:00
Martin Diehl cdcedd0d44 autodetect base group 2021-03-20 07:26:07 +01:00
Sharan Roongta fc172921fb unified citation style continued 2021-03-19 10:41:47 +01:00
Martin Diehl ec28fd8a73 polishing 2021-03-12 09:23:05 +01:00
Philip Eisenlohr 69316f186b fixed ConfigMaterial.from_table; 2D grid.from_table now acceptable 2021-02-23 11:50:13 -05:00
Martin Diehl 5517be5078 warn the caller of deprecated functions 2021-02-22 08:49:44 +01:00
Martin Diehl b00b4bb0ad more general handling of precision
Anaconda on windows does not have np.float128 defined, but aliases
should work
https://numpy.org/devdocs/user/basics.types.html
2021-02-19 17:03:41 +01:00
Martin Diehl 0f6094890a simplified
damask.environment does not offer any advantage over os.environ for
variables. After 'root_dir' was removed, the whole module became
obsolete
2021-01-15 12:14:05 +01:00
Martin Diehl a7d998dd48 standard name 2021-01-13 14:53:50 +01:00
Martin Diehl 4c35da8627 simplified 2021-01-13 11:33:28 +01:00
Martin Diehl 35ca1ffb0a consistent copy functionality 2021-01-03 12:03:40 +01:00
Martin Diehl 32c2de6b91 Ensuring regular spacing for grid 2020-12-10 22:47:30 +01:00
Martin Diehl 4286fc3b82 Merge branch 'development' into misc-improvements 2020-12-10 20:21:00 +01:00
Martin Diehl 78192ef3fd clearer naming + better comments, thanks to @p.eisenlohr 2020-12-07 17:49:37 +01:00
Martin Diehl c80e1c5420 less confusing in the standard case, more helpful in the special case 2020-12-05 10:47:42 +01:00
Martin Diehl 171d642dbd rename: Geom -> Grid 2020-12-04 07:50:47 +01:00