AtomDiag()
Fill G.data with function evaluated at every mesh point.
G.data
function
Target Green’s function (modified in place).
G.
G
If the stored function is not callable, or raises while being evaluated.