33 #ifndef __H__LIB_ALGEBRA__PARALLELIZATION__PARALLEL_INDEX_LAYOUT__
34 #define __H__LIB_ALGEBRA__PARALLELIZATION__PARALLEL_INDEX_LAYOUT__
81 if(interface.get_element(iter) == i)
84 return interface.end();
89 return find(interface, i) != interface.end();
95 interface.push_back(i);
109 mark[ interface.get_element(iter) ] = default_val;
123 MarkAllFromInterface<T> (mark, layout.
interface(iter), default_val);
the standard single-level-layout implementation
Definition: pcl_communication_structs.h:452
iterator end(size_t level=0)
returns the iterator to the last interface of the layout.
Definition: pcl_communication_structs.h:492
iterator begin(size_t level=0)
returns the iterator to the first interface of the layout.
Definition: pcl_communication_structs.h:486
Interface & interface(iterator iter)
returns the interface to the given iterator.
Definition: pcl_communication_structs.h:505
InterfaceMap::const_iterator const_iterator
Definition: pcl_communication_structs.h:477
TInterface Interface
Interface type.
Definition: pcl_communication_structs.h:467
InterfaceMap::iterator iterator
An iterator that allows to iterate over the interfaces stored in the layout.
Definition: pcl_communication_structs.h:476
pcl::SingleLevelLayout< pcl::OrderedInterface< size_t, std::vector > > IndexLayout
Definition: parallel_index_layout.h:53
std::ostream & operator<<(std::ostream &outStream, const ug::MathMatrix< 2, 2 > &m)
Definition: math_matrix.cpp:38
void AddIfUnique(IndexLayout::Interface &interface, size_t i)
Definition: parallel_index_layout.h:92
IndexLayout::Interface::iterator find(IndexLayout::Interface &interface, size_t i)
Definition: parallel_index_layout.h:77
void LogIndexLayout(IndexLayout &layout, int depth)
Logs the internals of an index layout.
Definition: parallel_index_layout.cpp:42
void ReplaceIndicesInLayout(IndexLayout &layout, const std::vector< int > &vMap)
replaces the indices in the layout based on a passed mapping
Definition: parallel_index_layout.cpp:141
void AddAllFromLayout(std::set< size_t > &s, const IndexLayout &layout)
Definition: parallel_index_layout.cpp:196
void MarkAllFromInterface(std::vector< bool > &mark, const IndexLayout::Interface &interface)
Definition: parallel_index_layout.cpp:177
void LogIndexLayoutOnAllProcs(IndexLayout &layout, int depth)
logs index infos for all procs successively
Definition: parallel_index_layout.cpp:113
void MarkAllFromLayout(std::vector< bool > &mark, const IndexLayout &layout)
Definition: parallel_index_layout.cpp:183
void AddAllFromInterface(std::set< size_t > &s, const IndexLayout::Interface &interface)
Definition: parallel_index_layout.cpp:190
bool IsInInterface(IndexLayout::Interface &interface, size_t i)
Definition: parallel_index_layout.h:87