Commit Graph

356 Commits

Author SHA1 Message Date
Philip Eisenlohr 5a159dcdfa script to add scalar data and/or RGB color tuples to rectilinear VTK file (*.vtr) 2014-09-05 20:28:39 +00:00
Martin Diehl 6cdcdecdfa post processing scripts are working again.
@Philip: definining one offset for shiftData and one factor for scaleData for tensor/vector/special>1 seems to be more reasonable than per component
2014-08-25 21:13:39 +00:00
Martin Diehl c7837e1f66 changed manual input/output close to class method 2014-08-22 16:58:53 +00:00
Philip Eisenlohr 99e3c9a397 fixed (potentially) buggy rotation of tensors. convention is:
with A v = b
v' = R v
A' = R A R^T
such that
A' v' = R A R^T  R v = R A v (= R b = b', i.e. old result transformed into other coordinate basis)
2014-08-22 15:32:48 +00:00
Philip Eisenlohr df27115472 extended "scalar" capabilities to "special" having arbitrary dimension (defaults to 1, i.e. former scalar case). Breaks backward compatibility since "--scalar" is now "--special". However, "-s" still works as before... 2014-08-22 15:25:51 +00:00
Philip Eisenlohr 77df55c998 extended "scalar" capabilities to "special" having arbitrary dimension (defaults to 1, i.e. former scalar case). Breaks backward compatibility since "--scalar" is now "--special". However, "-s" still works as before... 2014-08-21 17:16:43 +00:00
Philip Eisenlohr 9aa22d4a08 simplified column key generation 2014-08-21 16:17:23 +00:00
Philip Eisenlohr 96b16dd97b reshape "matrix" input data from (currently wrong) 9x1 to 3x3 layout.
simplified input validity check.
2014-08-21 16:14:06 +00:00
Martin Diehl 15a6015bc2 added some more post processing tests
DAMASK env now reports in MiB (GiB is too big for small machines)
2014-08-07 16:51:26 +00:00
Martin Diehl 649e637561 added some more post processing tests and improved output 2014-08-06 19:06:33 +00:00
Martin Diehl 938352d43a fixed calculation of size and dimension in case of 2D (was limited to third dim only)
plus polishing
2014-08-06 15:25:18 +00:00
Martin Diehl cbafad50d0 some more work on the postprocessing scripts, decreased test tolerance because spectral decomposition has rounding errors (depending on machine/python/numpy version) 2014-08-06 13:27:09 +00:00
Martin Diehl a0f9865133 updated to state-of-the art file handling etc 2014-08-04 20:07:20 +00:00
Martin Diehl 7df8f04f65 updated test for postprocessing and improve some of the scripts 2014-08-04 17:53:41 +00:00
Martin Diehl 0b93e7c5a5 corrected addDivergence script. Restarting still not working for new state, needs further investigations: tightend tolerances again 2014-07-27 09:43:00 +00:00
Tias Maiti e01630e073 fixed bug in tuple assignment 2014-07-25 17:49:22 +00:00
Philip Eisenlohr bee6e0b09b added optional weighting column 2014-07-25 16:38:04 +00:00
Martin Diehl d0ecc0943c added addPK2 script to test 2014-07-24 21:42:13 +00:00
Martin Diehl 7954c9a4a3 more and improved tests for add... 2014-07-24 20:21:18 +00:00
Martin Diehl 38048a09f2 introduced use of choice for argparse where applicable 2014-07-24 18:47:09 +00:00
Martin Diehl e5dc9e79cc some more changes improving the post processing scripts 2014-07-22 14:21:49 +00:00
Martin Diehl e8d2e787bc updated first 9 post processing scripts to latest ASCII table handling style 2014-07-21 19:55:05 +00:00
Martin Diehl 2f0ecdf7e8 improved file handling etc. to follow newest style 2014-07-16 16:41:04 +00:00
Martin Diehl e7c282a02d some further improvements on ASCII table handling 2014-07-10 09:27:51 +00:00
Martin Diehl f72a87f94b polished scripts (option parser, numpy) 2014-07-09 10:07:24 +00:00
Martin Diehl 51b92f3ef9 simplified option parsing (so far, only for addCalculation and addMises) 2014-06-17 07:10:10 +00:00
Luv Sharma 596ee18da9 improved the regex for header reading 2014-06-08 14:43:32 +00:00
Philip Eisenlohr 2f249773c9 fixed missing Python module 2014-06-06 15:11:15 +00:00
Philip Eisenlohr 32b315487c removed debug printing 2014-06-06 14:46:41 +00:00
Philip Eisenlohr 59e8cd1d7e new script: Add data in column(s) of second ASCIItable selected from row that is given by the value in a mapping column 2014-06-06 14:35:37 +00:00
Philip Eisenlohr 63c1a0a212 updated to croaking, scriptID, IO-piping. 2014-06-06 09:43:28 +00:00
Philip Eisenlohr 9834c8466c scripts to scale, shift, and rotate scalar, vector, or tensor quantities of ASCIItables (in-place!) 2014-05-27 08:08:10 +00:00
Philip Eisenlohr 65f1f55a87 added option to pre-rotate orientation (change lab frame) 2014-05-26 14:31:42 +00:00
Philip Eisenlohr 51e7f9eed9 added --reverse option. corrected help hint regarding sorting order 2014-05-23 14:05:58 +00:00
Philip Eisenlohr 06715dc99f added "no data check" and updated script backbone to be consistent with other scripts (croak). 2014-05-19 13:43:26 +00:00
Tias Maiti 0885ea8023 changed variable interpolation to be useable in connection with dictionary definitions for formulas. Slightly less efficient but now much more powerful... 2014-05-02 19:56:56 +00:00
Philip Eisenlohr a8a9c8eef5 added possibility to not sort (--sort none) output by its --separation such that the output can be used in conjunction with the VTK files produced by DAMASK. 2014-04-14 21:45:24 +00:00
Philip Eisenlohr babde13c6a capture missing --vtk option 2014-04-03 01:00:00 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Martin Diehl 782b54a430 more LF, Id, and executable status changes 2014-04-01 17:52:31 +00:00
Martin Diehl 188002f16e more LF, Id, and executable status changes 2014-04-01 16:58:54 +00:00
Philip Eisenlohr 16743f8631 explicitly state unbuffered ASCIIoutput 2014-03-28 18:15:37 +00:00
Martin Diehl 0363b1fb04 updated reporting (according to addCauchy) 2014-03-10 14:01:39 +00:00
Christoph Kords e10f8f1b5e corrected typo 2014-03-04 16:43:22 +00:00
Philip Eisenlohr 6fd8407d6e moved "predefined" to colormap init
cleaned interpolate to not change color model

fixed color range cropping issue
2014-02-28 16:09:01 +00:00
Philip Eisenlohr 63569b19b6 added use of "defaultdict" from collections 2014-02-28 15:56:28 +00:00
Martin Diehl 27c83f60a6 fixed typo 2014-02-26 15:05:34 +00:00
Philip Eisenlohr 7f08c976c3 skip file if mandatory column not found in ASCIItable 2014-02-26 14:56:06 +00:00
Philip Eisenlohr 98a8b47a09 can now read legacy VTK files with unstructured grid data 2014-02-24 19:23:08 +00:00
Philip Eisenlohr a659d071a9 added '--degrees' option to indicate Euler angles unit 2014-02-10 18:01:21 +00:00