Hex  2.2
Hydrogen-electron collision solver
Data Structures | Variables
potential.h File Reference
#include "hex-arrays.h"
#include "hex-hydrogen.h"
#include "hex-special.h"
Include dependency graph for potential.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  DistortingPotential
 Distorting potential information. More...
 

Variables

const rArrays Ucoeffs
 U polynomial coefficients. More...
 

Variable Documentation

◆ Ucoeffs

const rArrays Ucoeffs

Can be generated in Maxima CAS.

R(n,l,r) := sqrt((2/n)^3 * (n-l-1)!/(2*n*(n+l)!)) * gen_laguerre(n-l-1,2*l+1,2*r/n) * (2*r/n)^l * exp(-r/n);
Ucoeffs(n) := block ( [ tmp ],
tmp : expand(integrate(R(n,0,r)^2*r^2*(1/r-1/x), r, x, inf)*exp(2*x/n)+1/x),
reverse(makelist(float(coeff(tmp, x, i)), i, 0, length(tmp)-1))
);
...