displacementLayeredMotionMotionSolver: correct constructor for clang

This commit is contained in:
Henry
2013-06-12 13:07:58 +01:00
parent 345f590828
commit a38ff1757c

View File

@ -259,8 +259,10 @@ Foam::displacementLayeredMotionMotionSolver::faceZoneEvaluate
// patch. That becomes the value of fld.
const word patchName(dict.lookup("patch"));
label patchID = mesh().boundaryMesh().findPatchID(patchName);
pointField pdf =
pointDisplacement_.boundaryField()[patchID].patchInternalField();
pointField pdf
(
pointDisplacement_.boundaryField()[patchID].patchInternalField()
);
fld = gAverage(pdf);
}
else