- Timestamp:
- Jun 21, 2017, 8:01:27 AM (8 years ago)
- Branches:
- IndependentFragmentGrids_Sole_NN_Calculation
- Parents:
- 3fb9ab
- git-author:
- Frederik Heber <heber@…> (08/19/16 05:27:39)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/21/17 08:01:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Summation/Containers/FragmentationLongRangeResults.cpp
r3fb9ab ra8961d 121 121 Result_perIndexSet_Grid); 122 122 123 // multiply each short-range potential with the respective charge123 // multiply each short-range e-e potential with the respective charge 124 124 std::map<JobId_t,MPQCData>::const_iterator mpqciter = fragmentData.begin(); 125 125 std::map<JobId_t,VMGData>::iterator vmgiter = longrangeData.begin(); … … 214 214 #endif 215 215 216 // then, we obtain the e-n+n-n full solution in the same way216 // then, we obtain the n-n full solution directly 217 217 double nuclei_solution_energy = fullsolutionData[level-1].nuclei_long; 218 218 double nuclei_short_range_energy = … … 229 229 electron_solution_energy *= .5; 230 230 electron_short_range_energy *= .5; 231 232 // At last, we subtract e-n from n-n+e-n for full solution and short-range233 // correction.234 nuclei_solution_energy -= both_solution_energy;235 nuclei_short_range_energy -= both_short_range_energy;236 231 237 232 VMGDataLongRangeMap_t instance;
Note:
See TracChangeset
for help on using the changeset viewer.