Rosetta 3.3
Namespaces | Functions
src/utility/mpi_util.hh File Reference
#include <utility/vector1.hh>
#include <string>


namespace  utility

unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.


int utility::mpi_rank ()
int utility::mpi_nprocs ()
std::string utility::receive_string_from_node (int source)
 Use MPI to receive a string from a particular node.
void utility::send_string_to_node (int source, std::string const &message)
int utility::receive_integer_from_node (int source)
 Use MPI to receive a single integer from a particular node.
void utility::send_integer_to_node (int destination, int message)
utility::vector1< intutility::receive_integers_from_node (int source)
 Use MPI to receive a vector of integers from a particular node.
void utility::send_integers_to_node (int destination, utility::vector1< int > const &message)
double utility::receive_double_from_node (int source)
 Use MPI to receive a single double from a particular node.
void utility::send_double_to_node (int destination, double message)
utility::vector1< doubleutility::receive_doubles_from_node (int source)
 Use MPI to receive a vector of doubles from a particular node.
void utility::send_doubles_to_node (int destination, utility::vector1< double > const &message)

Detailed Description

Andrew Leaver-Fay (
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines