33 #ifndef __H__UG__LIB_DISC__PARALLELIZATION__PARALLELIZATION_UTIL__
34 #define __H__UG__LIB_DISC__PARALLELIZATION__PARALLELIZATION_UTIL__
63 DoFDistribution& dofDistr,
64 GridLayoutMap& layoutMap,
65 int keyType,
int level);
83 DoFDistribution& dofDistr,
84 GridLayoutMap& layoutMap,
86 MultiGrid& mg, DistributedGridManager& dGrMgr);
92 DoFDistribution& dofDistr,
93 GridLayoutMap& layoutMap,
94 int keyType,
int level,
121 const std::vector<size_t>& vIndNew);
Definition: pcl_domain_decomposition.h:43
pcl::SingleLevelLayout< pcl::OrderedInterface< size_t, std::vector > > IndexLayout
Definition: parallel_index_layout.h:53
bool CreateLevelIndexLayout(IndexLayout &layoutOut, DoFDistribution &dofDistr, GridLayoutMap &layoutMap, int keyType, int level)
creates the index layout for a level given a GridLayoutMap
Definition: parallelization_util.cpp:138
void PermuteIndicesInIndexLayout(IndexLayout &layout, const std::vector< size_t > &vIndNew)
permutes an IndexLayout for the permutation of indices
Definition: parallelization_util.cpp:431
bool AddExtraProcessEntriesToSubdomainLayout(size_t numIDs, IndexLayout &processMasterLayoutIn, IndexLayout &processSlaveLayoutIn, IndexLayout &subdomainMasterLayoutInOut, IndexLayout &subdomainSlaveLayoutInOut)
Definition: parallelization_util.cpp:340
void FindPositionInInterfaces(std::vector< std::pair< int, size_t > > &vIndexInterface, const IndexLayout &layout, size_t index)
returns in a vector all appearencies of an index in a layout
Definition: parallelization_util.cpp:316
bool CreateSurfaceIndexLayout(IndexLayout &layoutOut, DoFDistribution &dofDistr, GridLayoutMap &layoutMap, int keyType, MultiGrid &mg, DistributedGridManager &dGrMgr)
creates the index layout for a level given a GridLayoutMap
Definition: parallelization_util.cpp:260
bool CreateIndexLayouts_DomainDecomposition(IndexLayout &processLayoutOut, IndexLayout &subdomainLayoutOut, DoFDistribution &dofDistr, GridLayoutMap &layoutMap, int keyType, int level, pcl::IDomainDecompositionInfo *ddInfoIn)
Definition: parallelization_util.cpp:533