Commit Graph

49 Commits

Author SHA1 Message Date
Martin Diehl f52721e0a7 unneded modules 2017-11-21 11:41:02 +01:00
Martin Diehl 4dfb52c792 unfinished HDF5 should not be part of the next release 2017-11-21 10:23:50 +01:00
Philip Eisenlohr 2fb97df16c reduced the frequency of h5py complaints to once every 2h 2017-02-17 12:36:01 -05:00
Martin Diehl 947858d192 caused trouble when writing ASCII table to stdout 2017-02-14 09:55:19 +01:00
Martin Diehl 75149cc0cd h5py is not available on IronPython (Abaqus python environment) 2016-10-14 07:04:46 +02:00
chen e9c1068c99 mimic other sub modules in DAMASK for H5Table 2016-10-09 19:03:28 -04:00
chen f992edd3e9 add import at package level 2016-10-09 17:19:30 -04:00
Martin Diehl 787a8da1c3 removed remainders of Corientation compilation 2016-07-14 16:10:59 +02:00
Martin Diehl be02300d38 print statement disturbs shell piping 2016-07-04 21:44:59 +02:00
Martin Diehl 0632dc1308 pyflakes complained 2016-04-15 00:22:41 +02:00
Martin Diehl 3824b683bc removed extra cython file, symlink to standard orientation instead 2016-03-24 15:06:04 +01:00
Martin Diehl c73382e51f further cleaning 2016-03-24 14:36:24 +01:00
Martin Diehl a4bbdd5ecb further commenting, removing not used variables and code (marc2vtk) 2016-03-04 19:06:36 +01:00
Martin Diehl f2c7eea161 git compatible way of version handling for Fortran and Python 2016-01-27 16:48:27 +00:00
Martin Diehl 6848d83d13 behavior of IO_stringPos was unsafe in some situations, also took the chance to rename the variables used in its context to a more meaningful name.
functions in the core module are not used, including kdTree
2015-08-28 07:38:48 +00:00
Martin Diehl 22c52fbd32 cleaned core module 2015-08-12 18:48:09 +00:00
Chen Zhang 1ec3639cf1 use pure python implementation of orientation class as default 2015-08-02 17:49:38 +00:00
Chen Zhang fbb7f9b11b remove deprecated function from math.f90 2015-07-29 20:49:42 +00:00
Chen Zhang 5f74f3e95e add Cython version of orientation module to provide faster orientation calculation. 2015-07-29 19:23:06 +00:00
Martin Diehl 4448187c1e functions have been removed in previous commit 2015-05-05 14:44:31 +00:00
Martin Diehl 8a30021202 cleaned up core modul 2015-03-27 14:10:18 +00:00
Martin Diehl dd5055dc19 improved warning in case the core module is not found, corrected '/echo/' handling (had problems with key 'c/a' 2015-03-15 15:24:45 +00:00
Martin Diehl 51b92f3ef9 simplified option parsing (so far, only for addCalculation and addMises) 2014-06-17 07:10:10 +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 22aa934a7d restructured results class, starting to write the unified damask result class 2014-01-09 21:35:21 +00:00
Philip Eisenlohr d17d6636df substantial rewrite of former package. now includes dedicated orientation and (associated) symmetry class. should be easier to handle...
new or improved methods:
- disorientation (between two orientations)
- IPFcolor: TSL color of inverse pole figure for given axis
2013-11-25 19:04:39 +00:00
Philip Eisenlohr c496288144 make "orientation" module part of damask python interface 2013-10-08 13:56:28 +00:00
Martin Diehl 3f9d642d87 corrected error message when complaining about uncompiled core module 2013-04-29 16:30:08 +00:00
Martin Diehl b94caae041 added missing import of os 2013-02-19 15:57:51 +00:00
Philip Eisenlohr d8da2f60d8 added core module function math_periodicNearestNeighborDistances 2013-02-19 14:56:26 +00:00
Philip Eisenlohr 0dabe29657 ignore problems when importing (outdated) core module during its rebuilding. 2013-02-01 11:45:20 +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 fd0e096256 rewrote colormaps to use classes 2013-01-08 18:47:44 +00:00
Mahesh Balasubramaniam 820b8eb2c1 put colormap related functions into library, renamed and added scripts for creation of colormaps 2013-01-04 13:57:36 +00:00
Martin Diehl 78aa010565 now just comparing substring to figure out if setup_processing was importing the core module 2012-10-25 12:40:06 +00:00
Martin Diehl 868984cb89 import of damask.core will not complain any more if done in setup_processing.py, however setup_processing.py will check if core.so exist after compilation and delete it before compilation 2012-10-25 07:55:27 +00:00
Martin Diehl 398643a3b1 made exception in case of non-working f2py code (core.so) again verbose 2012-10-10 16:38:02 +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
Martin Diehl ee1bde0cd7 enabling regridding more than once by introducing deallocation of arrays
added J2 test (stub from Taymour)
2012-07-31 15:37:49 +00:00
Claudio Zambaldi b2a7f85101 __init__ of damask package not crashing in python 2.5 if core module not available
added some Matlab-like utility functions (damask.sind, cosd, tand, acosd, ...)  that take and return degree instead of radians
2012-07-18 13:46:33 +00:00
Martin Diehl 77c066d0a8 corrected error handling to work with older python versions 2012-05-10 09:38:55 +00:00
Martin Diehl 331ef7ad68 made init of python module more verbose in case core modules cannot be loaded 2012-05-03 19:00:34 +00:00
Philip Eisenlohr ae8ec80dd0 croaking about missing core module now goes to STDERR (formerly this influenced piped STDOUT detrimentally...) 2012-02-16 18:02:15 +00:00
Martin Diehl dd1e968908 setup_processing.py uses damask module but builds the core part of it, therefore made the use damask.core optional by setting a try statement in __init__.py and a "from damask import xxx" 2012-01-04 11:06:24 +00:00
Philip Eisenlohr 429af90ccb added Id flag and content
added "core" package capability
2011-12-22 10:30:25 +00:00
Claudio Zambaldi a27a78bab1 changed per Philips suggestion
config folder will later contain debug.py and numerics.py
2011-12-15 15:15:32 +00:00
Claudio Zambaldi 0eb51046a4 worked on integrating using damask package in test
renamed config to material/material.py to make it more consitent
2011-12-15 14:53:10 +00:00
Philip Eisenlohr 2fcbc1ff13 started solver sub package
improved guessing of DAMASK_ROOT
2011-12-15 08:51:16 +00:00
Philip Eisenlohr 4faded6297 started DAMASK Python package... 2011-12-13 20:02:26 +00:00