Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

main.h

Go to the documentation of this file.
00001 //**************************************************************************
00002 #ifndef _MAIN_H
00003 #define _MAIN_H
00004 //**************************************************************************
00005 #include <mpi++.h>      // For MPI:: functions
00006 //**************************************************************************
00007 template <class Etype>
00008 inline void BroadcastToSlaves(Etype *var, int n = 1)
00009 {
00010 MPI::COMM_WORLD.Bcast((unsigned char *) var, n*sizeof(Etype), MPI::BYTE, 0);
00011 }
00012 //**************************************************************************
00013 #endif // _MAIN_H
00014 //**************************************************************************

Generated on Sun Jun 16 17:36:41 2002 for Anirudh's Vortex-Wake Simulation Code by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001