Commit Graph

675 Commits

Author SHA1 Message Date
Martin Diehl 96fe818f5d added more options to command line 2014-08-05 14:29:36 +00:00
Martin Diehl b4b9835d18 some work on the yield surface generator 2014-08-04 21:15:56 +00:00
Martin Diehl a0f9865133 updated to state-of-the art file handling etc 2014-08-04 20:07:20 +00:00
Martin Diehl 0874ebe096 new script to name abaqus output like in for marc.
written by B Bode from University of Kassel
2014-08-04 18:41:44 +00:00
Martin Diehl 7df8f04f65 updated test for postprocessing and improve some of the scripts 2014-08-04 17:53:41 +00:00
Tias Maiti 5556dad13f updated to latest ASCII table handling style 2014-07-28 15:34:11 +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 a804b23b7a bugfixing 2014-07-24 22:02:10 +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 42032cbc25 started to restructure fitting to criterion 2014-07-22 21:59:58 +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 c8cd775747 added spectral solver grid location and index function to util library 2014-07-21 17:49:45 +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 fd2164b391 von Mises fitting seems to work, still needs polishing (adding options etc) 2014-07-09 09:31:26 +00:00
Martin Diehl 5f638a059a corrected string substitution 2014-07-09 07:17:58 +00:00
Martin Diehl fdb4f2ffea now the program flow is working 2014-07-08 16:09:02 +00:00
Philip Eisenlohr 826f3d4dc7 added possibility to rotate primitives.
better help text.
2014-07-07 17:32:37 +00:00
Martin Diehl 7a478d646a added call to DAMASK spectral 2014-07-07 14:17:44 +00:00
Martin Diehl a48b4cfc95 improved dummy yield surface generator 2014-07-04 13:40:15 +00:00
Martin Diehl a68fe7c77b first draft of a script to compute yield surfaces with the spectral solver 2014-07-02 10:42:51 +00:00
Martin Diehl 1ff38b98af fixed error in file handling 2014-06-18 09:00:57 +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 31aded8311 no scaling of the output by size (seeds files are within 0..1)
plus some polishing here and there
2014-06-08 12:48:32 +00:00
Philip Eisenlohr b0ab048d7b now aware of "origin" keyword in seeds-file 2014-06-07 18:15:08 +00:00
Philip Eisenlohr e3c4e0ecfc added option to override bounding box calculation from data with own geometry. 2014-06-07 18:14:30 +00:00
Philip Eisenlohr 72e9c512bd polishing of variable names, comments, and some of the programming structure. 2014-06-07 18:13:29 +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
Pratheek Shanthraj 522efaac92 added immutable option 2014-06-05 17:18:52 +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 3ec323e564 Create seed file by taking microstructure indices from given ASCIItable column. 2014-05-26 14:57:39 +00:00
Philip Eisenlohr f81c6f6890 changed ASCIItable reading from _asArray (deprecated) to _readArray.
observe physical box size.
added compatibility to VTK > version 5.
2014-05-26 14:35:25 +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
Martin Diehl 89c896678b added printing of cli arguments to seeds_fromRandom, fixed regression in compile_CoreModule and DAMASK_spectral_doxygen 2014-05-15 09:58:31 +00:00
Philip Eisenlohr 8a80f5ec7a fixed typo that prevented selection of "Moore" neighborhood.
made "boundary" and "biplane" synonyms.
adopted more modern treatment of geom-files.
introduced scale for voxel size (independent of physical size and resolution given in geom-file).
2014-05-14 15:26:06 +00:00
Philip Eisenlohr 8b9ed55928 small "beautification" 2014-05-13 15:03:55 +00:00
Philip Eisenlohr 13f1607e15 changed default behavior to (system-provided) random seed instead of fixed "0" 2014-05-03 02:36:23 +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 a85ea307f1 changed (with backward compatibility) option "origin" to more suitable name of "center" since it specifies the position of the primitive's center, while "origin" could be mistaken for the lower left corner or such... 2014-04-09 14:22:27 +00:00
Philip Eisenlohr babde13c6a capture missing --vtk option 2014-04-03 01:00:00 +00:00
Martin Diehl 33af5af8cb some small changes on the header/shebang 2014-04-01 19:29:14 +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
Claudio Zambaldi 559f14ca35 prepended *draw_manual for faster processing in "new" Mentat, thx Christoph 2014-04-01 17:06:10 +00:00
Martin Diehl 188002f16e more LF, Id, and executable status changes 2014-04-01 16:58:54 +00:00
Martin Diehl c254f87814 now assuming periodic microstructures (was not fully correct before, assuming non-periodicity) 2014-04-01 16:43:39 +00:00
Philip Eisenlohr 16743f8631 explicitly state unbuffered ASCIIoutput 2014-03-28 18:15:37 +00:00
Christoph Kords f19955c84a added options to specify the columns for the grain IDs and segments
improved error handling
2014-03-12 14:26:44 +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 943349fdbb bunch of new scripts:
gwyddion_filter tries to smoothen out Gwyddion data sets.
vtk_fromGwyddion produces vtk mesh from Gwyddion data set.
geom_addPrimitive allows to add box, cylinder, or ellipsoidal blobs to geom file.
2014-03-04 03:34:34 +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
Philip Eisenlohr fdbde250dc deleted obsolete table.data_rewind to be pipe-safe 2014-02-28 15:55:48 +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
Martin Diehl 9d402022aa fixed small bug when using renumber option 2014-02-15 10:37:50 +00:00
Martin Diehl 371a027de9 added option '--renumber' to geom_rescale and geom_grainGrowth to renumber microstructures from 1 to N (without gaps), off by default.
added metavar information to some scripts
2014-02-14 13:17:29 +00:00
Philip Eisenlohr a659d071a9 added '--degrees' option to indicate Euler angles unit 2014-02-10 18:01:21 +00:00
Philip Eisenlohr 85e4896478 "--degrees" option to specify Euler angles in degrees (instead of radians) 2014-02-09 20:36:42 +00:00
Philip Eisenlohr ccb950f3d8 checked Unix command piping conformity -- seems to now work:
seeds_fromRandom |
geom_fromVoronoiTessellation |
geom_grainGrowth |
geom_unpack |
geom_pack

However, grainGrowth functionality seems broken...
2014-02-03 23:44:29 +00:00
Martin Diehl f66c0727d0 fixed wrong type for arguments introduced last time (must be string to have multiples) 2014-02-03 20:23:49 +00:00
Martin Diehl 7a9fa061de added --compress option: for ang files filtered to have single orientation in grain (OIM filter), microstructure and texture in material.config are compressed 2014-01-30 12:00:20 +00:00
Philip Eisenlohr 3c2af8e7a6 fixed dropped file handle when flushing closed output... 2014-01-29 21:16:44 +00:00
Philip Eisenlohr 24d7f55f55 check whether output is already stopped (in command piping for instance) 2014-01-29 21:13:36 +00:00
Philip Eisenlohr cd18ec2abf removed unneccesary table.data_rewind, which breaks command piping 2014-01-29 21:03:56 +00:00
Martin Diehl ee99216edc polishing compile_CoreModule, bug fix for Makefile 2014-01-28 07:34:13 +00:00
Philip Eisenlohr 1bd456aa22 corrected options.error --> parser.error 2014-01-27 14:30:37 +00:00
Philip Eisenlohr a1cfc85d74 produce VTK unstructured grid with voxels around all points given in an ASCIItable. 2014-01-27 14:10:29 +00:00
Philip Eisenlohr 13fed38a2f add scalar and RGB tuples from ASCIItable to existing VTK voxel cloud (*.vtu) 2014-01-27 14:05:03 +00:00
Philip Eisenlohr c9c6588f7c renamed seeds file related scripts in a (hopefully) consistent manner 2014-01-23 20:48:33 +00:00
Philip Eisenlohr eda9076157 use existing geom file and produce seed points from each voxel (filtering possible) 2014-01-23 20:43:42 +00:00
Martin Diehl 8b4af554ba added verbosity on help messages 2014-01-20 14:41:56 +00:00
Luv Sharma 649b8b91fe fixed reporting of arguments 2014-01-15 15:10:13 +00:00
Martin Diehl db18b3c77f added missing script arguments in documentation part of the header 2014-01-14 10:53:45 +00:00
Martin Diehl 0f101c8dbf adopted to improved HDF5 format 2014-01-13 16:22:01 +00:00
Martin Diehl aab0208c65 more modifications, only configure needs modifications 2014-01-12 17:29:00 +00:00
Martin Diehl a614e76968 first post processing script for HDF5 output 2014-01-07 20:42:51 +00:00
Philip Eisenlohr 4f30a6e05b now compatible with new table.data_readArray method 2013-12-31 21:06:32 +00:00
Martin Diehl 2f1db8f69a introduced delimiter option (default = tab) for ascii table output, use space for geometry files 2013-12-17 08:16:29 +00:00
Philip Eisenlohr e20ffb379d changed numpy.readtxt logic from "data_asArray" returning a copy to inplace "data_readArray" now directly storing into self.data 2013-12-14 03:51:22 +00:00
Philip Eisenlohr 600389ac44 new script to sort ASCIItable according to (multiple) columns 2013-12-14 03:48:50 +00:00
Martin Diehl 37046cd2ea changed Fortran standard to 2008 2013-12-12 22:30:22 +00:00
Christoph Kords 0f8790c148 clarified help string 2013-12-12 08:48:57 +00:00
Philip Eisenlohr 10c8a1a3ce corrected typo in usage hint 2013-12-12 02:35:01 +00:00
Philip Eisenlohr 894776ca67 fixed stupid bug addressing a dict by dict{key} instead of dict[key] 2013-12-11 14:30:27 +00:00