#include <winstd.H>
#include <BoxArray.H>
#include <DistributionMapping.H>
#include <ParallelDescriptor.H>
#include <ParmParse.H>
#include <iostream>
#include <cstdlib>
#include <list>
#include <vector>
#include <queue>
#include <algorithm>
#include <numeric>
Functions | |
static std::vector< std::list < int > > | knapsack (const std::vector< long > &pts, int nprocs) |
std::ostream & | operator<< (std::ostream &os, const DistributionMapping &pmap) |
static std::vector< std::list<int> > knapsack | ( | const std::vector< long > & | pts, | |
int | nprocs | |||
) | [static] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const DistributionMapping & | pmap | |||
) |
References BoxLib::Error(), DistributionMapping::ProcessorMap(), and Array< T >::size().