Changeset c739b3 for src/Fragmentation/Summation/SetValues/SamplingGrid.cpp
- Timestamp:
- Jun 8, 2016, 10:45:27 PM (9 years ago)
- Children:
- 6369bc
- Parents:
- e34888
- git-author:
- Frederik Heber <heber@…> (06/06/16 14:28:05)
- git-committer:
- Frederik Heber <heber@…> (06/08/16 22:45:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Summation/SetValues/SamplingGrid.cpp
re34888 rc739b3 158 158 { 159 159 // check that grids are compatible 160 if (is Compatible(other)) {160 if (isEquivalent(other)) { 161 161 /// get minimum of window 162 162 double min_begin_window[NDIM]; … … 199 199 { 200 200 /// check that grids are compatible 201 if (is Compatible(other)) {201 if (isEquivalent(other)) { 202 202 /// get maximum of window 203 203 double max_begin_window[NDIM]; … … 259 259 double SamplingGrid::integral(const SamplingGrid &weight) const 260 260 { 261 if (is Compatible(weight)) {261 if (isEquivalent(weight)) { 262 262 const double volume_element = getVolume()/(double)getTotalGridPoints(); 263 263 double int_value = 0.;
Note:
See TracChangeset
for help on using the changeset viewer.
