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. // patch. That becomes the value of fld.
const word patchName(dict.lookup("patch")); const word patchName(dict.lookup("patch"));
label patchID = mesh().boundaryMesh().findPatchID(patchName); label patchID = mesh().boundaryMesh().findPatchID(patchName);
pointField pdf = pointField pdf
pointDisplacement_.boundaryField()[patchID].patchInternalField(); (
pointDisplacement_.boundaryField()[patchID].patchInternalField()
);
fld = gAverage(pdf); fld = gAverage(pdf);
} }
else else