[Octopus-users] integration
Miguel Marques
Miguel.Marques at tddft.org
Fri May 30 08:43:31 WEST 2008
Dear Emily,
The density in octopus is normalized in the grid. This means that
sum_i n(i) * vol_pp
must integrate exactly to the number of electrons. Maybe in your test
you did not include all significant digits (or a conversion from Ang to
Hartree with a factor different from the one used internally)?
cheers,
Miguel
Emily wrote:
> Hello Octopus Users,
>
> I would like to know how Octopus normalizes the wavefunctions...is it on
> a grid or are there some underlying functions (existant or created by
> the numbers on the grid) that are numerically integrated?
>
> I ask because I added up the density on every point in my grid and
> multiplied by a volume element (grid spacing in x,y,z directions
> multiplied by each other), and this number nearly matched the total
> number of electrons in my system, but was very slightly over (error in
> the 5th significant digit). Then I did a spline interpolation to
> octuple the number of points in my grid and repeated the process and got
> slightly fewer electrons (error in the 3rd significant digit). And if
> Octopus normalizes by summing on the grid, I would expect an
> interpolation to reduce the agreement between its number of electrons
> and mine, but if you are normalizing some underlying function, then by
> getting closer to that underlying function with an interpolation I'd
> expect to improve my agreement.
>
> Can anybody comment?
>
> Thanks very much,
> Emily
>
> _______________________________________________
> Octopus-users mailing list
> Octopus-users at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-users
>
--
Dr. Miguel A. L. Marques
marques at tddft.org
Laboratoire de Physique de la Matière Condensée et Nanostructures
(LPMCN) - Université Lyon I
Bâtiment Brillouin, Domaine scientifique de la DOUA
69622 Villeurbanne Cedex
Tel +33 (0)4 72448187
Fax +33 (0)4 72432648
More information about the Octopus-users
mailing list