Commit Graph

1991 Commits

Author SHA1 Message Date
Philip Eisenlohr 188905766f removed Geom.get_X() methods in favor of direct property access 2020-09-21 11:13:53 -04:00
Martin Diehl 783b749662 compress instead of pack (same name for vtk/geom) 2020-09-20 22:25:08 +02:00
Martin Diehl 7bdd44a3d9 consistent names:
default file operations: save/load, non-default save_xx/load_xx
2020-09-20 22:04:28 +02:00
Martin Diehl 24febcd15b forgotten rename 2020-09-20 21:51:09 +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
Martin Diehl b1b556fc08 Merge remote-tracking branch 'origin/development' into Marc-use-statev-2
PRIVATE repository is synced again (including changes to RGC test)
2020-09-08 23:24:57 +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
Franz Roters 44f5f2cc01 only statevar 2 is used for material definition 2020-09-07 17:01:38 +02:00
Philip Eisenlohr be0668dc27 fixed all affected shell scripts 2020-09-03 11:19:19 -04:00
Martin Diehl 7dba9518cc adjust to new Geom behavior 2020-08-25 23:43:59 +02: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 309c53dc97 now a library function 2020-08-08 20:46:46 +02:00
Martin Diehl a0e0f28e51 migrating shell scripts to library 2020-08-08 19:42:34 +02:00
Martin Diehl ba4625c2a4 return not needed 2020-08-08 18:22:34 +02:00
Martin Diehl 0bfe5903ad standard layout
- standard libraries
- space
- external libraries
- space
- damask library
2020-08-08 18:21:17 +02:00
Martin Diehl e4ad2ab82e test is broken, consider the script to be broken.
just keep the executable until the next cleanup in PRIVATE is done
2020-08-08 18:19:48 +02:00
Martin Diehl 0878302961 WIP: making compatible with python3/vtk9 2020-08-08 18:19:04 +02:00
Martin Diehl 0ad189ea9d not needed anymore 2020-08-08 18:18:32 +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 642931c203 Merge branch 'development' into less-shell-scripts 2020-06-26 21:59:50 +02:00
Martin Diehl 7a74a9ed10 cleaning for release 2020-06-15 15:31:09 +02:00
Martin Diehl 33a8aa4db7 don't catch all exceptions and give meaningful meassages 2020-06-03 13:50:32 +02:00
Martin Diehl 3be1a33820 easier to read 2020-06-03 13:32:47 +02:00
Martin Diehl 565b1eb510 not needed
was just a wrapper around functionality in the python library
2020-05-30 15:39:36 +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 3231a49107 centralize functionality 2020-05-24 09:39:58 +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 743e91a78d cleaning 2020-05-17 08:01:34 +02:00
Martin Diehl 652ece6bb3 fix: wrong capitalization 2020-05-17 07:25:17 +02:00
Martin Diehl 9fa1539163 using new names 2020-05-16 11:17:12 +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 a3d54c5621 just boilerplate code 2020-04-23 10:08:29 +02: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
Martin Diehl e969fefbc6 can be done in python more easily
these shell scripts are just wrappers around tested functionality of the
python classes (geom or mechanics). Testing and using them is cumbersome
in comparison to using the python functionality directly
2020-04-22 09:45:25 +02:00
Martin Diehl b26bc78a44 adopting to new grid layout 2020-04-21 18:49:50 +02:00
Martin Diehl b1be4e7ac8 rotation class does not take care of correct shape anymore 2020-04-21 13:22:24 +02:00
Martin Diehl 7084fc9616 adjusting to consistent data layout 2020-04-20 23:19:38 +02:00
Martin Diehl 85f831d5b4 simplified 2020-04-20 22:14:57 +02:00
Martin Diehl 4278ba32ae adopting to standard data layout 2020-04-20 22:07:49 +02:00
Martin Diehl 9a54c326e2 adopted to new data layout 2020-04-20 21:28:23 +02:00
Martin Diehl a8b75a23c5 simplified 2020-04-20 20:40:47 +02:00
Martin Diehl 8465c3ab1b adjusting to new data layout 2020-04-20 19:13:45 +02:00
Martin Diehl a367128436 not used anymore 2020-04-20 13:57:33 +02:00
Martin Diehl 9979eb58f4 consistent layout for grid data
has now always the shape ([x,y,z,...]) with x fastest. For conversion from or
to linear layout ([x*y*z,...]), e.g. storage in ASCII table, reshape needs
to have the 'F' option.
Credits to Vitesh and Fran for pointing this out.
2020-04-20 13:09:59 +02:00
Martin Diehl 6254063b4b not used 2020-03-31 12:52:46 +02:00
Martin Diehl bcbdd87870 base substitution on original microstructure 2020-03-29 23:50:09 +02:00
Martin Diehl 396d428af7 bugfix: works for all cuboids, not just cubes 2020-03-29 23:09:43 +02:00
Martin Diehl f1b4d81fb4 simplified 2020-03-29 19:11:36 +02:00
Martin Diehl 04cb8111c6 only used for non-selective 2020-03-22 07:08:54 +01:00
Martin Diehl 3873a3d20d restoring working structure for config submodule 2020-03-21 22:17:07 +01:00
Martin Diehl b53288c0be distance already controls whether tesselation works
at least for sufficiently large d
2020-03-21 21:50:15 +01:00
Martin Diehl 2c1a654966 more conservative estimate 2020-03-21 21:10:14 +01:00
Martin Diehl 67f64b7a7a polishing 2020-03-21 18:01:26 +01:00
Martin Diehl f961f3590c tested
bugfix: correct coordinates for periodic Laguerre
performance: do not waste memory
2020-03-21 17:53:59 +01:00
Martin Diehl a2b92569d2 local functions cannot be pickled (required for multiprocessing) 2020-03-21 17:04:27 +01:00
Martin Diehl c31c9be628 fix for periodic copies
old version had huge memory consumption as was probably wrong
2020-03-21 16:41:52 +01:00
Martin Diehl ab1ab42e75 easier to specify size directly 2020-03-21 15:17:02 +01:00
Martin Diehl 42b9ccf99e less complicated 2020-03-21 11:36:34 +01:00
Martin Diehl d636b53e2b duplicated comment line 2020-03-20 10:27:46 +01:00
Martin Diehl 509f8cfcc9 cleaning 2020-03-20 06:42:13 +01:00
Martin Diehl 0f45559271 store microstructure as integers 2020-03-20 06:24:41 +01:00
Martin Diehl 3caad0bdf4 store microstructure indices as integers 2020-03-20 06:00:42 +01:00
Martin Diehl 064dabe34b Polishing
- keep microstructure as integer
- avoid constant reshape
- IMPORTANT: random order has changed!
2020-03-20 00:50:42 +01:00
Martin Diehl 0556827f29 less error prone 2020-03-19 20:19:47 +01:00
Martin Diehl 27532cfa4e small fixes 2020-03-19 12:03:55 +01:00
Martin Diehl 0f677ac3ec not needed anymore
except for the deprecated vtk file format support, vtk_addData can do
the job
2020-03-19 11:38:46 +01:00
Martin Diehl 1fb975dedf suitable for pointCloud and grid.
does not work for old vtk file format, use python library directly in
this case
2020-03-19 11:37:33 +01:00
Martin Diehl f01af70357 using central functionality 2020-03-19 09:02:50 +01:00
Martin Diehl 0871111c11 consistent and correct number of leading zeros 2020-03-19 08:45:25 +01:00
Martin Diehl d6f74daf53 cleaning
no DADF5 anymore
2020-03-19 08:13:13 +01:00
Martin Diehl 7d47418381 migrating to new Table class ...
... and stripping old ASCIItable down
2020-03-19 07:27:11 +01:00
Martin Diehl c40e607e08 standard-conforming and nice labels 2020-03-18 20:49:39 +01:00
Martin Diehl ab84ac1c24 polishing of some tests 2020-03-18 14:11:31 +01:00
Martin Diehl b5a1295cb9 ASCIItable -> Table 2020-03-18 13:47:09 +01:00
Martin Diehl 1c75198af5 do not document the obvious 2020-03-18 13:44:39 +01:00
Martin Diehl 45e3b8f7c6 no brackets for reshape required 2020-03-17 12:25:44 +01:00
Martin Diehl 6a1354f80f typo 2020-03-17 11:57:36 +01:00
Martin Diehl 25b3fa4427 image data seems to work in general with python3 ...
... after fix for colormaps
imageDataDeformed is based on the core module, i.e. it has not been used
for years. Either update soon or remove
2020-03-17 11:53:59 +01:00
Martin Diehl 49caa77bbd new class, less code 2020-03-17 11:24:15 +01:00
Martin Diehl b65c3959f1 simplified 2020-03-17 11:10:02 +01:00