← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 1916: Code using the velocity gradient to define periodic deformations (experimental) + script to test it.

 

>   Code using the velocity gradient to define periodic deformations (experimental) + script to test it.
>   Needs compilation with #defined VELGRAD (currently needs uncommenting "#define VELGRAD" in 4 files in total). 

Bruno, I don't think it is very meaningful to have 2 version of
updateCache. There should be just one, plus one function called
something like integrateRate or such, that will do the integration. This
way, it is quite confusing. Also, I would like to keep the old behavior
(or the possibility of it, i.e. not using velocity gradient) intact.

I will have a look and try to fix that.

For the VELGRAD,  macro, if you #define it in Cell.hpp, then it will be
defined in all files that include Cell.hpp, no need to define it
everywhere.

v




Follow ups

References