From 30da494e5558f2ce8e41f18fdcac0c4e513e127a Mon Sep 17 00:00:00 2001 From: Kutalmis Bercin <kutalmis.bercin@esi-group.com> Date: Fri, 11 Jun 2021 14:59:10 +0200 Subject: [PATCH] STYLE: PatchParticleHistogram: simplify output for further parsing CONFIG: update completion_cache --- etc/config.sh/completion_cache | 32 ++++++++++--------- .../PatchParticleHistogram.C | 10 +++--- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/etc/config.sh/completion_cache b/etc/config.sh/completion_cache index 64804e175cf..28dd13fe05f 100644 --- a/etc/config.sh/completion_cache +++ b/etc/config.sh/completion_cache @@ -25,7 +25,7 @@ _of_complete_cache_[boundaryFoam]="-case -fileHandler | -dry-run -dry-run-write _of_complete_cache_[boxTurb]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" _of_complete_cache_[buoyantBoussinesqPimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[buoyantBoussinesqSimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" -_of_complete_cache_[buoyantPbePimpleFoam]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" +_of_complete_cache_[buoyantPbePimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[buoyantPimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[buoyantSimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[cartesian2DMesh]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" @@ -35,7 +35,7 @@ _of_complete_cache_[cavitatingFoam]="-case -decomposeParDict -fileHandler -world _of_complete_cache_[cfx4ToFoam]="-case -fileHandler -scale | -noFunctionObjects -doc -doc-source -help" _of_complete_cache_[changeDictionary]="-case -decomposeParDict -dict -fileHandler -instance -region -subDict -time -world | -constant -disablePatchGroups -enableFunctionEntries -latestTime -literalRE -noFunctionObjects -noZero -parallel -doc -doc-source -help" _of_complete_cache_[checkFaMesh]="-case -decomposeParDict -fileHandler -region -world | -noFunctionObjects -parallel -doc -doc-source -help" -_of_complete_cache_[checkMesh]="-case -decomposeParDict -fileHandler -region -time -world -writeFields -writeSets | -allGeometry -allTopology -constant -latestTime -meshQuality -noFunctionObjects -noTopology -noZero -parallel -writeAllFields -doc -doc-source -help" +_of_complete_cache_[checkMesh]="-case -decomposeParDict -fileHandler -region -regions -time -world -writeFields -writeSets | -allGeometry -allRegions -allTopology -constant -latestTime -meshQuality -noFunctionObjects -noTopology -noZero -parallel -writeAllFields -writeAllSurfaceFields -doc -doc-source -help" _of_complete_cache_[checkSurfaceMesh]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" _of_complete_cache_[chemFoam]="-case -fileHandler | -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -postProcess -doc -doc-source -help" _of_complete_cache_[chemkinToFoam]="-case -fileHandler | -newFormat -doc -doc-source -help" @@ -62,7 +62,7 @@ _of_complete_cache_[createPatch]="-case -decomposeParDict -dict -fileHandler -re _of_complete_cache_[createZeroDirectory]="-case -decomposeParDict -fileHandler -templateDir -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[cumulativeDisplacement]="-case -decomposeParDict -fileHandler -region -time -world | -constant -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help" _of_complete_cache_[datToFoam]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" -_of_complete_cache_[decomposePar]="-case -decomposeParDict -fileHandler -region -time | -allRegions -cellDist -constant -copyUniform -copyZero -dry-run -fields -force -ifRequired -latestTime -noFunctionObjects -noSets -noZero -verbose -doc -doc-source -help" +_of_complete_cache_[decomposePar]="-case -decomposeParDict -domains -fileHandler -method -region -regions -time | -allRegions -cellDist -constant -copyUniform -copyZero -dry-run -fields -force -ifRequired -latestTime -noFunctionObjects -noSets -noZero -verbose -doc -doc-source -help" _of_complete_cache_[deformedGeom]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[denseAGFoam]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[diluteVdfTransportFoam]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -postProcess -doc -doc-source -help" @@ -101,13 +101,13 @@ _of_complete_cache_[foamListRegions]="-case -fileHandler | -doc -doc-source -hel _of_complete_cache_[foamListTimes]="-case -fileHandler -time | -constant -latestTime -noZero -processor -rm -verbose -withZero -doc -doc-source -help" _of_complete_cache_[foamMeshToFluent]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" _of_complete_cache_[foamRestoreFields]="-case -decomposeParDict -fileHandler -method -time -world | -constant -dry-run -latestTime -noZero -parallel -processor -verbose -withZero -doc -doc-source -help" -_of_complete_cache_[foamToEnsight]="-case -cellZones -decomposeParDict -excludePatches -faceZones -fields -fileHandler -index -name -patches -region -time -width -world | -ascii -constant -latestTime -nearCellValue -no-boundary -no-cellZones -no-internal -no-lagrangian -no-mesh -no-overwrite -no-point-data -noFunctionObjects -noZero -nodeValues -parallel -doc -doc-source -help" +_of_complete_cache_[foamToEnsight]="-case -cellZones -decomposeParDict -excludePatches -faceZones -fields -fileHandler -index -name -patches -region -regions -time -width -world | -allRegions -ascii -constant -finite-area -latestTime -nearCellValue -no-boundary -no-cellZones -no-internal -no-lagrangian -no-mesh -no-overwrite -no-point-data -noFunctionObjects -noZero -nodeValues -parallel -doc -doc-source -help" _of_complete_cache_[foamToFireMesh]="-case -fileHandler -scale -time | -ascii -constant -latestTime -noFunctionObjects -noZero -doc -doc-source -help" _of_complete_cache_[foamToGMV]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[foamToStarMesh]="-case -fileHandler -scale -time | -constant -latestTime -noBnd -noFunctionObjects -noZero -doc -doc-source -help" _of_complete_cache_[foamToSurface]="-case -fileHandler -scale -time | -constant -latestTime -noFunctionObjects -noZero -tri -doc -doc-source -help" _of_complete_cache_[foamToTetDualMesh]="-case -decomposeParDict -fileHandler -time -world | -constant -latestTime -noFunctionObjects -noZero -overwrite -parallel -doc -doc-source -help" -_of_complete_cache_[foamToVTK]="-case -cellSet -cellZone -decomposeParDict -excludePatches -faceSet -faceZones -fields -fileHandler -name -patches -pointSet -region -regions -time -world | -allRegions -ascii -constant -finiteAreaFields -latestTime -legacy -nearCellValue -no-boundary -no-internal -no-lagrangian -no-point-data -noFunctionObjects -noZero -one-boundary -overwrite -parallel -poly-decomp -processor-fields -surfaceFields -with-ids -with-point-ids -doc -doc-source -help" +_of_complete_cache_[foamToVTK]="-case -cellSet -cellZone -decomposeParDict -excludePatches -faceSet -faceZones -fields -fileHandler -name -patches -pointSet -region -regions -time -world | -allRegions -ascii -constant -finite-area -latestTime -legacy -nearCellValue -no-boundary -no-internal -no-lagrangian -no-point-data -noFunctionObjects -noZero -one-boundary -overwrite -parallel -poly-decomp -processor-fields -surfaceFields -with-ids -with-point-ids -doc -doc-source -help" _of_complete_cache_[foamUpgradeCyclics]="-case -decomposeParDict -fileHandler -region -time -world | -constant -dry-run -enableFunctionEntries -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help" _of_complete_cache_[foamyHexMesh]="-case -decomposeParDict -fileHandler -world | -checkGeometry -conformationOnly -parallel -doc -doc-source -help" _of_complete_cache_[foamyQuadMesh]="-case -fileHandler -pointsFile | -noFunctionObjects -overwrite -doc -doc-source -help" @@ -138,7 +138,7 @@ _of_complete_cache_[lumpedPointForces]="-case -decomposeParDict -fileHandler -re _of_complete_cache_[lumpedPointMovement]="-case -decomposeParDict -fileHandler -max -scale -span -visual-length -world | -dry-run -parallel -removeLock -slave -doc -doc-source -help" _of_complete_cache_[lumpedPointZones]="-case -decomposeParDict -fileHandler -region -visual-length -world | -dry-run -no-interpolate -parallel -verbose -doc -doc-source -help" _of_complete_cache_[magneticFoam]="-case -decomposeParDict -fileHandler -world | -HdotGradH -dry-run -dry-run-write -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noB -noFunctionObjects -noH -parallel -doc -doc-source -help" -_of_complete_cache_[makeFaMesh]="-case -fileHandler -region | -noFunctionObjects -doc -doc-source -help" +_of_complete_cache_[makeFaMesh]="-case -decomposeParDict -dict -empty-patch -fileHandler -region -world | -noFunctionObjects -parallel -write-edges-obj -doc -doc-source -help" _of_complete_cache_[mapFields]="-case -fileHandler -mapMethod -sourceDecomposeParDict -sourceRegion -sourceTime -targetDecomposeParDict -targetRegion | -consistent -noFunctionObjects -parallelSource -parallelTarget -subtract -doc -doc-source -help" _of_complete_cache_[mapFieldsPar]="-case -decomposeParDict -fields -fileHandler -mapMethod -patchMapMethod -procMapMethod -sourceRegion -sourceTime -targetRegion -world | -consistent -noFunctionObjects -noLagrangian -parallel -subtract -doc -doc-source -help" _of_complete_cache_[mdEquilibrationFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -doc -doc-source -help" @@ -169,7 +169,9 @@ _of_complete_cache_[objToVTK]="-case -fileHandler | -noFunctionObjects -doc -doc _of_complete_cache_[oneWayCoupledVdfTransportFoam]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[orientFaceZone]="-case -decomposeParDict -fileHandler -region -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[overBuoyantPimpleDyMFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" +_of_complete_cache_[overCompressibleInterDyMFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[overInterDyMFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" +_of_complete_cache_[overInterPhaseChangeDyMFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[overLaplacianDyMFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[overPimpleDyMFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[overPotentialFoam]="-case -decomposeParDict -fileHandler -pName -world | -initialiseUBCs -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -withFunctionObjects -writePhi -writep -doc -doc-source -help" @@ -205,10 +207,10 @@ _of_complete_cache_[reactingHeterogenousParcelFoam]="-case -decomposeParDict -fi _of_complete_cache_[reactingMultiphaseEulerFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[reactingParcelFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[reactingTwoPhaseEulerFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" -_of_complete_cache_[reconstructPar]="-case -fields -fileHandler -lagrangianFields -region -time | -allRegions -constant -latestTime -newTimes -noFields -noFunctionObjects -noLagrangian -noSets -noZero -withZero -doc -doc-source -help" -_of_complete_cache_[reconstructParMesh]="-case -fileHandler -mergeTol -region -time | -cellDist -constant -fullMatch -latestTime -noFunctionObjects -noZero -withZero -doc -doc-source -help" +_of_complete_cache_[reconstructPar]="-case -fields -fileHandler -lagrangianFields -region -regions -time | -allRegions -constant -latestTime -newTimes -noFields -noFunctionObjects -noLagrangian -noSets -noZero -withZero -doc -doc-source -help" +_of_complete_cache_[reconstructParMesh]="-case -fileHandler -mergeTol -region -regions -time | -addressing-only -allRegions -cellDist -constant -fullMatch -latestTime -noFunctionObjects -noZero -procMatch -withZero -doc -doc-source -help" _of_complete_cache_[reconstructPointDistribution]="-case -decomposeParDict -fileHandler -time -world | -constant -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help" -_of_complete_cache_[redistributePar]="-case -decomposeParDict -fileHandler -mergeTol -region -time -world | -allRegions -cellDist -constant -decompose -dry-run -latestTime -newTimes -noZero -overwrite -parallel -reconstruct -withZero -doc -doc-source -help" +_of_complete_cache_[redistributePar]="-case -decomposeParDict -fileHandler -region -regions -time -world | -allRegions -cellDist -constant -decompose -dry-run -latestTime -newTimes -noZero -overwrite -parallel -reconstruct -withZero -doc -doc-source -help" _of_complete_cache_[refineHexMesh]="-case -decomposeParDict -fileHandler -region -world | -minSet -overwrite -parallel -doc -doc-source -help" _of_complete_cache_[refinementLevel]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -readLevel -doc -doc-source -help" _of_complete_cache_[refineMesh]="-case -decomposeParDict -dict -fileHandler -region -world | -all -overwrite -parallel -doc -doc-source -help" @@ -216,7 +218,7 @@ _of_complete_cache_[refineWallLayer]="-case -decomposeParDict -fileHandler -useS _of_complete_cache_[releaseAreaMapping]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[removeFaces]="-case -decomposeParDict -fileHandler -world | -overwrite -parallel -doc -doc-source -help" _of_complete_cache_[removeSurfaceFacets]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" -_of_complete_cache_[renumberMesh]="-case -decomposeParDict -dict -fileHandler -region -time -world | -constant -frontWidth -latestTime -noZero -overwrite -parallel -doc -doc-source -help" +_of_complete_cache_[renumberMesh]="-case -decomposeParDict -dict -fileHandler -region -regions -time -world | -allRegions -constant -frontWidth -latestTime -noZero -overwrite -parallel -doc -doc-source -help" _of_complete_cache_[rhoCentralDyMFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[rhoCentralFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[rhoPimpleAdiabaticFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" @@ -225,14 +227,14 @@ _of_complete_cache_[rhoPorousSimpleFoam]="-case -decomposeParDict -fileHandler - _of_complete_cache_[rhoReactingBuoyantFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[rhoReactingFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[rhoSimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" -_of_complete_cache_[rotateMesh]="-case -decomposeParDict -fileHandler -time -world | -constant -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help" +_of_complete_cache_[rotateMesh]="-case -decomposeParDict -fileHandler -region -regions -time -world | -allRegions -constant -latestTime -noFunctionObjects -noZero -parallel -doc -doc-source -help" _of_complete_cache_[scalarTransportFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[scaleMesh]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[scaleSurfaceMesh]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" _of_complete_cache_[selectCells]="-case -fileHandler | -noFunctionObjects -doc -doc-source -help" _of_complete_cache_[setAlphaField]="-case -decomposeParDict -dict -fileHandler -region -world | -noFunctionObjects -parallel -doc -doc-source -help" -_of_complete_cache_[setExprBoundaryFields]="-case -decomposeParDict -dict -fileHandler -region -time -world | -backup -cache-fields -dry-run -latestTime -noZero -parallel -withFunctionObjects -doc -doc-source -help" -_of_complete_cache_[setExprFields]="-case -condition -decomposeParDict -dict -dimension -expression -field -fileHandler -region -time -value-patches -world | -create -debug-parser -dry-run -dummy-phi -keepPatches -latestTime -no-variable-cache -noZero -parallel -verbose -withFunctionObjects -doc -doc-source -help" +_of_complete_cache_[setExprBoundaryFields]="-case -decomposeParDict -dict -fileHandler -load-fields -region -time -world | -ascii -backup -cache-fields -dry-run -latestTime -noZero -parallel -withFunctionObjects -doc -doc-source -help" +_of_complete_cache_[setExprFields]="-case -condition -decomposeParDict -dict -dimensions -expression -field -fileHandler -load-fields -region -time -value-patches -world | -ascii -create -debug-parser -dry-run -dummy-phi -keepPatches -latestTime -no-variable-cache -noZero -parallel -verbose -withFunctionObjects -doc -doc-source -help" _of_complete_cache_[setFields]="-case -decomposeParDict -dict -fileHandler -region -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[setSet]="-batch -case -decomposeParDict -fileHandler -region -time -world | -constant -latestTime -loop -noFunctionObjects -noSync -noVTK -noZero -parallel -doc -doc-source -help" _of_complete_cache_[setsToZones]="-case -decomposeParDict -fileHandler -region -time -world | -constant -latestTime -noFlipMap -noFunctionObjects -noZero -parallel -doc -doc-source -help" @@ -255,7 +257,7 @@ _of_complete_cache_[sonicLiquidFoam]="-case -decomposeParDict -fileHandler -worl _of_complete_cache_[sphereSurfactantFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[splitCells]="-case -fileHandler -set -tol | -geometry -overwrite -doc -doc-source -help" _of_complete_cache_[splitMesh]="-case -fileHandler | -overwrite -doc -doc-source -help" -_of_complete_cache_[splitMeshRegions]="-blockedFaces -case -cellZonesFileOnly -decomposeParDict -fileHandler -insidePoint -region -world | -cellZones -cellZonesOnly -detectOnly -largestOnly -makeCellZones -overwrite -parallel -prefixRegion -sloppyCellZones -useFaceZones -doc -doc-source -help" +_of_complete_cache_[splitMeshRegions]="-blockedFaces -case -cellZonesFileOnly -combineZones -decomposeParDict -fileHandler -insidePoint -region -world | -cellZones -cellZonesOnly -detectOnly -largestOnly -makeCellZones -overwrite -parallel -prefixRegion -sloppyCellZones -useFaceZones -doc -doc-source -help" _of_complete_cache_[sprayDyMFoam]="-case -decomposeParDict -fileHandler -world | -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[sprayFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[SRFPimpleFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" @@ -302,7 +304,7 @@ _of_complete_cache_[tetgenToFoam]="-case -decomposeParDict -fileHandler -world | _of_complete_cache_[tetMesh]="-case -decomposeParDict -fileHandler -world | -noFunctionObjects -parallel -doc -doc-source -help" _of_complete_cache_[thermoFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[topoSet]="-case -decomposeParDict -dict -fileHandler -region -time -world | -constant -latestTime -noFunctionObjects -noSync -noZero -parallel -doc -doc-source -help" -_of_complete_cache_[transformPoints]="-case -decomposeParDict -fileHandler -origin -region -rollPitchYaw -rotate -rotate-angle -scale -time -translate -world -yawPitchRoll | -auto-origin -noFunctionObjects -parallel -recentre -rotateFields -doc -doc-source -help" +_of_complete_cache_[transformPoints]="-case -decomposeParDict -fileHandler -origin -region -regions -rollPitchYaw -rotate -rotate-angle -scale -time -translate -world -yawPitchRoll | -allRegions -auto-origin -noFunctionObjects -parallel -recentre -rotateFields -doc -doc-source -help" _of_complete_cache_[twoLiquidMixingFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[twoPhaseEulerFoam]="-case -decomposeParDict -fileHandler -world | -dry-run -dry-run-write -listFunctionObjects -listFvOptions -listRegisteredSwitches -listScalarBCs -listSwitches -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" _of_complete_cache_[uncoupledKinematicParcelDyMFoam]="-case -cloudName -decomposeParDict -fileHandler -world | -listFunctionObjects -listRegisteredSwitches -listScalarBCs -listSwitches -listTurbulenceModels -listUnsetSwitches -listVectorBCs -noFunctionObjects -parallel -postProcess -doc -doc-source -help" diff --git a/src/lagrangian/intermediate/submodels/CloudFunctionObjects/PatchParticleHistogram/PatchParticleHistogram.C b/src/lagrangian/intermediate/submodels/CloudFunctionObjects/PatchParticleHistogram/PatchParticleHistogram.C index d60f1723dc1..85d322b4079 100644 --- a/src/lagrangian/intermediate/submodels/CloudFunctionObjects/PatchParticleHistogram/PatchParticleHistogram.C +++ b/src/lagrangian/intermediate/submodels/CloudFunctionObjects/PatchParticleHistogram/PatchParticleHistogram.C @@ -5,7 +5,7 @@ \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- - Copyright (C) 2020 OpenCFD Ltd. + Copyright (C) 2020-2021 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -115,18 +115,18 @@ void Foam::PatchParticleHistogram<CloudType>::write() << "# nBin=" << nBins_ << "; min=" << min_ << "; max=" << max_ << nl - << "# d nParticles nParticlesCumulative" + << "# dEdge1 dEdge2 nParticles nParticlesCumulative" << endl; forAll(nParticles, j) { patchOutFile << binEdges_[j] - << "-" + << ' ' << binEdges_[j + 1] - << " " + << ' ' << nParticles[j] - << " " + << ' ' << nParticlesCumulative_[i][j] << nl; } -- GitLab