diff --git a/applications/utilities/preProcessing/viewFactorsGen/shootRays.H b/applications/utilities/preProcessing/viewFactorsGen/shootRays.H index 9cc1ccbcd3..d20b204f03 100644 --- a/applications/utilities/preProcessing/viewFactorsGen/shootRays.H +++ b/applications/utilities/preProcessing/viewFactorsGen/shootRays.H @@ -1,8 +1,11 @@ // All rays expressed as start face (local) index end end face (global) // Pre-size by assuming a certain percentage is visible. -// Maximum lenght for dynamicList -const label maxDynListLength = 100000; +// Maximum length for dynamicList +const label maxDynListLength +( + viewFactorDict.lookupOrDefault