PatchToPatchInterpolate: Update to use the tmp ref() non-const access function
Resolves bug-report http://bugs.openfoam.org/view.php?id=2248
This commit is contained in:
parent
de29a3309e
commit
7dbca43064
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ PatchToPatchInterpolation<FromPatch, ToPatch>::pointInterpolate
|
|||
new Field<Type>(toPatch_.nPoints(), Zero)
|
||||
);
|
||||
|
||||
Field<Type>& result = tresult();
|
||||
Field<Type>& result = tresult.ref();
|
||||
|
||||
const List<typename FromPatch::FaceType>& fromPatchLocalFaces =
|
||||
fromPatch_.localFaces();
|
||||
|
|
@ -118,7 +118,7 @@ PatchToPatchInterpolation<FromPatch, ToPatch>::faceInterpolate
|
|||
new Field<Type>(toPatch_.size(), Zero)
|
||||
);
|
||||
|
||||
Field<Type>& result = tresult();
|
||||
Field<Type>& result = tresult.ref();
|
||||
|
||||
const labelListList& fromPatchFaceFaces = fromPatch_.faceFaces();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue