Commit 6043c962 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: accept "solver" or "motionSolver" without complaint

- The change from "solver" to "motionSolver" has not been
  applied consistently for all types of motion solvers.
parent aa0f2e0d
......@@ -105,9 +105,11 @@ Foam::autoPtr<Foam::motionSolver> Foam::motionSolver::New
const IOdictionary& solverDict
// The change from "solver" to "motionSolver" has not been
// applied consistently. Accept both without complaint.
const word solverName
solverDict.getCompat<word>("motionSolver", {{"solver", 1612}})
solverDict.getCompat<word>("motionSolver", {{"solver", -1612}})
Info<< "Selecting motion solver: " << solverName << nl;
Markdown is supported
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