![](https://secure.gravatar.com/avatar/1294d100c1f5fcd24f7ba4dc0349cfac.jpg?s=120&d=mm&r=g)
20 Dec
2007
20 Dec
'07
1:33 p.m.
Ben Webb wrote: > It just passes some (unknown) information back (we could just pass back > > Sure - I just think you're going to have a lot of trouble forcing all of > the necessary information into this bond decorator. In the cubic spline > case, that means a vector of floats, for example. > You can always create a new decorator class which extends the existing one and wraps the return.
That said, I think I want to eventually move the identities of the bonded particles out of the the BondDecorator particle. Once I have done that, there is not any general information in the particle and so the BondDecorator should probably become something more specific. So returning a Particle* now seems like a better idea.