Changeset 89ced8


Ignore:
Timestamp:
Aug 29, 2012, 1:16:51 PM (13 years ago)
Author:
Frederik Heber <heber@…>
Children:
59076a
Parents:
2d0bba
Message:

FIX: sampling grid's size and particle positions are now always in atomic units.

  • we made a similar change in MoleCuilder as we need to set up Poisson problem in atomic units.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/bin/mpqc/mpqc.cc

    r2d0bba r89ced8  
    16451645     }
    16461646     {
    1647        // fill positions and charges (converting from bohr radii to angstroem)
    1648        const double AtomicLengthToAngstroem = 0.52917721;
     1647       // fill positions and charges (NO LONGER converting from bohr radii to angstroem)
     1648       const double AtomicLengthToAngstroem = 1.;//0.52917721;
    16491649       data.positions.reserve(wfn->molecule()->natom());
    16501650       data.charges.reserve(wfn->molecule()->natom());
     
    16831683
    16841684       // for the moment we always generate a grid of full size
    1685        // (converting grid dimensions from angstroem to bohr radii)
    1686        const double AtomicLengthToAngstroem = 0.52917721;
     1685       // (NO LONGER converting grid dimensions from angstroem to bohr radii)
     1686       const double AtomicLengthToAngstroem = 1.;//0.52917721;
    16871687       SCVector3 min;
    16881688       SCVector3 max;
Note: See TracChangeset for help on using the changeset viewer.