Shortcuts

Template Function ripple::load_internal_boundary

Function Documentation

template<size_t Dims, typename ItFrom, typename ItTo>
auto ripple::load_internal_boundary(ItFrom &&from, ItTo &&to) noexcept -> void

Loads padding data from the from iterator into the padding of the to iterator.

Todo:

Maybe change the dims parameter to be inferred from the iterators.

Pre

The iterators must be offset to the locations from which the padding will be loaded.

Note

If the from iterator is a smaller (in any dimension) iterator than the to iterator, the behaviour is undefined. Additionally, it must be possible to offset both itertators by the padding amount of to in each dimension.

Todo:

This uses a lot of registers, and since it’s mostly used for loading of shared memory data, it needs to be improved.

Parameters
  • from: The iterator to load the boundary data from.

  • to: The iterator to load the boundary data into.

Template Parameters
  • Dims: The number of dimension to load data for.

  • ItFrom: The type of the from iterator.

  • ItTo: The type of the to iterator.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples