OP  0.1
OP is a optimization solver plugin package
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Types | Public Attributes | List of all members
op::utility::RankCommunication< T > Struct Template Reference

Holds communication information to and from rank. More...

#include <op_utility.hpp>

Public Types

using value_type = T
 
using key_type = int
 

Public Attributes

std::unordered_map< int, T > recv
 
std::unordered_map< int, T > send
 

Detailed Description

template<typename T>
struct op::utility::RankCommunication< T >

Holds communication information to and from rank.

Maps index information recieved and sent from a rank. Indices recieved for a given rank record contributions in terms of local rank indices. e.g. rank 1: {1, 4, 5} means that rank 1 contributes to local variable index 1, 4, and 5.

Definition at line 18 of file op_utility.hpp.


The documentation for this struct was generated from the following file: