Ignore:
Timestamp:
Jun 8, 2016, 6:12:12 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
e480fc
Parents:
c9b843
git-author:
Frederik Heber <heber@…> (05/26/16 09:51:07)
git-committer:
Frederik Heber <heber@…> (06/08/16 18:12:12)
Message:

FIX: Replaced 3 by NDIM in SamplingGrid which avoids some confusion with numeric grid levels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Summation/SetValues/SamplingGrid_inline.hpp

    rc9b843 rc805f7  
    2222{
    2323  double volume = 1.;
    24   for (size_t i=0;i<3;++i)
     24  for (size_t i=0;i<NDIM;++i)
    2525    volume *= end_window[i]-begin_window[i];
    2626  return volume;
     
    4949#endif
    5050void SamplingGrid::setDomainSize(
    51     const double _begin[3],
    52     const double _end[3])
     51    const double _begin[NDIM],
     52    const double _end[NDIM])
    5353{
    54   for (size_t index=0;index<3;++index) {
     54  for (size_t index=0;index<NDIM;++index) {
    5555    begin[index] = _begin[index];
    5656    end[index] = _end[index];
Note: See TracChangeset for help on using the changeset viewer.