Commit Graph

542 Commits

Author SHA1 Message Date
Martin Diehl c23e9fb126 __eq__ not implemented
probably also not very much used outside tests
2021-11-23 20:34:19 +01:00
Martin Diehl 3393d32d9f more sensible test vor sequence arguments 2021-11-23 19:42:10 +01:00
Martin Diehl 889ab87914 simplified and corrected
- Optional not needed for 'None' argument
- Use TextIO for typehints, TextIOWrapper seems to cause problems
- Test for tuple/list input for public functions
- internal functions that are always called with np.ndarray don't need
  to offer flexibility. They might work, but we don't guarantee
  anything.
2021-11-23 17:59:56 +01:00
Martin Diehl 59b6b4bb2b Merge branch 'clean-CI' into development 2021-11-16 23:38:14 +01:00
Martin Diehl e2e80b9706 cleaning tests 2021-11-16 11:24:04 +01:00
Martin Diehl ec24af2403 testing new functionality 2021-11-14 11:45:13 +01:00
Philip Eisenlohr ddb25ad0e5 remove duplicate lattice_symmetries dictionary 2021-10-29 20:04:09 -04:00
Philip Eisenlohr b11a14999b simplified lattice point data; added test 2021-09-30 11:01:42 -04:00
Sharan c7039e19b0 testing new functionality 2021-09-13 15:04:09 +02:00
Martin Diehl 0653d0c481 shortened thanks to lazy evaluation 2021-09-02 14:35:16 +02:00
Martin Diehl 727cc9da12 ready for production 2021-09-02 08:56:11 +02:00
Martin Diehl 2b9d416734 fixes for old VTK and/or old numpy 2021-09-02 08:45:20 +02:00
Philip Eisenlohr 56c62f257a more robust RuntimeError test; corrected name of double-defined test 2021-08-19 06:10:08 +02:00
Philip Eisenlohr 5dbb60d338 add_pole now has option "with_symmetry" 2021-08-19 06:10:08 +02:00
Philip Eisenlohr b754617c76 to_pole now blends; corrected help texts 2021-08-19 06:10:08 +02:00
Martin Diehl f3d8d78879 does not work on MacOS 2021-08-18 11:22:16 +02:00
Martin Diehl 041d3ffdd7 test more 2021-08-18 11:17:13 +02:00
Martin Diehl 5a2cd83186 recalculated with new DADF5 version 2021-08-18 10:52:47 +02:00
Martin Diehl c5f284cd8d increased test coverage 2021-08-18 10:44:04 +02:00
Martin Diehl 4a5e5d8451 avoid DAMASK_grid version dependency 2021-08-18 10:24:24 +02:00
Martin Diehl 81bac268f7 increasing test coverage 2021-08-18 09:36:28 +02:00
Martin Diehl ef4e4ec772 needs to be a 2D array 2021-08-18 09:17:06 +02:00
Martin Diehl b13e7e174b avoid invalid DADF5 2021-08-16 21:31:17 +02:00
Martin Diehl b1dab5f398 tests working now 2021-08-08 10:44:38 +02:00
Martin Diehl b5be4c3fa5 compatible with material.yaml 2021-08-04 17:45:25 +02:00
Martin Diehl dd2d569482 ensure that vectorization works 2021-07-25 21:28:35 +02:00
Martin Diehl de428efca5 add_pole is working again 2021-07-18 18:58:05 +02:00
Martin Diehl 212a4ed63c don't test implementation details 2021-07-18 15:57:51 +02:00
Martin Diehl e54f032f1e Merge remote-tracking branch 'origin/development' into restructure-Orientation-2 2021-07-18 15:09:40 +02:00
Martin Diehl 7745640393 consistently use prefix as modifier 2021-06-28 23:41:50 +02:00
Martin Diehl 0a22916aba not a double subscript 2021-06-19 15:13:27 +02:00
Martin Diehl abd660e62d Merge remote-tracking branch 'origin/development' into polishing 2021-06-19 13:28:56 +02:00
Martin Diehl 71634f6ce9 split into two tests, one will fail on Ubuntu 2021-06-19 08:12:49 +02:00
Martin Diehl 56b011aa54 better have tests 2021-06-18 21:11:01 +02:00
Martin Diehl db1882e4de polishing 2021-06-17 18:26:37 +02:00
Martin Diehl 9b1f5c7783 testing new functionality for Neper / vti 2021-06-15 23:19:08 +02:00
Martin Diehl 218e6a79a8 VTK image data is the appropriate type, not VTK rectilinear grid
FFTs require constant spacing in all three directions, this is
guaranteed by the vtkImageData but not by vtkRectilinearGrid
2021-06-15 19:02:26 +02:00
Martin Diehl 5202da13ea better not have a "Lattice" object with "lattice" parameter 2021-06-07 21:49:04 +02:00
Martin Diehl 41e5f0c06c re-introduced multiple inheritance 2021-06-06 22:25:42 +02:00
Martin Diehl 3c8d06b6f1 encapsulating all lattice(-family) related data 2021-06-03 11:18:00 +02:00
Martin Diehl 4701eea10f decoupling Orientation and Lattice/LatticeFamily 2021-06-03 10:02:49 +02:00
Martin Diehl 302da1f76a separating functionality 2021-06-02 17:11:37 +02:00
Martin Diehl b55d51491d separating functionality 2021-06-02 08:48:45 +02:00
Martin Diehl e281d8384f distinguish 'family' and 'lattice'
this requires the user to specify a keyword ('*' notation in __init__).
Since all 'from_xxx' methods anyway require a keyword, it does not
causes much more work (one explicit keyword in case of cube orientation
when using __init__ directly).
2021-06-01 21:51:28 +02:00
Martin Diehl 684016f3e3 utility function without connection to an object 2021-06-01 21:29:35 +02:00
Philip Eisenlohr 02256be8dc Merge branch 'rotation-couple-kinematics' into 'development'
avoid static methods

See merge request damask/DAMASK!393
2021-05-31 15:55:36 +00:00
Francisco Jose Gallardo Basile 0ef5825d35 Merge branch 'Results.add_grid_filters' into 'development'
Result.add_xxx for functions on regular grids

See merge request damask/DAMASK!394
2021-05-31 05:46:06 +00:00
Martin Diehl 94b6be4e83 preferred way to say that something needs to be implemented 2021-05-29 10:54:34 +02:00
Martin Diehl 46dc6b4dab functionality to add field data on regular grids
allows to add curl, divergence, and gradient to results from the grid
solver
2021-05-28 15:38:00 +02:00
Martin Diehl 89fc2f05cf no need to attach static data
if needed, a 'kinematics' function that provides slip direction and
plane normal rotated according to the orientation would be helpful
2021-05-27 20:23:22 +02:00