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
fc9ecc7ed5
fixed bugs in HSL2RGB and the two CIE conversions.
...
streamlined interpolation.
2013-02-02 20:17:02 +00:00
Philip Eisenlohr
95c74961dd
polished syntax here and there.
2013-02-02 15:11:55 +00:00
Philip Eisenlohr
0dabe29657
ignore problems when importing (outdated) core module during its rebuilding.
2013-02-01 11:45:20 +00:00
Philip Eisenlohr
20060b4275
added pathInfo parsing of $shellVariables. These are now interpreted as absolute path (used to be wrongly considered relative...)
2013-02-01 11:30:57 +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
96577b18fb
introduced error code for run_test.py
2013-01-23 18:33:46 +00:00
Mahesh Balasubramaniam
a1f0ed483c
export method with format and revised crop options added to the Colormap class.
2013-01-18 17:17:50 +00:00
Martin Diehl
b018934b45
simplified code, added functionality to export raw list
2013-01-16 18:45:10 +00:00
Mahesh Balasubramaniam
7ac7d1a657
new tool for creation of colormaps, now using proper classes
2013-01-15 18:24:10 +00:00
Martin Diehl
0d4db957f8
started to rearrange testing folder
2013-01-14 15:20:17 +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
e3970ce152
added detection of Marc 2012 in postResults (lib/damask/solver/marc.py)
...
added test for Marc 2012 and updated old tests from 2010 to 2012
2012-12-13 17:50:00 +00:00
Martin Diehl
7848e933bb
wrong file was selected during last commit
2012-12-12 17:10:04 +00:00
Philip Eisenlohr
dc746119e3
introduced two more helper functions:
...
- labels_index
- data_asArray
2012-12-06 21:46:19 +00:00
Martin Diehl
549ea3c1e6
updated restart test to use the new table comparison facilities and check the new basic solver (part 1, there is some problem with renaming)
2012-11-23 17:21:18 +00:00
Martin Diehl
11ed7fab86
corrected bug in curl calculation causing the output of transposed tensor (according to information stored in testing/9102/proof/Curl of Tensor - Physics Forums.pdf)
...
addCurl test is now done against analytical solution and working, added it to list of automated tests.
small improvements on test.py
2012-11-23 15:16:51 +00:00
Martin Diehl
565713fecb
improve functionality to compare ASCII tables
2012-11-22 18:01:51 +00:00
Martin Diehl
a40b73dc72
for array comparison, only values are taken into consideration that are non zero in array 1 AND array 2
2012-11-21 15:37:59 +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
7ad3ce62e7
added hint if test don't support update
2012-10-09 07:37:48 +00:00
Claudio Zambaldi
1585fbe927
improved material.config writer class
...
includes example of usage
should replace material.py, after the tests
have been confirmed to work with it
mat=damask.Material()
m=mat.example_1()
m.write(file='material.config_<descriptive-label>')
2012-09-07 18:25:25 +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
87bec7eafa
added test to check if lab-to-load rotation is done properly, small improvement on test.py
2012-08-14 13:23:50 +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
Martin Diehl
8a64be7d1b
added restart-test to list of automated tests, improved reporting of tests
2012-07-26 07:47:31 +00:00
Claudio Zambaldi
9078d70af0
polishing, and using numpy's deg2rad/rad2deg
2012-07-19 16:05:05 +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
95d292b286
2012-07-18 12:31:07 +00:00
Martin Diehl
fe3b537851
added some useful functions for copying and comparison and renamed some functions in the lib file; changed the tests accordingly
2012-07-17 13:04:57 +00:00
Martin Diehl
7847816044
changed back to previous (working) version
2012-07-05 20:27:05 +00:00
Mahesh Balasubramaniam
ca83c6082a
2012-07-05 11:21:06 +00:00
Martin Diehl
e18a6f6c7f
again small adjustments for the automatic testing
2012-05-29 09:59:04 +00:00
Martin Diehl
34777e3df8
some smaller improvements on the intel compilation test
2012-05-25 15:11:00 +00:00
Taymor El Achkar
be355c8f40
updated reference result for compile test
...
added dislotwin law to hex elastic test and drastically increased loading time. still the question why Young's modulo is increasing.
added possibility to add crystallite microstructure in material.py
2012-05-24 16:00:32 +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
Martin Diehl
31753be16f
updated setup/setup_processing.py with new files
...
added data_readLine(LINE) and data_skipLines(LINES) for ascii table
2012-04-18 11:42:57 +00:00
Martin Diehl
efd653fb00
removed old *.output* and *.spectralOut as they are not updated anyway from reference.
...
introduced a numbering scheme for variants
calculated new reference results due to slight changes
2012-03-09 16:30:42 +00:00
Martin Diehl
3f1c16e079
removed headerLen completely, use len(self.info)+1 instead
2012-03-09 14:18:48 +00:00
Martin Diehl
ee6b1eb22c
elastic phenopowerlaw for hex crystals is working, results are close to analytic ones but there is a small "elastic hardening" and the values are a little bit higher than the ones calculated with mtex
2012-02-24 14:34:44 +00:00
Martin Diehl
7ce583405f
made copy_Current2Current and copy_Current2Current in testclass more verbose, added numerics with fixed seed to compile test to get always exactly the same results
2012-02-23 17:44:09 +00:00
Philip Eisenlohr
6b8bebad49
removed unused headerLen property. added info_clear() method
2012-02-23 13:54:38 +00:00
Martin Diehl
a8f4fc76b3
made results better visible
2012-02-23 09:23:37 +00:00
Philip Eisenlohr
58fdf4ebfc
improved STDOUT | STDIN constructs -- no more broken pipe left-overs (I hope)
2012-02-16 18:42:04 +00:00
Philip Eisenlohr
c24f258eba
now works with piped STDOUT | STDIN constructs.
2012-02-16 18:03:14 +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
4c59015a78
further simplified creation of tests by moving the option parsing to the general test class
2012-02-15 20:54:14 +00:00
Philip Eisenlohr
d642730776
added method to set data value in given column (by name)
2012-02-15 14:50:51 +00:00
Philip Eisenlohr
8671b8ed38
script to delete existing columns from ASCIItable
2012-02-14 12:04:37 +00:00
Martin Diehl
7960600dbe
improved updating of reference results
2012-02-09 14:41:18 +00:00
Philip Eisenlohr
a3e47b2d65
added method to return data as list of floats.
...
safer check whether ASCII file has ended.
2012-02-02 17:13:51 +00:00
Claudio Zambaldi
7dd67e3ebb
improved creation of material.config files, mostly done by Philip
2012-02-01 19:44:36 +00:00
Martin Diehl
e87296b10a
added debug output for tests, corrected bug reporting number of successful tests
2012-01-31 13:10:14 +00:00
Martin Diehl
2a89d9b81a
simplified compilation testing by introducing some small helper functions for common tasks, continued to rename
2012-01-27 09:55:19 +00:00
Martin Diehl
20a775e8d1
small improvements (more output to screen)
2012-01-26 15:26:21 +00:00
Martin Diehl
becb863110
added test for gfortran and gfortran vs intel, renamed intel test to new numbering scheme and changed to new div criterion
...
introduced "try" statement in lib/damask/test/test.py to avoid crash if a test variant fails
2012-01-25 15:14:31 +00:00
Claudio Zambaldi
2b8e0b27fc
a rough version of a t16 to vtk converter
...
needs polishing to be used with damask python package
paraview plotting is useful if you want semi-transparent iso-surfaces
2012-01-24 14:26:13 +00:00
Philip Eisenlohr
3c87d20353
added capability to rewind to beginning of data
2012-01-19 20:37:53 +00:00
Philip Eisenlohr
4eb754b1fb
added release '2011'.
...
added toolsPath() method.
added optional release hinting for path determinations.
streamlined submit_job method.
2012-01-18 09:41:10 +00:00
Philip Eisenlohr
0b4b154abb
reworked class definition.
...
now follows workflow of
1. clean
2. prepare
3. run
4. postprocess
5. compare/update
added file-structural helper functions.
2012-01-18 09:34:49 +00:00
Philip Eisenlohr
aba4703463
added property "headerLen"
2012-01-18 09:30:50 +00:00
Christoph Kords
7f94b3f267
subroutine path was not correct
2012-01-17 09:28:52 +00:00
Christoph Kords
684cac1206
corrected typo
2012-01-17 08:44:57 +00:00
Philip Eisenlohr
48729ff2e1
modified testing class to use generic "damask" module.
...
removed obsolete individual class definitions.
2012-01-16 15:18:43 +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
Philip Eisenlohr
8be14ef72e
now aware of blank and comment lines in pathinfo
2011-12-20 10:55:47 +00:00
Christoph Kords
2bfbb97c11
import of re module was missing
2011-12-18 15:49:44 +00:00
Philip Eisenlohr
d96c64373c
added option to have blank pathInfo (to switch off ACML for example)
2011-12-15 22:21:44 +00:00
Claudio Zambaldi
fbfb39de3f
removing 2 bugs from previous commit
2011-12-15 15:29:22 +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