Changeset e480fc
- Timestamp:
- Jun 8, 2016, 6:12:14 PM (9 years ago)
- Children:
- 9ab682
- Parents:
- c805f7
- git-author:
- Frederik Heber <heber@…> (05/27/16 18:07:36)
- git-committer:
- Frederik Heber <heber@…> (06/08/16 18:12:14)
- Location:
- src
- Files:
-
- 3 edited
-
Fragmentation/Summation/SetValues/SamplingGrid.cpp (modified) (3 diffs)
-
Fragmentation/Summation/SetValues/SamplingGrid.hpp (modified) (1 diff)
-
Potentials/PartialNucleiChargeFitter.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Summation/SetValues/SamplingGrid.cpp
rc805f7 re480fc 426 426 } 427 427 428 void SamplingGrid::getDiscreteWindow Indices(428 void SamplingGrid::getDiscreteWindowCopyIndices( 429 429 const double *larger_wbegin, 430 430 const double *larger_wend, … … 459 459 // total is used as safe-guard against loss due to discrete conversion 460 460 ASSERT( pre_offset[index]+post_offset[index]+length[index] == total[index], 461 "SamplingGrid::getDiscreteWindow Indices() - pre, post, and length don't sum up to total for "461 "SamplingGrid::getDiscreteWindowCopyIndices() - pre, post, and length don't sum up to total for " 462 462 +toString(index)+"th component."); 463 463 } … … 489 489 size_t length[NDIM]; 490 490 size_t total[NDIM]; 491 getDiscreteWindow Indices(491 getDiscreteWindowCopyIndices( 492 492 larger_wbegin, larger_wend, 493 493 smaller_wbegin, smaller_wend, -
src/Fragmentation/Summation/SetValues/SamplingGrid.hpp
rc805f7 re480fc 227 227 * \param total total number of points for checking, should be sum of other three 228 228 */ 229 void getDiscreteWindow Indices(229 void getDiscreteWindowCopyIndices( 230 230 const double *larger_wbegin, 231 231 const double *larger_wend, -
src/Potentials/PartialNucleiChargeFitter.cpp
rc805f7 re480fc 86 86 size_t length[3]; 87 87 size_t total[3]; 88 grid.getDiscreteWindow Indices(88 grid.getDiscreteWindowCopyIndices( 89 89 grid.begin, grid.end, 90 90 grid.begin_window, grid.end_window,
Note:
See TracChangeset
for help on using the changeset viewer.
