Skip to content
Snippets Groups Projects
Commit a38ff175 authored by Henry's avatar Henry
Browse files

displacementLayeredMotionMotionSolver: correct constructor for clang

parent 345f5908
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment