Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
parallelization_util_impl.h File Reference
#include <vector>
#include "common/error.h"
#include "parallelization_util.h"

Go to the source code of this file.

Namespaces

namespace  ug
 the ug namespace
 

Functions

template<class TIndVec >
void ug::GenerateGlobalConsecutiveIndices (TIndVec &indsOut, size_t numLocalInds, const AlgebraLayouts &layouts)
 Generates a set of global consecutive indices.
 
template<class TMatrix >
void ug::TestHorizontalAlgebraLayouts (const TMatrix &mat, std::vector< AlgebraID > *algebraIDs=NULL, bool verbose=false)
 Tests layouts by matching master and slave interfaces and by comparing global id's.