The reason is to enable combinations of template and inheritance in yade classes. I did not find another way, but I'm sure there is. I did not realize the chunksize problem, but I'm not sure it will be actually a problem. The #define will redefine the name for each new class, it could be ok. Bruno
On 30/05/14 12:13, Anton Gladky wrote: > Hi Bruno, > > there some "#define TEMPLATE_FLOW_NAME FlowEngine_PeriodicInfo" > in pfv. Are there strong reasons to use it? > > When we use CHUNKSIZE>1, cpp-files are joined and this variable can > be redefined, which can lead to problems. > > Thank you > > Anton > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : [email protected] > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp > > > -- _______________ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 38041 Grenoble cedex 9 Tél : +33 4 56 52 86 21 Fax : +33 4 76 82 70 43 ________________ _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

