Changeset 564f17 for src/Actions


Ignore:
Timestamp:
Apr 28, 2021, 10:02:49 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
5aa337
Parents:
e0e77e
git-author:
Frederik Heber <frederik.heber@…> (04/18/21 12:23:17)
git-committer:
Frederik Heber <frederik.heber@…> (04/28/21 22:02:49)
Message:

Extended HomologyContainer::value_t by fragment energy.

  • renamed energy to contribution to notice all old usages.
Location:
src/Actions
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/FragmentationAction/AnalyseFragmentationResultsAction.cpp

    re0e77e r564f17  
    380380    }
    381381    value.edges = *edgeiter;
    382     value.energy = boost::fusion::at_key<MPQCDataFused::energy_total>(energyiter->second.second); // contributions
     382    value.contribution = boost::fusion::at_key<MPQCDataFused::energy_total>(energyiter->second.second); // contributions
     383    value.fragmentenergy = boost::fusion::at_key<MPQCDataFused::energy_total>(energyiter->second.first); // contributions
    383384
    384385    // only store sampled grids if desired
     
    442443      output << "DEBUG: graph " << iter->first
    443444          << " has Fragment " << iter->second.fragment
    444           << ", associated energy " << iter->second.energy;
     445          << ", associated energy contribution " << iter->second.contribution;
    445446      if (iter->second.containsGrids)
    446447#if defined(HAVE_JOBMARKET) && defined(HAVE_VMG)
  • src/Actions/GraphAction/ChemicalSpaceEvaluatorAction.cpp

    re0e77e r564f17  
    535535            std::max_element(range.first, range.second, HomologyContainer::compareEnergyContribution);
    536536        LOG(2, "INFO: Fragment graph " << nodes_graph << " has energy contributions from "
    537             << lowest_contribution_graph->second.energy << " Ht till "
    538             << highest_contribution_graph->second.energy << " Ht, picking lowest.");
    539         total_energy += lowest_contribution_graph->second.energy;
     537            << lowest_contribution_graph->second.contribution << " Ht till "
     538            << highest_contribution_graph->second.contribution << " Ht, picking lowest.");
     539        total_energy += lowest_contribution_graph->second.contribution;
    540540      }
    541541    }
  • src/Actions/PotentialAction/FitCompoundPotentialAction.cpp

    re0e77e r564f17  
    7878    LOG(1, "INFO: graph " << iter->first
    7979        << " has Fragment " << iter->second.fragment
    80         << ", associated energy " << iter->second.energy
     80        << ", associated energy " << iter->second.contribution
    8181        << ", and sampled grid integral " << iter->second.charge_distribution.integral()
    8282        << ".");
  • src/Actions/PotentialAction/FitPotentialAction.cpp

    re0e77e r564f17  
    130130    LOG(1, "INFO: graph " << iter->first
    131131        << " has Fragment " << iter->second.fragment
    132         << ", associated energy " << iter->second.energy
     132        << ", associated energy " << iter->second.contribution
    133133        << ", and sampled grid integral " << iter->second.charge_distribution.integral()
    134134        << ".");
  • src/Actions/PotentialAction/ParseHomologiesAction.cpp

    re0e77e r564f17  
    8787            std::max_element(range.first, range.second, HomologyContainer::compareEnergyContribution);
    8888        LOG(3, "DEBUG: Energy contributions range from "
    89             <<  lowest_contribution_graph->second.energy << " Ht to "
    90             << highest_contribution_graph->second.energy << " Ht.");
     89            <<  lowest_contribution_graph->second.contribution << " Ht to "
     90            << highest_contribution_graph->second.contribution << " Ht.");
    9191                    olditer = iter;
    9292                  }
Note: See TracChangeset for help on using the changeset viewer.