← Back to team overview

yade-dev team mailing list archive

Re: Why Ip2 functors must be symmetric?

 

> Ok, so we have two options:
> a) swap for Ig2 (as it is now) and therefore get rid of goReverse in Ig2, and 
> call go/goReverse for Ip2
> b) get rid of swap for Ig2 and call go/goReverse in both cases (maybe more 
> consistent?)
>
> What do you think? 

a) sounds feasible
b) no advantage in doing that

>
> Something I couldn't find out, do we need to do something like
> if(swap) goReverse() else go() or is this handled automatically?
I can't tell you without investigating (Dispatcher would be the first
place to look at).

> Is there any chance to get Vaclav's opinion on this topic? 
Not sure he is reading all messages on yade-dev. You could ping him. :)

Bruno


References