mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
calculate sizes also when running non-parallel
This commit is contained in:
@ -49,8 +49,6 @@ void Pstream::exchange
|
||||
const int tag,
|
||||
const bool block
|
||||
)
|
||||
{
|
||||
if (UPstream::parRun())
|
||||
{
|
||||
if (!contiguous<T>())
|
||||
{
|
||||
@ -86,7 +84,8 @@ void Pstream::exchange
|
||||
combineReduce(sizes, UPstream::listEq());
|
||||
UPstream::msgType() = oldTag;
|
||||
|
||||
|
||||
if (Pstream::parRun())
|
||||
{
|
||||
// Set up receives
|
||||
// ~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user