mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
displacementLayeredMotionMotionSolver: correct constructor for clang
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user