Files
OpenFOAM-12/applications/solvers/multiphase/cavitatingFoam/createControls.H
Henry Weller 5eaf74c3a4 dictionary scalar lookup: simplified syntax using the type templated lookup function
Replaced
    readScalar(dict.lookup("name"))
with
    dict.lookup<scalar>("name")
2019-11-27 14:56:32 +00:00

7 lines
116 B
C++

#include "createDyMControls.H"
scalar maxAcousticCo
(
runTime.controlDict().lookup<scalar>("maxAcousticCo")
);