MPI问题
for(interfaceMCiter = interfaceMCs.begin () ; interfaceMCiter != interfaceMCs.end () ; interfaceMCiter++)
{
MathCover* nd = (*interfaceMCiter) ;
double *coord = nd->getCentrixCoord ();
sbuf[0] =static_cast<double> (nd->_boundary .size ());
sbuf[1] = coord[0];
sbuf[2] = coord[1];
sbuf[3] = coord[2];
delete[] coord;
for(i=0;i<_numOfNeighborSubdm ;i++)
{
p2 = (*_neigborsubdms)(i);
ierr = MPI_Isend(sbuf, nn, MPI_DOUBLE, p2, _myRank ,MPI_COMM_WORLD, &reqs);
}
}
//terminate signal
sbuf[0] =-11;
for(i=0;i<_numOfNeighborSubdm ;i++)
{