yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03149
Re: WM3 -> Eigen migration
Vaclav, what do you think, how is it better to implement verification tests?
Is it better to do it in engine, or...?
Thank you for help
______________________________
Anton Gladkyy
2010/1/22 Václav Šmilauer <eudoxos@xxxxxxxx>
>
> > Vaclav, it needs to be implemented with template using, or just
> >
> > class Vector3r: public Eigen::Matrix<float,3,1> {
> You can start without template, but later it should be template. Keep in
> mind, even for the non-templated case, that our default scalar type is
> Real (not float; although that was probably my example).
>
> There are Vector3<Real> and Vector3<int> we should support. OTOH you can
> go through the code and check for Vector3<int>, perhaps it is used only
> as convenient way for array<3>, and that code could be converted away
> from Vector3<int>. In that case, implementation with Real would be
> enough, I guess.
>
> Cheers, Vaclav
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References