← Back to team overview

yade-dev team mailing list archive

Re: ConstitutiveLawDispatcher (speed)

 


#0 is regular case, SnadAloneEngine doing all the computations in its
loop. #1 is StandAloneEngine, but calling the functor in each loop,
instead of computing by itself; #2 is ConstitutiveLawDispatcher (and
using the functor, of course).  And the times are 16:07, 13:02 and
12:00. Surprising! Perhaps the compiler can optimize better if the code
is in separate function?

The times you give are total cpu times or only the fraction used for the contact law?
Surprising, yes.

Bruno




--

_______________
Chareyre Bruno
Maitre de conference

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




Follow ups

References