Ignore:
Timestamp:
Mar 20, 2017, 2:54:42 PM (8 years ago)
Author:
Frederik Heber <heber@…>
Branches:
FitPartialCharges_GlobalError, PartialCharges_OrthogonalSummation
Children:
5b3781
Parents:
dbd841
git-author:
Frederik Heber <heber@…> (06/12/16 14:28:29)
git-committer:
Frederik Heber <heber@…> (03/20/17 14:54:42)
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/Converter/DataConverter.hpp

    rdbd841 r346b0c  
    2727
    2828#include "Fragmentation/KeySetsContainer.hpp"
     29#include "Fragmentation/Summation/SetValues/detail.hpp"
    2930#include "Fragmentation/Summation/SetValues/Eigenvalues.hpp"
    3031#include "Fragmentation/Summation/SetValues/Histogram.hpp"
     
    139140    }
    140141    IndexedVectors::indices_t indices(arrayiter->begin(), arrayiter->end());
     142    IndexedVectors::values_t values(extractedData.forces.begin(), extractedData.forces.end());
    141143    boost::fusion::at_key<typename dataforcefused::forces>(instance) =
    142         IndexedVectors(indices, extractedData.forces);
     144        IndexedVectors(indices, values);
    143145    Data_Force_fused.insert( std::make_pair(dataiter->first, instance) );
    144146  }
Note: See TracChangeset for help on using the changeset viewer.