ARRAY -> Array

This commit is contained in:
Joachim Schoeberl 2009-01-25 12:35:44 +00:00
parent 91d5c9888d
commit 3a5f9cb7d5
2 changed files with 6 additions and 5 deletions

View File

@ -99,7 +99,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
} }
template <class T, int BASE> template <class T, int BASE>
inline void MyMPI_Recv ( ARRAY <T, BASE> & s, int src) inline void MyMPI_Recv ( Array <T, BASE> & s, int src)
{ {
MPI_Status status; MPI_Status status;
int len; int len;
@ -111,7 +111,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
} }
template <class T, int BASE> template <class T, int BASE>
inline int MyMPI_Recv ( ARRAY <T, BASE> & s) inline int MyMPI_Recv ( Array <T, BASE> & s)
{ {
MPI_Status status; MPI_Status status;
int len; int len;
@ -185,7 +185,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
} }
template <class T> template <class T>
inline void MyMPI_Bcast (ARRAY<T, 0> & s, MPI_Comm comm = MPI_COMM_WORLD) inline void MyMPI_Bcast (Array<T, 0> & s, MPI_Comm comm = MPI_COMM_WORLD)
{ {
int size = s.Size(); int size = s.Size();
MyMPI_Bcast (size, comm); MyMPI_Bcast (size, comm);
@ -194,7 +194,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
} }
template <class T> template <class T>
inline void MyMPI_Bcast (ARRAY<T, 0> & s, int root, MPI_Comm comm = MPI_COMM_WORLD) inline void MyMPI_Bcast (Array<T, 0> & s, int root, MPI_Comm comm = MPI_COMM_WORLD)
{ {
int id; int id;
MPI_Comm_rank(MPI_HIGHORDER_COMM, &id); MPI_Comm_rank(MPI_HIGHORDER_COMM, &id);

View File

@ -38,12 +38,13 @@
#endif #endif
/*
#ifdef METIS #ifdef METIS
namespace metis { extern "C" { namespace metis { extern "C" {
#include <metis.h> #include <metis.h>
} } } }
#endif #endif
*/
#ifndef NO_PARALLEL_THREADS #ifndef NO_PARALLEL_THREADS