Ignore:
Timestamp:
Oct 8, 2016, 7:25:46 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Add_FitFragmentPartialChargesAction, Fix_ChargeSampling_PBC, Fix_FitPartialCharges
Children:
f5d635
Parents:
e08108
git-author:
Frederik Heber <heber@…> (06/12/16 14:28:29)
git-committer:
Frederik Heber <heber@…> (10/08/16 19:25:46)
Message:

Extracted IndexedValue from IndexedVectors.

  • we may now sum up indexed values of arbitrary type, i.e. an arbitrary class that fulfills a certain interface, and each instance connected to a specific index (within index sets).
  • added detail::force where std::vector<double> is specialized for three components.
  • IndexedVectors is now a specialization of IndexedValue for detail::force.
  • adapated usage signatures in AnalyseFragmentationResultsAction, InterfaceVMGJob, and MPQCCommandJob.
  • slight changes in IndexedVectorsUnitTest because boost::assign is no longer used for detail::force.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Summation/SetValues/unittests/IndexedVectorsUnitTest.hpp

    re08108 rbd8b57  
    4141      IndexedVectors *ivectors;
    4242      IndexedVectors *otherivectors;
    43       IndexedVectors::vector_t ones;
    44       IndexedVectors::vector_t twos;
    45       IndexedVectors::vector_t threes;
     43      IndexedVectors::value_t ones;
     44      IndexedVectors::value_t twos;
     45      IndexedVectors::value_t threes;
    4646
    4747};
Note: See TracChangeset for help on using the changeset viewer.