Discontinuous Galerkin Library
#include "dg/algorithm.h"
Loading...
Searching...
No Matches
mpi_kron.h File Reference
#include <cassert>
#include <vector>
#include <algorithm>
#include <map>
#include "exceptions.h"

Go to the source code of this file.

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 

Functions

MPI_Comm dg::mpi_cart_sub (MPI_Comm comm, std::vector< int > remain_dims, bool duplicate=false)
 Call and register a call to MPI_Cart_sub with the dg library.
 
MPI_Comm dg::mpi_cart_kron (std::vector< MPI_Comm > comms)
 Form a Kronecker product among Cartesian communicators.
 
template<class Vector >
MPI_Comm dg::mpi_cart_kron (Vector comms)
 Convenience shortcut for return mpi_cart_kron( std::vector<MPI_Comm>(comms.begin(), comms.end()));
 
std::vector< MPI_Comm > dg::mpi_cart_split (MPI_Comm comm)
 Split a Cartesian communicator along each dimensions.
 
template<size_t Nd>
std::array< MPI_Comm, Nd > dg::mpi_cart_split_as (MPI_Comm comm)
 Same as mpi_cart_split but differen return type.