Skip to content

FunctionObject from foamNewFunctionObject does not compile

Summary

functionObject generated by the utility foamNewFunctionObject does not compile

Environment information

  • OpenFOAM version : of2006,of2012,ofdev
  • Operating system : ubuntu
  • Hardware info :
  • Compiler : gcc

Possible fixes

error in following line:

boolData_(dict.getOrDefault<bool>("boolData"), true),

replace with

boolData_(dict.getOrDefault<bool>("boolData", true)),