Template Function combigrid::exchangeAllData1d

Function Documentation

template<typename FG_ELEMENT, DimType DIM>
static void combigrid::exchangeAllData1d(const DistributedFullGrid<FG_ELEMENT, DIM> &dfg, DimType dim, RemoteDataCollector<FG_ELEMENT> &remoteData)

share all data with neighboring processes in one dimension

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