Create a new solver.
(f TargetFunc, particles []*Particle, param *Param)
source not stored for this graph (policy: none)
no outgoing calls