mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Minor code update
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user