https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
MFEMDistributedGraph.h File Reference

Go to the source code of this file.

Classes

class  Moose::MFEM::BlockDistribution
 Block distribution of a dense global index range [0, n) over the ranks of a communicator: rank r owns [begin(r), end(r)). More...
 
struct  Moose::MFEM::DistributedEdge
 An undirected edge of the distributed vertex graph. More...
 

Namespaces

namespace  Moose
 MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found.
 
namespace  Moose::MFEM
 Utilities for converting between vector(s) of libMesh Points and MFEM Vector(s).
 

Functions

template<typename T , typename DestinationFn >
std::vector< T > Moose::MFEM::groupByDestination (const std::vector< T > &items, int nprocs, DestinationFn destination, std::vector< int > &counts)
 Group items by the destination rank returned by destination, so they can be handed to allToAll.
 
template<typename T >
std::vector< T > Moose::MFEM::allToAll (const std::vector< T > &send, const std::vector< int > &send_counts, MPI_Comm comm)
 MPI_Alltoallv over a trivially copyable payload.
 
void Moose::MFEM::distributedSpanningForest (std::vector< DistributedEdge > &edges, std::int64_t num_labels, MPI_Comm comm, std::vector< int > *selected, std::vector< std::int64_t > *owned_labels=nullptr)
 Distributed Boruvka over the edges held collectively by the ranks of comm.
 
std::vector< std::int64_t > Moose::MFEM::fetchLabels (const std::vector< std::int64_t > &queries, const std::vector< std::int64_t > &owned_labels, const BlockDistribution &dist, MPI_Comm comm)
 Final component representative of each id in queries, looked up from the distributed label array.