Commit Graph

5924 Commits

Author SHA1 Message Date
chen ae16ccae61 need to use deep copy when converting np array to vtk array
for batch array conversion, it is necessary to use the deep copy to ensure numpy_support.numpy_to_vtk works as it should.
2016-09-14 15:06:00 -04:00
chen 53d2df6058 vector support 1D vector with arbitrary lenght
simple hack to bypass the size check for vectors since vtk does not care the vector size.
2016-09-14 12:37:07 -04:00
Test User 67a5edc93b updated version information after successful test of v2.0.1-122-g804931d 2016-09-13 16:41:17 +02:00
chen 804931db9e force type cast index to int for numpy array
Force type casting indices into int array to avoid warning:
 
VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future

For more info, see http://stackoverflow.com/questions/20084218/deprecation-warning-in-scikit-learn-svmlight-format-loader
2016-09-12 19:09:48 -04:00
Test User 4cb27b76df updated version information after successful test of v2.0.1-120-g6941004 2016-09-12 16:40:50 +02:00
Martin Diehl 6941004657 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-12 06:55:37 +02:00
Test User e76c44b58b updated version information after successful test of v2.0.1-113-g77729f3 2016-09-12 04:41:00 +02:00
Martin Diehl fbacdd8e6d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-11 19:17:35 +02:00
Martin Diehl 9d7cad1fa4 python3 compatible solutions that still work on python2 2016-09-11 19:03:32 +02:00
Martin Diehl 77729f39e3 commenting last commit 2016-09-11 14:41:48 +02:00
tiasmaiti 06405bc251 fixed coordinate system convention to be right handed always instead of random left and right handed assignment 2016-09-10 16:39:25 -04:00
tiasmaiti 2daad7542e added option for periodic averaging 2016-09-10 16:39:25 -04:00
Martin Diehl 0b4e75c201 update function was not working due to name clash for self.update 2016-09-10 20:44:46 +02:00
Martin Diehl 590f42cdb6 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-09 22:35:44 +02:00
chen ee322be870 use np.histogram2d, fixed list.append bug when using weight column 2016-09-09 16:17:00 -04:00
Chen 8c4767d58c syntax fix 2016-09-09 07:28:54 -04:00
Chen 017c08a7bb syntax fix 2016-09-09 07:28:31 -04:00
Chen 5c5c0ab400 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-09-09 07:27:19 -04:00
Test User da08ea7078 updated version information after successful test of v2.0.1-103-g59e8109 2016-09-09 04:41:06 +02:00
chen da538fbce9 speed up of VTK data transformation 2016-09-08 18:05:49 -04:00
Martin Diehl 59e8109ced some comments, missing ierr 2016-09-08 08:51:07 +02:00
Martin Diehl 1e16ebe2ef not used any more 2016-09-08 08:45:46 +02:00
Martin Diehl c8f832e12f communication in code only run with a certain debug option on will not work
debug only happens at rank 0!
2016-09-08 08:43:15 +02:00
Martin Diehl 2d4b7c215f Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-07 22:18:50 +02:00
Test User 1fc653ca86 updated version information after successful test of v2.0.1-75-g6f843ce 2016-09-07 22:14:27 +02:00
Martin Diehl 9f1812bef9 not needed any more 2016-09-05 14:26:54 +02:00
Martin Diehl 4bbd69309d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-05 01:29:09 +02:00
Philip Eisenlohr 6f843ce85b Merge remote-tracking branch 'refs/remotes/origin/development'
Conflicts:
	lib/damask/test/test.py
2016-09-04 18:55:13 -04:00
Philip Eisenlohr cde7de4e9f improved superclass handling and compare_Tables 2016-09-04 18:46:53 -04:00
Martin Diehl 221d3753f0 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-04 19:07:15 +02:00
Martin Diehl 6ea7eeee08 bugfix when restoring old behavior 2016-09-04 07:34:58 +02:00
Martin Diehl 5fec85a159 not needed any more 2016-09-03 17:01:39 +02:00
Martin Diehl d94db61534 update only supported by minority of the tests 2016-09-03 17:01:10 +02:00
Martin Diehl c05307a273 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-09-03 14:35:53 +02:00
Martin Diehl a6940ab84f did not compile 2016-09-03 14:30:59 +02:00
Martin Diehl 0d43dfb2f7 allreduce makes sense here as for all other processes, worldrank check not needed anymore 2016-09-03 14:27:56 +02:00
Martin Diehl 6207f1e7d9 reporting MPI processes 2016-09-03 14:25:45 +02:00
Martin Diehl 9512231d49 cleaning 2016-09-03 13:53:41 +02:00
Chen a2f3839ca8 add missing numpy import 2016-09-02 14:37:15 -04:00
Chen d41ac4e463 remove white space in docstring 2016-09-02 14:35:23 -04:00
Chen 4c6b8c490f change one-line docstring to fit in one line. 2016-09-02 14:34:35 -04:00
Chen b16046fd43 remove unused import for test.py 2016-09-02 14:31:00 -04:00
Chen 2b3faf204c make table compare normalize data by type (scaler, vector, tensor) 2016-09-02 14:30:08 -04:00
chen d9077805e4 Forced symetric tensor when adding tensor to vtk
VTK addTensor by default using the lower triangle to populate its tensor object. Enforcing the tensor to be symmetric to avoid necessary confusion when adding data (most stress/strain tensor should symmetric by default, so it should not affect the results)
2016-09-02 09:30:49 -04:00
Chen 20d1164e5d add tensor support for vtk_addRectlinearGridData 2016-09-01 16:57:29 -04:00
Philip Eisenlohr 32c4a20a46 clean up, added --debug to base class, renamed testPossible to feasible 2016-09-01 15:37:49 -04:00
Chen 6db0a42eae addvtk data now support tensor type (9 components) 2016-09-01 12:47:26 -04:00
Philip Eisenlohr d529eae4a4 fixed MPI_reduce hiccup
see http://stackoverflow.com/questions/17741574/in-place-mpi-reduce-crashes-with-openmpi
2016-08-31 22:54:00 -04:00
Test User 22e7d6d4e1 updated version information after successful test of v2.0.1-59-g4b02a55 2016-08-31 04:26:22 +02:00
Philip Eisenlohr 4b02a55f4d explicit type casting from boolean to int 2016-08-30 16:08:47 -04:00