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
{
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()
......
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