Bugfix: Comms type in processor point fields. Further fixes needed

This commit is contained in:
Hrvoje Jasak 2017-05-25 14:40:25 +01:00
parent a14b7c2b03
commit 05899eaa9e

View file

@ -470,7 +470,7 @@ initEvaluate
{ {
if (this->isPointField()) if (this->isPointField())
{ {
initAddFieldTempl(Pstream::blocking, this->internalField()); initAddFieldTempl(commsType, this->internalField());
} }
} }
} }
@ -551,7 +551,7 @@ ProcessorPointPatchField
<PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>:: <PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>::
initAddField() const initAddField() const
{ {
initAddFieldTempl(Pstream::blocking, this->internalField()); initAddFieldTempl(Pstream::defaultComms(), this->internalField());
} }
@ -570,7 +570,7 @@ ProcessorPointPatchField
<PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>:: <PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>::
addField(Field<Type>& f) const addField(Field<Type>& f) const
{ {
addFieldTempl(Pstream::blocking, f); addFieldTempl(Pstream::defaultComms(), f);
} }
@ -636,7 +636,7 @@ ProcessorPointPatchField
<PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>:: <PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>::
initAddDiag(const scalarField& d) const initAddDiag(const scalarField& d) const
{ {
initAddFieldTempl(Pstream::blocking, d); initAddFieldTempl(Pstream::defaultComms(), d);
} }
@ -655,7 +655,7 @@ ProcessorPointPatchField
<PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>:: <PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>::
initAddSource(const scalarField& s) const initAddSource(const scalarField& s) const
{ {
initAddFieldTempl(Pstream::blocking, s); initAddFieldTempl(Pstream::defaultComms(), s);
} }
@ -674,7 +674,7 @@ ProcessorPointPatchField
<PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>:: <PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>::
addDiag(scalarField& d) const addDiag(scalarField& d) const
{ {
addFieldTempl(Pstream::blocking, d); addFieldTempl(Pstream::defaultComms(), d);
} }
@ -693,7 +693,7 @@ ProcessorPointPatchField
<PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>:: <PatchField, Mesh, PointPatch, ProcessorPointPatch, MatrixType, Type>::
addSource(scalarField& s) const addSource(scalarField& s) const
{ {
addFieldTempl(Pstream::blocking, s); addFieldTempl(Pstream::defaultComms(), s);
} }