← Back to team overview

yade-users team mailing list archive

Re: [Question #690655]: Testing the implémentation of a new contact law

 

Question #690655 on Yade changed:
https://answers.launchpad.net/yade/+question/690655

Bruno Chareyre proposed the following answer:
Hi,
Unless you are familiar with compiling your own c++ and sort include/lib issues I would really recommend to proceed as Jan suggests, possibly in an even simpler way (no need to handle bodies or engines).
Write a yade class and insert all the "prints" you like in it.
Add functions for doing your tests with python wrappers.

Then start yade and:
myClass.test1()
myClass.test2() 
etc.

That's not a simulation, it's just exploiting python wrapping of Yade.

Cheers

Bruno

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.