Ignore:
Timestamp:
Jun 8, 2016, 9:04:17 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
e34888
Parents:
a5d4c3
git-author:
Frederik Heber <heber@…> (06/01/16 08:51:01)
git-committer:
Frederik Heber <heber@…> (06/08/16 21:04:17)
Message:

WindowGrid_converter's refactored a bit with getDiscreteWindowOffsets().

  • Added SamplingGrid::getDiscreteWindowOffsets().
  • WindowGrid_converter now also use NDIM instead of 3 to clarify the use of the spatial degrees of freedom (and not some grid level or else).
File:
1 edited

Legend:

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

    ra5d4c3 rf84241  
    253253      size_t _wend[NDIM]) const;
    254254
     255  /** Returns number of grid points before the window, during the window, and
     256   * after the window including the total length of the domain for check.
     257   *
     258   * \param _pre_offset grid points before start of window
     259   * \param _post_offset grid points after end of window
     260   * \param _length grid points in window
     261   * \param _total grid points in domain
     262   */
     263  void getDiscreteWindowOffsets(
     264      size_t _pre_offset[NDIM],
     265      size_t _post_offset[NDIM],
     266      size_t _length[NDIM],
     267      size_t _total[NDIM]) const;
     268
    255269  /** Equality operator.
    256270   *
Note: See TracChangeset for help on using the changeset viewer.