← Back to team overview

yade-dev team mailing list archive

Re: periodic cell

 

Thats what I did in r1916. :)
But it's 4 times the same #def in 4 separate files. Not very elegant.

B.

Václav Šmilauer a écrit :
You can simply #define that thing in the file itself, just like e.g.
DISPATCH_CACHE or SCG_SHEAR is defined; old code is still kept in there,
but it is not expected that someone would need it.

Cheers, Vaclav
I'm modifying Cell.cpp between #ifdef's, what is the best way to
#define the flag?
Can I just add it in a profile?



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp







References