mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use returnReduceAnd(), returnReduceOr() functions
DOC: document which MPI send/recv are associated with commType
This commit is contained in:
committed by
Andrew Heather
parent
473e14418a
commit
70208a7399
@ -45,7 +45,7 @@ void Foam::Function1Types::Sample<Type>::setSampleCell() const
|
||||
|
||||
celli_ = mesh.findCell(position_);
|
||||
|
||||
if (!returnReduce(celli_ != -1, orOp<bool>()))
|
||||
if (returnReduceAnd(celli_ < 0))
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Sample cell could not be found at position "
|
||||
|
||||
Reference in New Issue
Block a user