Use Eigen instead of Wm3 for math without disrupting source code
This will make it possible to get rid of wm3 and use eigen instead, without touching bulk of the code. Things to handle:
1. define what we need (Vector3, Vector2, Quaternion, Matrix3; that should be all)
2. write the wrapper itself (out of trunk, probably in lp:~yade-dev/yade/snippets or create separate branch for that)
3. write tests and make sure results are the same if run on wm3 or eigen (still out of trunk)
4. update python wrapper around wm3 (will most likely not work as-is, since autogenerated)
5. update serialization code, if needed
6. test again
(7. remove the wrapper, changing the code in an automatized way; not strainghtforward, might never happen as well)
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Václav Šmilauer
- Direction:
- Needs approval
- Assignee:
- Anton Gladky
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Václav Šmilauer
- Completed by
- Václav Šmilauer
Related branches
Related bugs
Sprints
Whiteboard
(r2179): change miniWm3 API to be compatible with eigen (rather than wrapping eigen in Wm3 API), progressively adapt rest of code to that new API.
(done) Code changes are described at https:/
(r2203) Then, make yade compile with both eigen and Wm3.
(TODO) Test
(TODO) Remove Wm3.