From 05899eaa9ed0357ab630671fdf74cbdfa131f5c2 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 25 May 2017 14:40:25 +0100 Subject: [PATCH] Bugfix: Comms type in processor point fields. Further fixes needed --- .../processor/ProcessorPointPatchField.C | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/foam/fields/PointPatchFieldTemplates/constraint/processor/ProcessorPointPatchField.C b/src/foam/fields/PointPatchFieldTemplates/constraint/processor/ProcessorPointPatchField.C index 01aaf3aa6..53cc948cd 100644 --- a/src/foam/fields/PointPatchFieldTemplates/constraint/processor/ProcessorPointPatchField.C +++ b/src/foam/fields/PointPatchFieldTemplates/constraint/processor/ProcessorPointPatchField.C @@ -470,7 +470,7 @@ initEvaluate { if (this->isPointField()) { - initAddFieldTempl(Pstream::blocking, this->internalField()); + initAddFieldTempl(commsType, this->internalField()); } } } @@ -551,7 +551,7 @@ ProcessorPointPatchField :: initAddField() const { - initAddFieldTempl(Pstream::blocking, this->internalField()); + initAddFieldTempl(Pstream::defaultComms(), this->internalField()); } @@ -570,7 +570,7 @@ ProcessorPointPatchField :: addField(Field& f) const { - addFieldTempl(Pstream::blocking, f); + addFieldTempl(Pstream::defaultComms(), f); } @@ -636,7 +636,7 @@ ProcessorPointPatchField :: initAddDiag(const scalarField& d) const { - initAddFieldTempl(Pstream::blocking, d); + initAddFieldTempl(Pstream::defaultComms(), d); } @@ -655,7 +655,7 @@ ProcessorPointPatchField :: initAddSource(const scalarField& s) const { - initAddFieldTempl(Pstream::blocking, s); + initAddFieldTempl(Pstream::defaultComms(), s); } @@ -674,7 +674,7 @@ ProcessorPointPatchField :: addDiag(scalarField& d) const { - addFieldTempl(Pstream::blocking, d); + addFieldTempl(Pstream::defaultComms(), d); } @@ -693,7 +693,7 @@ ProcessorPointPatchField :: addSource(scalarField& s) const { - addFieldTempl(Pstream::blocking, s); + addFieldTempl(Pstream::defaultComms(), s); }