Hello.

in fact, this is not something that should work into ff3d, but you can 
turnaround it, using the function algebra.
----------8<-----------------
vector a = (1,2,3);
cout << x(a) << " " << y(a) << " " << z(a) << "\n";
----------8<-----------------
This is not beautiful, but it works. A better handling of vector would require 
much more work which has not shown to be a priority yet...

You can replace x,y and z by any scalar function (R^3->R).

Note that you can play with it:
--------8<---------------
vector b = (y(a)+x(a),y(a)-x(a),z(a));
cout << b << "\n";
--------8<---------------

Best regards,
Stephane.



_______________________________________________
ff3d-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/ff3d-users

Reply via email to