interface

This commit is contained in:
Joachim Schoeberl 2011-07-13 18:27:17 +00:00
parent b00666b2da
commit 70292000c3

View File

@ -234,9 +234,10 @@ namespace netgen
inline void MyMPI_Send ( int *& s, int & len, int dest, int tag) inline void MyMPI_Send ( int *& s, int len, int dest, int tag)
{ {
MPI_Send( &len, 1, MPI_INT, dest, tag, MPI_COMM_WORLD); int hlen = len;
MPI_Send( &hen, 1, MPI_INT, dest, tag, MPI_COMM_WORLD);
MPI_Send( s, len, MPI_INT, dest, tag, MPI_COMM_WORLD); MPI_Send( s, len, MPI_INT, dest, tag, MPI_COMM_WORLD);
} }