dune-pdelab 2.10-git
Loading...
Searching...
No Matches
recipe-communication.cc File Reference

Macros

#define COMMUNICATE_HH
 

Functions

template<typename GV >
void communicate (const GV &gv, int communicationType)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ COMMUNICATE_HH

#define COMMUNICATE_HH

Taken 6.6.2019 from tutorial06/exercise/solution/solution06-2.cc Added commentaries, changed data[i] to store (100^rank) instead of (rank). Removed ParameterTree and dependancy on .ini file. Removed customized DataHandle, use default one.

Function Documentation

◆ communicate()

template<typename GV >
void communicate ( const GV &  gv,
int  communicationType 
)

[Define DataHandle]

[Collective communication object]

[Get rank]

[Communication type]

[Collective communication]

◆ main()

int main ( int  argc,
char **  argv 
)

[Define gv]

[Define gv]