``getRho''

Write a function of the below prototype in ``physics.c'' which computes the quantity

\begin{displaymath}
\mbox{Rho}(r)=\sum_{n\ell} F_{n\ell} \left\vert\Psi_{n\ell}(r)\right\vert^2,
\end{displaymath}

where $F_{n\ell}$ represents the filling of each of the states.
void getRho(double *Rho,
       double ***Psi, double **F, int lmax, int *nmax, int N)

Output:

Input:



Subsections

Tomas Arias 2006-02-22