← Back to team overview

yade-users team mailing list archive

Re: [Question #699157]: test a new contact model

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

TL;TR: it is very individual

> Are there any other tests necessary to check my code ... ?

It depends on many factors and on the definition of "necessary".

How many people / how often will use the model?
Just you for one article?
You and your team for a longer-term project?
You and your team and you want to publish it and let anybody use it?
...?
The more people you want to use it, the better it should be tested (IMO).

The answer strongly depends on the model, its purpose and its typical usage (please provide more information).
If its primary purpose is some behavior at bouncing and rebouncing (which according to JKR and wikipedia seems yes), then probably a bouncing simulation is OK.

Concerning bounding simulation, it strongly depends on what "following the tutorial file" means (please provide more information).
You can test one specific case.
On the other hand, even testing "just" bouncing, you can test different radii of spheres, different angles of impact, different impact velocities, impact + rotating sphere etc. etc. etc.

All in all, it is very individual, depends on many factors etc.

Cheers
Jan

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