ENH: Use scheduled transfer for one to many comms

This commit is contained in:
mattijs
2010-03-30 08:19:56 +01:00
parent 553b439f6d
commit 04d9ec232c

View File

@ -92,7 +92,7 @@ void Foam::LUscalarMatrix::solve(Field<Type>& sourceSol) const
{
OPstream::write
(
Pstream::blocking,
Pstream::scheduled,
slave,
reinterpret_cast<const char*>
(
@ -106,7 +106,7 @@ void Foam::LUscalarMatrix::solve(Field<Type>& sourceSol) const
{
IPstream::read
(
Pstream::blocking,
Pstream::scheduled,
Pstream::masterNo(),
reinterpret_cast<char*>(sourceSol.begin()),
sourceSol.byteSize()