Commit Graph

223 Commits

Author SHA1 Message Date
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 35bd460e39 added "core" package capability to processing
(renamed former f2py modules)

reverted pathinfo...
2011-12-22 10:36:59 +00:00
Philip Eisenlohr 429af90ccb added Id flag and content
added "core" package capability
2011-12-22 10:30:25 +00:00
Krishna Komerla f463c2da70 added addCurl.py, not sure if it works correctly. still in old (eq. to addDivergence.py) style 2011-12-21 17:25:31 +00:00
Philip Eisenlohr 06cb99d156 restructured location of FFTW libs 2011-12-21 13:09:55 +00:00
Philip Eisenlohr 8be14ef72e now aware of blank and comment lines in pathinfo 2011-12-20 10:55:47 +00:00
Philip Eisenlohr c5d64df287 example for new syntax and options. 2011-12-20 10:20:42 +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
Martin Diehl 031a00237f improved makefile, no directly linking to files of acml
corrected default pathinfo
improved test for intel compiler
2011-12-09 16:34:53 +00:00
Martin Diehl 7d1d2b6229 corrected small mistake in setup_code and makefile
test no. 1500, spectral compile test with intel compiler is now working. adjusted run_test and tamask_test
2011-12-09 15:13:27 +00:00
Philip Eisenlohr 2ceb78c337 introduced new damask_tools method "relPath" and adopted it in setup_processing.py and setup_code.py 2011-12-06 18:38:03 +00:00
Martin Diehl b752becbea added functions in DAMASK_TOOLS to get pathInfo, root and bin directory 2011-12-05 13:05:42 +00:00
Claudio Zambaldi 81e9607316 tests which define variants in test_variants() generator can be handled 2011-11-23 18:32:22 +00:00
Claudio Zambaldi 99b7dcf7b5 polishing and changed to comply with PEP 8 style guide 2011-11-23 15:42:18 +00:00
Claudio Zambaldi 205bb49b34 now all methods use generic add_data
added change_value method
2011-11-23 15:21:16 +00:00
Philip Eisenlohr 21bcfc2986 added class ASCII_TABLE for easier processing of those... 2011-11-23 14:54:05 +00:00
Philip Eisenlohr e8f5996a96 renamed MSC_TOOLS.library_paths to libraryPath, since only single string is returned 2011-11-23 08:25:52 +00:00
Martin Diehl 5a1e73b53d added set_timelimit functionality to fortran-wrapper of FFTW and introcudec it to DAMASK_spectral.f90 2011-11-21 18:48:38 +00:00
Claudio Zambaldi b67b5f9ef9 improvements! 2011-11-21 18:01:08 +00:00
Claudio Zambaldi ddc2b04661 material_config reads and writes files, adds or changes existing parts; still needs some polishing... 2011-11-21 16:40:23 +00:00
Philip Eisenlohr 3c7ebc7a30 introduced material.config parsing and self representation, i.e. printing of class object. 2011-11-18 19:59:20 +00:00
Claudio Zambaldi cf8b60986e response to Philip's comments. Interesting, chat via SVN :) 2011-11-17 21:19:08 +00:00
Philip Eisenlohr ac8b5f0708 added short comment for discussion... 2011-11-17 18:39:09 +00:00
Claudio Zambaldi ae73172ba7 python syntax 2011-11-17 16:17:56 +00:00
Martin Diehl ddb68eee7c new module damask_test, set compile=false as default in msc_tools, added first draft of material.config generator to damask_tools 2011-11-17 14:05:39 +00:00
Claudio Zambaldi 795e3d070b polishing on test 2000_hex_elastic
postprocessing commands are refactored out into file postprocessing.cmd, one command per line
2011-11-10 10:42:59 +00:00
Claudio Zambaldi bfd6d4831f tests 2000 and 2001 updated
use damask_tools to check whether DAMASK_ROOT is set
2011-11-09 12:09:54 +00:00
Martin Diehl de96e99bca corrected determination of restartRead from commandline (now done by FEsolving instead of DAMASK_spectral_interface)
recompiled fftw libraries with --enable-shared to make them work with f2py
added draft for compilation test of spectral solver
2011-11-07 18:25:10 +00:00
Philip Eisenlohr 313cd2edb3 ACML path example now more realistic.
corrected dangerous overwriting of LD_LIBRARY_PATH and PYTHONPATH.
2011-11-04 15:42:52 +00:00
Christoph Kords 4966231e5b use return instead of two nested breaks that do not even work correctly like it is used here 2011-11-04 11:30:29 +00:00
Philip Eisenlohr 7af1249298 made string comparison fool-proof with lower-casing. 2011-11-03 17:34:44 +00:00
Philip Eisenlohr cac203939b $DAMASK_ROOT takes precedence if defined in environment. 2011-11-03 13:55:17 +00:00
Philip Eisenlohr 9e3d7d7d6c made $DAMASK_ROOT definition optional 2011-11-03 13:51:54 +00:00
Philip Eisenlohr b9647b2584 moved parts into new "lib" folder 2011-11-03 13:21:11 +00:00
Philip Eisenlohr 4cac885bd0 added function to find out shared library path of most recent Mentat release 2011-11-03 12:59:51 +00:00
Philip Eisenlohr b5e6b754fb starting "lib" subfolder for shared goodies. 2011-11-03 12:19:26 +00:00