Philip Eisenlohr
56c33b8a5c
flipped VTK.add to use (label,data) to be consistent with other functionality
2022-03-11 20:07:18 -05:00
Martin Diehl
0d22cfb83d
table.__init__ now has common order of arguments (label, data)
2022-03-11 22:31:35 +01:00
Martin Diehl
c4a7c0096a
give default directly
...
only Colormap object caused problem (tab completion triggered '__repr__'
which means showing colormap in maplotlib window
2022-03-08 22:43:54 +01:00
Philip Eisenlohr
73f01c07d0
clarified colormap default; accept string as colormap name
2022-03-08 09:31:08 -05:00
Martin Diehl
fe8e55e470
KeyError more sensible here
2022-03-07 11:28:17 +01:00
Philip Eisenlohr
bee3f08d77
test __repr__ functionality with str()
2022-02-24 19:15:28 -05:00
Philip Eisenlohr
fd52c18488
remove debug print statements in tests
2022-02-24 18:35:48 -05:00
Martin Diehl
59755c67ce
human-readable reporting
2022-02-23 06:49:38 +01:00
Philip Eisenlohr
661b7fb602
slight polish
2022-02-22 10:56:12 -05:00
Martin Diehl
be11da2284
testing new functionality
2022-02-22 14:00:36 +01:00
Martin Diehl
e8a4f06634
out of place behavior for VTK
2022-02-22 07:49:44 +01:00
Philip Eisenlohr
e602653b3b
remove obsolete grid_filter import
2022-02-17 18:50:53 -05:00
Philip Eisenlohr
38ac791b58
proper understanding of a rectiliniearGrid
2022-02-17 17:54:26 -05:00
Philip Eisenlohr
c5f2865121
make apparent that vtk.get automatically "squeezes"
2022-02-15 18:04:21 -05:00
Philip Eisenlohr
e2d1ffe7b8
condensed add_table test
2022-02-15 16:42:17 -05:00
Philip Eisenlohr
6916160ed1
implemented VTK.add(damask.Table)
2022-02-15 16:38:02 -05:00
Philip Eisenlohr
2ce464c48e
vtk.comments as directly accessed property
2022-02-14 09:24:12 -05:00
Martin Diehl
6dcf6b972c
complaints from prospector (PEP8)
2022-02-02 09:14:41 +01:00
Martin Diehl
a545baebbf
VTK polishing
...
avoid segmentation fault (also allows testing)
2022-01-16 19:23:12 +01:00
Martin Diehl
dc5172ce63
don't use deprecated functions
2021-12-22 12:41:16 +01:00
Martin Diehl
2b9d416734
fixes for old VTK and/or old numpy
2021-09-02 08:45:20 +02:00
Martin Diehl
18aa6f7f12
support for string arrays
...
allows to add phase label from mapping. Only scalar string arrays are
allowed (no real restriction)
2021-04-24 22:50:59 +02:00
Martin Diehl
cf1ce6a1fe
support for masked array
...
masked arrays are the outcome of Result.place
2021-04-02 08:07:22 +02:00
Martin Diehl
0fdefa5e78
renames:
...
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)
Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".
Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +01:00
Martin Diehl
ac0a20696c
rename: grid -> cells
2020-12-03 22:16:34 +01:00
Martin Diehl
4d2bf37193
Merge branch 'lattice-structure-rename' into ShowGrainBoundaries
2020-11-29 20:53:58 +01:00
Martin Diehl
903c185ee6
distinguish 'file not found' and 'invalid file'
2020-11-19 10:39:41 +01:00
Philip Eisenlohr
fa25a13264
fixed typo
2020-11-16 10:34:49 -05:00
Martin Diehl
01d84c1477
testing also functions with graphical output
2020-11-15 11:49:52 +01:00
Martin Diehl
764aacf2a1
increasing test coverage
2020-11-14 17:54:47 +01:00
Martin Diehl
30938a8278
correct order (brackets)
2020-11-05 21:38:00 +01:00
Martin Diehl
ae959b9cc2
allow '.' in filenames
2020-11-04 18:08:04 +01:00
Martin Diehl
0804e6ee74
pythonic names
2020-10-27 13:50:47 +01:00
Philip Eisenlohr
96ad358f83
modified file reading/writing methods to load_X, save_X formalism
2020-09-15 01:14:05 -04:00
Philip Eisenlohr
d645849baf
fixed remnant occurrences of .write() --> .to_file()
2020-09-02 11:32:40 -04:00
Philip Eisenlohr
6785062a10
Merge branch 'development' into 'vtk-to-file-method'
...
# Conflicts:
# python/tests/test_VTK.py
2020-08-31 21:10:29 +02:00
Philip Eisenlohr
3f24d16603
renamed VTK.write() to VTK.to_file()
2020-08-26 16:15:15 -04:00
Martin Diehl
fee21cbd9c
more sensible tests
2020-08-25 17:17:49 +02:00
Martin Diehl
51da632108
aiming at testing each individual statement
2020-08-25 07:49:56 +02:00
Martin Diehl
37f7362cbe
Merge branch 'development' into misc-improvements
2020-06-28 19:23:17 +02:00
Martin Diehl
f4d13bc810
binary representation depends on vtk lib version
2020-06-28 10:07:31 +02:00
Martin Diehl
8d5a72e936
more test, swich to pathlib
2020-06-27 23:38:58 +02:00
Martin Diehl
a69f82e7c3
speed up vtk out
...
- limit to single precision
- write in background
2020-06-26 11:45:54 +02:00
Martin Diehl
c67fbacfc7
higher test coverage
...
- invalid operations
- legacy output
2020-06-03 11:03:31 +02:00
Martin Diehl
01818cba80
tuples not needed for single arguments
2020-03-31 12:44:39 +02:00
Martin Diehl
6ef7410e5a
testing VTK wrappers
2020-03-31 11:04:06 +02:00