Open
Description
Right now, the interaction potentials are wrapped in layers of hand-typed match statements that appropriately yield the DOCA function, derivative of the DOCA function, etc. for each potential - thinking about keeping the code modular, I think it might make sense to rewrite it all as Interaction objects that implement an Interaction trait, including yielding the various functions. Maybe some operator overloading so that Interaction can be called like a function would be neat?