Martin Diehl
a21e8cd863
usind explicitly python2 to run in environments with python 3 as default
2016-05-11 11:01:39 +02:00
Martin Diehl
e55d0ae3ca
further attemps to make it conform with best python practice
2016-03-01 20:44:43 +01:00
Martin Diehl
2a50c6bf86
using prospector --tool=dodgy --tool=pyflakes -M to find python flaws
2016-03-01 18:25:14 +01:00
Martin Diehl
7c9d344601
python files now report their version depending on VERSION file in $DAMASK_ROOT
2016-01-27 17:06:00 +00:00
Martin Diehl
f4d4a8e1ec
adopted philips changes for reporting, using pyflakes to clean up
2015-09-24 09:24:42 +00:00
Martin Diehl
57a2c90d30
corrected according to vtk specification and remove an unused option
2015-04-08 18:48:35 +00:00
Martin Diehl
8a30021202
cleaned up core modul
2015-03-27 14:10:18 +00:00
Martin Diehl
1a3bfc7d1f
updated according to new convention for ip and nodes
2015-03-24 13:52:40 +00:00
Martin Diehl
5e8fff13d9
worked on the vtk binary out, still some problems with multicomponent datatypes
2014-12-18 21:46:38 +00:00
Martin Diehl
6604d0f8e8
polishing
2014-12-18 19:26:52 +00:00
Martin Diehl
ce1f17c9cb
worked on the binary vtk out needed for large datasets
2014-10-14 07:13:13 +00:00
Martin Diehl
d07a098724
fixed wrong help introduced with last change on 3Dvisualize
2014-09-19 09:50:26 +00:00
Martin Diehl
f2c4db0bb5
correcting help and default, some comments
2014-09-12 14:46:12 +00:00
Martin Diehl
afb9a2186b
removed explicit default setting: type='string' and action='store'
2014-09-12 14:14:55 +00:00
Martin Diehl
649e637561
added some more post processing tests and improved output
2014-08-06 19:06:33 +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
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
f72a87f94b
polished scripts (option parser, numpy)
2014-07-09 10:07:24 +00:00
Luv Sharma
596ee18da9
improved the regex for header reading
2014-06-08 14:43:32 +00:00
Martin Diehl
ee99216edc
polishing compile_CoreModule, bug fix for Makefile
2014-01-28 07:34:13 +00:00
Martin Diehl
1915215c6f
commented out not working use of vtk class
2013-09-20 11:27:11 +00:00
Martin Diehl
e3a1e70542
started to use vtk class for writing results
2013-06-27 18:21:20 +00:00
Martin Diehl
becacb675a
linear reconstruction no longer needed for odd resolution
2013-06-05 14:05:11 +00:00
Philip Eisenlohr
32a16f9745
wildcard matching for column headings, e.g. "[159]_p" to extract only the diagonal elements (scalars) of stress, or "[1-9]_p" to extract all nine values.
...
fixed VTK file format problem where double precision floats were incorrectly interpreted because they were announced as "float" (now "double").
2013-05-29 10:24:00 +00:00
Martin Diehl
770712529d
one more bug fix related to scaling
2013-03-26 16:16:59 +00:00
Martin Diehl
ccef9d4f73
fixed scaling option
2013-03-26 14:18:29 +00:00
Philip Eisenlohr
5b96c1d62a
scaling of deformation gradient fluctuations now possible in x,y,z independently (give array).
2013-03-22 15:09:55 +00:00
Philip Eisenlohr
30024af6c2
polished string concatenations
2013-02-14 21:33:11 +00:00
Martin Diehl
e74b5da19a
changed all remaining routines to fortran-fast arrays (geometry reconstruction etc.)
...
changed all remaining routines in f2py to more clever determination of array size (requires f2py >= 2.0)
enabled 3D visualize to work with odd resolution by switching to linear reconstruction
PLEASE NOTE: Redefinition of routines for f2py might cause trouble -> DELETE DAMASK_ROOT/lib/damask/core.so in this case
further changes: added pure statement where possible, polished, unified use of "Q" for "Quaternion" and reordered math to have similar routines together
2013-01-31 16:28:08 +00:00
Martin Diehl
b7dc9f9944
renamed spectral_buildElements.py to nodesFromCentroids.py and added first simple version of an ascii table to ang converter
2012-08-30 17:01:46 +00:00
Martin Diehl
96ba5ecae4
moved some more 'mesh related' functions for post processing from math.f90 to mesh.f90
...
f2py functions remaining in math.f90 now uses assumed size arrays in order to have simpler interfaces. This is only working with python 2.7!
changed python pre- and postprocessing scripts.
If you encounter any problems whith core modules, try to remove the old core.so in the lib/damask
2012-08-27 08:04:47 +00:00
Mahesh Balasubramaniam
3d7bc40520
added output of defaults for mesh, points, and box to help
2012-08-02 13:22:57 +00:00
Martin Diehl
13caf2d389
made linear shape reconstruction working again, pretty similar results like corrected FFT reconstruction
2012-07-18 18:39:59 +00:00
Philip Eisenlohr
925759000c
added option to select data separation character from a choice of:
...
newline
tab (default)
space
2012-06-19 16:00:59 +00:00
Philip Eisenlohr
376ec2cd94
add option to output double, triple, and quadruple scalars
2012-06-19 15:30:16 +00:00
Philip Eisenlohr
076fef3323
now fully supports output of vector fields (needs POINT data for useful visualization!!)
2012-01-19 20:42:50 +00:00
Martin Diehl
9abf5a110d
changed from old DAMASK (f2py) module to new integrated damask tools
2012-01-06 10:41:23 +00:00
Martin Diehl
ea0fe7b406
corrected 3D visualize (math.f90 part was not working)
...
small polishing of voronoi_tessellation.f90
2011-12-06 17:46:33 +00:00
Martin Diehl
5ebeb96e85
made DAMASK to work with gfortran:
...
-removed to long lines
-restructured f2py modules and merged make_DAMASK2Python into setup processing
-setup_code.py now sets library path in makefile and asks for compile switches for spectral code
-substituted \ in format strings with $
restructured DAMASK_spectral:
-more logical output and structure of code
-better input for spectral debug parameters
2011-12-06 16:58:17 +00:00
Martin Diehl
ace6851389
moved all routines from postprocessingMath to math.90, renamed the module to DAMASK, changed scripts and interfaces accordingly.
...
polished math.f90 (mainly added _pInt/_pReal and intent(in/out))
curl_fft is still a dummy function
2011-12-01 12:01:13 +00:00
Claudio Zambaldi
06176873e4
after a somewhat lengthy discussion with Philip about usability and developability and general file-naming philosophy we think that we found a compromise on the "to-dot-py or not-to-dot-py" issue:
...
symlinks in DAMASK_ROOT/bin do not carry the extension, but the source files do.
Hope that results in the maximum number of happy developers and users.
2011-11-09 15:37:45 +00:00