Commit Graph

1108 Commits

Author SHA1 Message Date
Martin Diehl 3b392281e4 consistent naming in HDF5 output 2021-03-25 19:22:59 +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 de1708b20a missing renames + better help 2020-12-08 00:36:41 +01:00
Martin Diehl 0fdefa5e78 renames:
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)

Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".

Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +01:00
Martin Diehl a65a47f6d7 single source of truth 2020-11-23 21:26:35 +01:00
Martin Diehl da654b7c91 vectorized 2020-11-23 21:23:45 +01:00
Martin Diehl 4e94118cfb don't use legacy format (tests are updated) 2020-11-23 21:15:00 +01:00
Martin Diehl 762ac0eb3c don't write out legacy file format 2020-11-23 20:54:07 +01:00
Martin Diehl 198736a859 volume mismatch is unreliable
the volume of a deformed hexahedron is not properly defined, the
approximation error is in the order of the deviation from 1.0 (for
typical crystal plasticity cases)
2020-11-23 20:47:05 +01:00
Martin Diehl 5d2d92ff6b shell wrapper to library functions not needed anymore 2020-11-23 20:45:55 +01:00
Martin Diehl faa83468d5 unclear behavior in case of unsorted coordinates
similar (tested and flexible) functionality is available in numpy/scipy
2020-11-23 20:44:17 +01:00
Martin Diehl cbe8160e13 Merge remote-tracking branch 'origin/development' into vector-mechanics 2020-11-23 19:55:34 +01:00
Philip Eisenlohr 86dfb58732 adjust to renaming of from_Eulers/Rodrigues 2020-11-18 14:18:05 -05:00
Martin Diehl 870c0f7aca removed aliases
required bump of DADF5 version
2020-11-18 14:53:11 +01:00
Martin Diehl 9160677ff3 no need for special damask class (no action=extend) 2020-11-14 19:00:51 +01:00
Martin Diehl e11391c750 easier to do directly on a numpy array 2020-10-31 10:36:50 +01:00
Martin Diehl 9e0222db71 just a wrapper to scipy, requires special layout 2020-10-05 22:41:12 +02:00
Martin Diehl 7dc8391c03 not needed anymore 2020-09-25 07:40:12 +02:00
Martin Diehl 6ab88aad2b default format for Table is ASCII
hence, renamed load_ASCII/save_ASCII to load/save
2020-09-20 20:45:06 +02:00
Philip Eisenlohr b57e8e69a8 switched save_ASCII() in more legacy scripts to legacy mode 2020-09-15 22:38:50 -04:00
Philip Eisenlohr f52aae3c29 legacy shell scripts again output legacy ASCIItables 2020-09-15 10:19:19 -04:00
Philip Eisenlohr 96ad358f83 modified file reading/writing methods to load_X, save_X formalism 2020-09-15 01:14:05 -04:00
Martin Diehl 8a32a15299 changed to out-of-place mode 2020-09-14 12:17:43 +02:00
Martin Diehl f6758ecc28 table class operates out of place 2020-09-14 07:04:01 +02:00
Philip Eisenlohr 9fb3fef4b0 changed British "normalise" to US "normalize" as we (should) follow US English everywhere else. 2020-09-08 10:39:31 -04:00
Philip Eisenlohr be0668dc27 fixed all affected shell scripts 2020-09-03 11:19:19 -04:00
Philip Eisenlohr 4bf3b92609 polishing vtk2ang.py 2020-08-09 22:40:04 +02:00
Martin Diehl 2ef20df89f same functionality is available in geom class
is anyway just a call no scipy.ndimage
2020-08-08 22:34:19 +02:00
Martin Diehl 0878302961 WIP: making compatible with python3/vtk9 2020-08-08 18:19:04 +02:00
Martin Diehl 323f828606 Merge branch 'development' into modernize_colormap 2020-06-28 19:09:52 +02:00
Martin Diehl c00a203527 VTK class and orientation class are thoroughly tested 2020-06-27 22:36:23 +02:00
Martin Diehl e779e190ea new colormap class for use in python
- based on matplotlib "ListedColormap"
- constructors
  - Array of RGB values (inherited),
  - 'from_bounds': perceptual uniform colormap within given bounds
  - 'from_predefined': from matplotlib or DAMASK templates
- export to files (WIP)
- preview on screen
2020-06-27 16:12:40 +02:00
Martin Diehl ebaae151f5 not directly related to DAMASK 2020-06-26 22:03:42 +02:00
Martin Diehl 7a74a9ed10 cleaning for release 2020-06-15 15:31:09 +02:00
Martin Diehl 85c6d751a8 functionality available in HDF5/python 2020-05-27 17:41:20 +02:00
Martin Diehl cd4e992900 not needed anymore 2020-05-25 09:39:53 +02:00
Martin Diehl 77b68ab86f using rotation class for rotations 2020-05-25 09:39:39 +02:00
Martin Diehl 39505507f1 not needed anymore 2020-05-25 08:07:12 +02:00
Martin Diehl 06e4327c0b replace outdated ASCIItable class 2020-05-21 17:16:27 +02:00
Martin Diehl 7aecc37219 using ordering as in DAMASK
autogenerated by a small script from lattice.f90
2020-05-21 15:45:33 +02:00
Martin Diehl 652ece6bb3 fix: wrong capitalization 2020-05-17 07:25:17 +02:00
Martin Diehl 347e3b8c60 using new table class + vectorized rotation 2020-05-16 11:14:35 +02:00
Martin Diehl 763ccc077b Philip's corrections 2020-04-28 22:20:45 +02:00
Martin Diehl 9e79935add Merge branch 'development' into less-shell-scripts 2020-04-28 20:43:16 +02:00
Martin Diehl 97438713cc require numpy array 2020-04-24 12:55:59 +02:00
Martin Diehl 042f64200c Merge branch 'development' into vectorize_rotation 2020-04-24 06:31:14 +02:00
Philip Eisenlohr f0e2437d75 [skip ci] added "list(map..." required since Python3 2020-04-23 13:42:17 -04:00
Martin Diehl 12d7fa7fda migrated to new class 2020-04-23 09:59:31 +02:00
Martin Diehl 936ce6a160 reshape for scalar/vector not needed 2020-04-22 18:26:10 +02:00
Martin Diehl 64b30ade6b don't make things complex by wrapping them into shell scripts 2020-04-22 11:25:29 +02:00