Complex GaussR(d3vec r,double sigma)Output:
- GaussR: the value of an origin-centered, normalized Gaussian of root-mean-square (rms) width sigma in each coordinate direction
![]()
Input:
- sigma: rms width
- r: d3vec with components r.x, r.y, r.z
To study the electrostatic potential from Gaussian charge distributions add a function of the above prototype to your physics.C code.