diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H b/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H index d7501086542d522d83f95746554f7cae71e2971d..8e9d055d74cd64fb580e4739b643df7790d454f4 100644 --- a/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H +++ b/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H @@ -20,7 +20,7 @@ const fileName pdfPath = runTime.path()/"pdf"; mkDir(pdfPath); - Random rndGen(label(0)); + cachedRandom rndGen(label(0), -1); autoPtr<pdfs::pdf> p(pdfs::pdf::New(pdfDictionary, rndGen));