Ignore:
Timestamp:
Jun 8, 2016, 10:45:28 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
6c0b3f
Parents:
c739b3
git-author:
Frederik Heber <heber@…> (06/08/16 13:22:11)
git-committer:
Frederik Heber <heber@…> (06/08/16 22:45:28)
Message:

SamplingGrid has downsample() function.

  • we need this when small fragment grids are calculated at a higher resolution than full_sample grid is supposed to be calculated at.
  • extended SamplingGridUnitTest to downsample() function, needed special attention on boundary of grid.
File:
1 edited

Legend:

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

    rc739b3 r6369bc  
    166166  }
    167167
     168  /** Sample a given grid \a other down to grid level \a _level and store
     169   * in \a instance.
     170   *
     171   * \param instance given instance to store downsampled grid in
     172   * \param other instance to get grid from
     173   * \param _level level to sample down to
     174   */
     175  static void downsample(SamplingGrid& instance, const SamplingGrid& other, const int _level);
     176
    168177  /** Returns the numeric integral over the grid.
    169178   *
Note: See TracChangeset for help on using the changeset viewer.