Namespaces | Functions
linear_algebra_distribution.cc File Reference

Go to the source code of this file.

Namespaces

 oomph
 //////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
 
 oomph::LinearAlgebraDistributionHelpers
 Namespace for helper functions for LinearAlgebraDistributions.
 

Functions

std::ostream & oomph::operator<< (std::ostream &stream, LinearAlgebraDistribution &dist)
 output operator More...
 
void oomph::LinearAlgebraDistributionHelpers::concatenate (const Vector< LinearAlgebraDistribution * > &in_distribution_pt, LinearAlgebraDistribution &out_distribution)
 Takes a vector of LinearAlgebraDistribution objects and concatenates them such that the nrow_local of the out_distribution is the sum of the nrow_local of all the in_distributions and the number of global rows of the out_distribution is the sum of the number of global rows of all the in_distributions. This results in a permutation of the rows in the out_distribution. Think of this in terms of DoubleVectors, if we have DoubleVectors with distributions A and B, distributed across two processors (p0 and p1), A: [a0] (on p0) B: [b0] (on p0) [a1] (on p1) [b1] (on P1),. More...