STYLE: Minor code update
This commit is contained in:
parent
3530711219
commit
8df0a7022a
@ -71,8 +71,7 @@ bool Foam::dynamicMotionSolverFvMesh::update()
|
||||
|
||||
if (foundObject<volVectorField>("U"))
|
||||
{
|
||||
volVectorField& U =
|
||||
const_cast<volVectorField&>(lookupObject<volVectorField>("U"));
|
||||
volVectorField& U = lookupObjectRef<volVectorField>("U");
|
||||
U.correctBoundaryConditions();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user