openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Namespaces | Functions
SF_network.h File Reference

Functions related to network communication. More...

#include <mpi.h>
#include "SF_container.h"
#include "SF_globals.h"
#include "SF_vector.h"
Include dependency graph for SF_network.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SF
 

Functions

template<class T , class S >
void SF::MPI_Exchange (commgraph< T > &grph, vector< S > &send, vector< S > &recv, MPI_Comm comm)
 Exchange data in parallel over MPI. More...
 
template<class T >
SF::parallel_fallback_value (const vector< T > &vec, MPI_Comm comm)
 Get a fallback value for operations on parallel vectors if the local vector is of 0 size. More...
 
template<class T >
SF::global_min (const vector< T > &vec, MPI_Comm comm)
 Compute the global minimum of a distributed vector. More...
 
template<class T >
SF::global_max (const vector< T > &vec, MPI_Comm comm)
 Compute the global maximum of a distributed vector. More...
 
template<class T >
SF::global_max (const T val, MPI_Comm comm)
 Compute the global maximum of a distributed vector. More...
 
template<class T >
void SF::layout_from_count (const T count, vector< T > &layout, MPI_Comm comm)
 
template<class T >
SF::index_in_layout (const T idx, const vector< T > &layout)
 
template<class T >
void SF::make_global (const vector< T > &vec, vector< T > &out, MPI_Comm comm)
 make a parallel vector global More...
 
template<class T >
void SF::make_global (vector< T > &vec, MPI_Comm comm)
 

Detailed Description

Functions related to network communication.

Author
Aurel Neic
Version
Date
2017-02-14

Definition in file SF_network.h.