Use Eigen instead of Wm3 for math without disrupting source code

Registered by Václav Šmilauer

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

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://www.yade-dem.org/wiki/Wm3%E2%86%92Eigen and most of them is already done.

(r2203) Then, make yade compile with both eigen and Wm3.

(TODO) Test

(TODO) Remove Wm3.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.