Reverted ProcessorPointPatchField.C, which broke parallel motion on some cases
This commit is contained in:
parent
f1aa6ef184
commit
b7a6e17dd0
1 changed files with 1 additions and 12 deletions
|
@ -511,18 +511,7 @@ evaluate
|
||||||
}
|
}
|
||||||
|
|
||||||
// Average over two sides
|
// Average over two sides
|
||||||
|
tpn = 0.5*(this->patchInternalField(this->internalField()) + tpn);
|
||||||
// ZT, 22-07-2014 - point ordering is not same
|
|
||||||
// at master and slave side after topology change
|
|
||||||
const labelList& neiPoints =
|
|
||||||
procPatch_.procPolyPatch().neighbPoints();
|
|
||||||
|
|
||||||
tpn =
|
|
||||||
0.5
|
|
||||||
*(
|
|
||||||
this->patchInternalField(this->internalField())
|
|
||||||
+ Field<Type>(tpn, neiPoints)
|
|
||||||
);
|
|
||||||
|
|
||||||
// Get internal field to insert values into
|
// Get internal field to insert values into
|
||||||
Field<Type>& iF = const_cast<Field<Type>&>(this->internalField());
|
Field<Type>& iF = const_cast<Field<Type>&>(this->internalField());
|
||||||
|
|
Reference in a new issue