Template Function combigrid::exchangeData1d

Function Documentation

template<typename FG_ELEMENT, DimType DIM>
static void combigrid::exchangeData1d(const DistributedFullGrid<FG_ELEMENT, DIM> &dfg, DimType dim, RemoteDataCollector<FG_ELEMENT> &remoteData, LevelType lmin = 0)

share data with neighboring processes in one dimension, but such that every process gets only the data for direct hierarchical predecssors of its own points

Parameters:
  • dfg – : the DistributedFullGrid where the own values are stored

  • dim – : the dimension in which we want to exchange

  • remoteData – : the data structure into which the received data will be stored