Ignore:
Timestamp:
Oct 2, 2016, 1:49:57 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_FitPotential_needs_atomicnumbers
Children:
a13e21
Parents:
f6f761
git-author:
Frederik Heber <heber@…> (10/02/16 13:24:41)
git-committer:
Frederik Heber <heber@…> (10/02/16 13:49:57)
Message:

MPQCData additionally stores the atomic number per nuclei.

Location:
src/Fragmentation/Summation/Containers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Summation/Containers/MPQCData.cpp

    rf6f761 r8d5db8  
    139139        +toString(instance.sampled_grid.getWindowGridPoints())+" and was "+toString(window_gridpoints));
    140140    instance.positions = other.positions;
     141    instance.atomicnumbers = other.atomicnumbers;
    141142    instance.charges = other.charges;
    142143    instance.times = other.times;
  • src/Fragmentation/Summation/Containers/MPQCData.hpp

    rf6f761 r8d5db8  
    110110  SamplingGrid sampled_grid;
    111111
    112   // nuclei positions and charges
     112  // nuclei positions, atomic numbers and charges
    113113  std::vector< std::vector<double> > positions;
     114  std::vector< unsigned int > atomicnumbers;
    114115  std::vector<double> charges;
    115116
     
    160161      ar & DoValenceOnly;
    161162    ar & positions;
     163    if (version > 3) {
     164      ar & atomicnumbers;
     165    }
    162166    ar & charges;
    163167    ar & times.total_walltime;
     
    174178};
    175179
    176 BOOST_CLASS_VERSION(MPQCData, 3)
     180BOOST_CLASS_VERSION(MPQCData, 4)
    177181
    178182std::ostream & operator<<(std::ostream &ost, const MPQCData &data);
Note: See TracChangeset for help on using the changeset viewer.