Changeset ff2c52 for src/Actions/PotentialAction/ParseHomologiesAction.cpp
- Timestamp:
- Apr 23, 2021, 8:55:19 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 5196ca
- Parents:
- 9171d8
- git-author:
- Frederik Heber <frederik.heber@…> (03/28/21 11:47:07)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 20:55:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/PotentialAction/ParseHomologiesAction.cpp
r9171d8 rff2c52 78 78 // if it's the same as the old one, skip it 79 79 if (olditer == iter) 80 continue; 81 else 82 olditer = iter; 83 LOG(3, "DEBUG: " << *iter); 80 continue; 81 else { 82 const HomologyContainer::range_t range = homology_container.getHomologousGraphs(*iter); 83 LOG(2, "DEBUG: " << *iter << " with " << std::distance(range.first, range.second) << " values."); 84 const HomologyContainer::const_iterator lowest_contribution_graph = 85 std::min_element(range.first, range.second, HomologyContainer::compareEnergyContribution); 86 const HomologyContainer::const_iterator highest_contribution_graph = 87 std::max_element(range.first, range.second, HomologyContainer::compareEnergyContribution); 88 LOG(3, "DEBUG: Energy contributions range from " 89 << lowest_contribution_graph->second.energy << " Ht to " 90 << highest_contribution_graph->second.energy << " Ht."); 91 olditer = iter; 92 } 84 93 } 85 94 }
Note:
See TracChangeset
for help on using the changeset viewer.
