More refinements of the dipole_pair.define user function definition.
Authored by: bugman 2012-06-18
Parent: [r16933]
Child: [r16935]