Commit 04d9ec23 authored by mattijs's avatar mattijs
Browse files

ENH: Use scheduled transfer for one to many comms

parent 553b439f
...@@ -92,7 +92,7 @@ void Foam::LUscalarMatrix::solve(Field<Type>& sourceSol) const ...@@ -92,7 +92,7 @@ void Foam::LUscalarMatrix::solve(Field<Type>& sourceSol) const
{ {
OPstream::write OPstream::write
( (
Pstream::blocking, Pstream::scheduled,
slave, slave,
reinterpret_cast<const char*> reinterpret_cast<const char*>
( (
...@@ -106,7 +106,7 @@ void Foam::LUscalarMatrix::solve(Field<Type>& sourceSol) const ...@@ -106,7 +106,7 @@ void Foam::LUscalarMatrix::solve(Field<Type>& sourceSol) const
{ {
IPstream::read IPstream::read
( (
Pstream::blocking, Pstream::scheduled,
Pstream::masterNo(), Pstream::masterNo(),
reinterpret_cast<char*>(sourceSol.begin()), reinterpret_cast<char*>(sourceSol.begin()),
sourceSol.byteSize() sourceSol.byteSize()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment