initial_density Function

public function initial_density(p, g, a, b) result(rho)

prepares an initial electron density F%rho based on atomic electron densities

Arguments

Type IntentOptional Attributes Name
type(param), intent(in) :: p
type(grid3d), intent(in) :: g
type(atom_set), intent(in) :: a(:)
type(basis), intent(in) :: b

Return Value real(kind=long), (g%n_grid)