|
omega_h
Reliable mesh adaptation
|
Public Member Functions | |
| Comm (Library *library, bool is_graph, bool sends_to_self) | |
| Comm (Comm const &)=delete | |
| Comm (Comm &&)=delete | |
| Comm & | operator= (Comm const &)=delete |
| Comm & | operator= (Comm &&)=delete |
| Library * | library () const |
| I32 | rank () const |
| I32 | size () const |
| CommPtr | dup () const |
| CommPtr | split (I32 color, I32 key) const |
| CommPtr | graph (Read< I32 > dsts) const |
| CommPtr | graph_adjacent (Read< I32 > srcs, Read< I32 > dsts) const |
| CommPtr | graph_inverse () const |
| Read< I32 > | sources () const |
| Read< I32 > | destinations () const |
| template<typename T > | |
| T | allreduce (T x, Omega_h_Op op) const |
| bool | reduce_or (bool x) const |
| bool | reduce_and (bool x) const |
| Int128 | add_int128 (Int128 x) const |
| template<typename T > | |
| T | exscan (T x, Omega_h_Op op) const |
| template<typename T > | |
| void | bcast (T &x, int root_rank=0) const |
| void | bcast_string (std::string &s, int root_rank=0) const |
| template<typename T > | |
| Read< T > | allgather (T x) const |
| template<typename T > | |
| Read< T > | alltoall (Read< T > x) const |
| template<typename T > | |
| Read< T > | alltoallv (Read< T > sendbuf, Read< LO > sdispls, Read< LO > rdispls, Int width) const |
| template<typename T > | |
| Future< T > | ialltoallv (Read< T > sendbuf, Read< LO > sdispls, Read< LO > rdispls, Int width) const |
| void | barrier () const |
| template<typename T > | |
| void | send (int rank, const T &x) |
| template<typename T > | |
| void | recv (int rank, T &x) |