COMP: avoid ambiguous construct from tmp - engine

This commit is contained in:
Mark Olesen
2010-12-17 16:43:37 +01:00
parent 7b1eb1ceb8
commit bd7d27e622
4 changed files with 10 additions and 6 deletions

View File

@ -68,9 +68,11 @@ void Foam::fvMotionSolverEngineMesh::move()
motionSolver_.cellMotionU().boundaryField()[pistonIndex_] == deltaZ;
{
scalarField linerPoints =
scalarField linerPoints
(
motionSolver_.cellMotionU()
.boundaryField()[linerIndex_].patch().Cf().component(vector::Z);
.boundaryField()[linerIndex_].patch().Cf().component(vector::Z)
);
motionSolver_.cellMotionU().boundaryField()[linerIndex_] ==
deltaZ*pos(deckHeight_.value() - linerPoints)