Ignore:
Timestamp:
Apr 29, 2014, 12:42:44 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
5eaa23
Parents:
5c78e3
git-author:
Frederik Heber <heber@…> (08/30/13 21:07:00)
git-committer:
Frederik Heber <heber@…> (04/29/14 12:42:44)
Message:

FIX: MPQCDataFragmentMap_t can be summed up in FragmentationShortRangeResults already.

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

Legend:

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

    r5c78e3 rd76d65  
    8484      fragmentData, MatrixNrLookup, container, subsetmap,
    8585      Result_Grid_fused, Result_perIndexSet_Grid);
    86   OrthogonalSumUpPerLevel<MPQCDataFragmentMap_t, MPQCData, MPQCDataFragmentVector_t>(
    87       fragmentData, MatrixNrLookup, container, subsetmap,
    88       Result_Fragment_fused, Result_perIndexSet_Fragment);
    8986}
    9087
     
    10097  return full_sample;
    10198}
    102 
    103 const Fragment &FragmentationChargeDensity::getFragment()
    104 {
    105   return boost::fusion::at_key<MPQCDataFused::fragment>(Result_Fragment_fused.back());
    106 }
  • src/Fragmentation/Summation/Containers/FragmentationChargeDensity.hpp

    r5c78e3 rd76d65  
    4848  std::vector<SamplingGrid> getFullSampledGrid();
    4949
    50   const Fragment &getFragment();
    51 
    5250  //!> results per level of summed up sampled grid charge
    5351  std::vector<MPQCDataGridMap_t> Result_Grid_fused;
    54   //!> results per level of summed up fragment positions and charges
    55   std::vector<MPQCDataFragmentMap_t> Result_Fragment_fused;
    5652
    5753  //!> results per IndexSet of summed up sampled grid charge
    5854  std::map<IndexSet::ptr, std::pair<MPQCDataGridMap_t, MPQCDataGridMap_t> > Result_perIndexSet_Grid;
    59   //!> results per IndexSet of summed up fragment positions and charges
    60   std::map<IndexSet::ptr, std::pair<MPQCDataFragmentMap_t, MPQCDataFragmentMap_t> > Result_perIndexSet_Fragment;
    6155
    6256private:
  • src/Fragmentation/Summation/Containers/FragmentationLongRangeResults.cpp

    r5c78e3 rd76d65  
    114114        fragmentData, MPQCMatrixNrLookup, container, subsetmap,
    115115        Result_Grid_fused, Result_perIndexSet_Grid);
    116     OrthogonalSumUpPerLevel<MPQCDataFragmentMap_t, MPQCData, MPQCDataFragmentVector_t>(
    117         fragmentData, MPQCMatrixNrLookup, container, subsetmap,
    118         Result_Fragment_fused, Result_perIndexSet_Fragment);
    119116
    120117    // multiply each short-range potential with the respective charge
  • src/Fragmentation/Summation/Containers/FragmentationLongRangeResults.hpp

    r5c78e3 rd76d65  
    104104  //!> results per level of summed up sampled grid charge
    105105  std::vector<MPQCDataGridMap_t> Result_Grid_fused;
    106   //!> results per level of summed up fragment positions and charges
    107   std::vector<MPQCDataFragmentMap_t> Result_Fragment_fused;
    108106  //!> results per level of summed up long range potential grids and energy
    109107  std::vector<VMGDataMap_t> Result_LongRange_fused;
     
    113111  //!> results per IndexSet of summed up sampled grid charge
    114112  std::map<IndexSet::ptr, std::pair<MPQCDataGridMap_t,MPQCDataGridMap_t> > Result_perIndexSet_Grid;
    115   //!> results per IndexSet of summed up fragment positions and charges
    116   std::map<IndexSet::ptr, std::pair<MPQCDataFragmentMap_t,MPQCDataFragmentMap_t> > Result_perIndexSet_Fragment;
    117113  //!> results per IndexSet of summed up long range potential grids and energy
    118114  std::map<IndexSet::ptr, std::pair<VMGDataMap_t, VMGDataMap_t> > Result_perIndexSet_LongRange;
  • src/Fragmentation/Summation/Containers/FragmentationShortRangeResults.cpp

    r5c78e3 rd76d65  
    100100        fragmentData, MPQCMatrixNrLookup, container, subsetmap,
    101101        Result_Energy_fused, Result_perIndexSet_Energy);
     102    OrthogonalSumUpPerLevel<MPQCDataFragmentMap_t, MPQCData, MPQCDataFragmentVector_t>(
     103        fragmentData, MPQCMatrixNrLookup, container, subsetmap,
     104        Result_Fragment_fused, Result_perIndexSet_Fragment);
    102105    SumUpPerLevel<MPQCDataTimeMap_t, MPQCData, MPQCDataTimeVector_t>(
    103106        fragmentData, MPQCMatrixNrLookup, container, subsetmap,
  • src/Fragmentation/Summation/Containers/FragmentationShortRangeResults.hpp

    r5c78e3 rd76d65  
    9797  //!> results per level of summed up energy
    9898  std::vector<MPQCDataEnergyMap_t> Result_Energy_fused;
     99  //!> results per level of summed up fragment positions and charges
     100  std::vector<MPQCDataFragmentMap_t> Result_Fragment_fused;
    99101  //!> results per level of summed up times
    100102  std::vector<MPQCDataTimeMap_t> Result_Time_fused;
     
    104106  //!> results per IndexSet of summed up energy
    105107  std::map<IndexSet::ptr, std::pair<MPQCDataEnergyMap_t,MPQCDataEnergyMap_t> > Result_perIndexSet_Energy;
     108  //!> results per IndexSet of summed up fragment positions and charges
     109  std::map<IndexSet::ptr, std::pair<MPQCDataFragmentMap_t,MPQCDataFragmentMap_t> > Result_perIndexSet_Fragment;
    106110  //!> results per IndexSet of summed up times
    107111  std::map<IndexSet::ptr, std::pair<MPQCDataTimeMap_t,MPQCDataTimeMap_t> > Result_perIndexSet_Time;
Note: See TracChangeset for help on using the changeset viewer.