Commit Graph

63 Commits

Author SHA1 Message Date
Martin Diehl 24391b5398 checked with prospector, adopted mainly docstrings 2016-03-04 17:53:55 +01:00
Martin Diehl 4fa2a58a19 needed to adopt to new test env (not perfect yet, but keeps things going) 2016-01-29 19:21:04 +01:00
Martin Diehl 37aa559bd4 fixed missing structure type in material.config, small changes in the other code 2015-12-15 14:30:17 +00:00
Martin Diehl 1f08d0fbf6 verbose option for compareTables, new option to filter (now before and after normalizing) 2015-12-11 17:23:36 +00:00
Martin Diehl c3dc05c53a continued work on test class and adopted some tests 2015-12-04 22:40:39 +00:00
Philip Eisenlohr a18a1066e2 started to rework test class. Martin probably needs to check and continue improving on this. 2015-12-03 21:52:03 +00:00
Martin Diehl 4ac9ef602e still trying to find a stable solution on all machines 2015-10-29 21:51:57 +00:00
Martin Diehl 31579b3f88 tolerances caused problems, introduced new funtionality based on np.allclose 2015-10-22 05:59:11 +00:00
Martin Diehl 61090c955d removed code doubling 2015-10-09 05:51:58 +00:00
Martin Diehl a29240242b standard name for numpy is np 2015-08-12 18:32:28 +00:00
Martin Diehl 35863e0229 fixed averageDown and made it's test running 2015-08-12 13:43:05 +00:00
Martin Diehl 36caddcc24 adjusted to new ASCII table file handling 2015-08-12 12:51:47 +00:00
Martin Diehl 8985a2d7e6 fixed wrong position when comparing tables 2014-10-09 15:37:35 +00:00
Martin Diehl 033a275d82 a bunch of small changes. deleted compiled FFTW libraries 2014-10-02 21:27:03 +00:00
Martin Diehl 1333921ed5 improved logging 2014-06-18 09:03:48 +00:00
Martin Diehl 25459823ee improved on test scripts to support individual parser options 2014-06-11 17:46:26 +00:00
Martin Diehl 07765da01a fixed typo 2014-06-07 08:36:43 +00:00
Martin Diehl f928d9406d replaced print output by logging class for better control over output (level, screen/file) 2014-06-04 15:34:35 +00:00
Martin Diehl 27ffa658b6 corrected use of variants 2014-06-03 17:19:56 +00:00
Martin Diehl 41b097bbc1 simplified updating 2014-06-03 13:09:52 +00:00
Martin Diehl 5321019457 updated some test related files as a preparation for a more intuitive automator 2014-06-03 10:30:51 +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 83e4bc3247 updated test for restart, now also checking if number of increments is the same
fixed output of test class
fixed small bug? in asciitable.py, @philip: please check
2014-02-03 19:30:28 +00:00
Christoph Kords de01c50d79 corrected format string in order to get meaningful error message 2014-01-29 12:54:18 +00:00
Martin Diehl 9ac8846e41 compiling with hdf5 is now working for DAMASK (if HDF5=ON) and for playground example in private 2013-11-07 12:52:36 +00:00
Martin Diehl a0f304021f fixed restarting for Polarisation and AL, updated corresponding test and polished output in python (some statements are screwed up when making them Python3 compatible) 2013-09-20 14:22:37 +00:00
Martin Diehl 415892b8e7 did some conversion needed for use with python 3 2013-09-18 19:31:27 +00:00
Martin Diehl aee8196b32 example test for Abaqus now takes files from examples folder, both Abaqus test take now *.env from installation/mods_abaqus 2013-03-26 12:06:19 +00:00
Martin Diehl cb8a7e7d25 new function to compare tables both located in current directory 2013-03-19 15:46:07 +00:00
Martin Diehl 3660b2a245 added functionality to check for available licenses to damask/environment.py, now using this functionality + a check for the correct version before starting Abaqus6.12.2_compileIfort/run_test.py and Abaqus6.12.2_example/run_test.py 2013-03-04 19:39:13 +00:00
Martin Diehl 96577b18fb introduced error code for run_test.py 2013-01-23 18:33:46 +00:00
Martin Diehl 0d4db957f8 started to rearrange testing folder 2013-01-14 15:20:17 +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
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 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 7ad3ce62e7 added hint if test don't support update 2012-10-09 07:37:48 +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 8a64be7d1b added restart-test to list of automated tests, improved reporting of tests 2012-07-26 07:47:31 +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
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 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