From d2bc2468c75d80f5358bccdac2fa12061de72207 Mon Sep 17 00:00:00 2001 From: Danial Khazaei Date: Tue, 5 Feb 2019 07:38:23 +0330 Subject: [PATCH] format: make cfMesh banner consistent and removed trailing whitespace --- .../cfMesh/FLMAToSurface/FLMAToSurface.C | 19 +- .../cfMesh/FMSToSurface/FMSToSurface.C | 19 +- .../generation/cfMesh/FMSToVTK/FMSToVTK.C | 197 +++++++++--------- .../mesh/generation/cfMesh/FMSToVTK/xmlTag.H | 77 +++---- .../cfMesh/cartesian2DMesh/cartesian2DMesh.C | 19 +- .../cfMesh/cartesianMesh/cartesianMesh.C | 19 +- .../checkSurfaceMesh/checkSurfaceMesh.C | 19 +- .../copySurfaceParts/copySurfaceParts.C | 19 +- .../extrudeEdgesInto2DSurface.C | 19 +- .../generateBoundaryLayers.C | 19 +- .../importSurfaceAsSubset.C | 19 +- .../improveMeshQuality/improveMeshQuality.C | 19 +- .../improveSymmetryPlanes.C | 19 +- .../mergeSurfacePatches/mergeSurfacePatches.C | 123 +++++------ .../generation/cfMesh/meshToFPMA/meshToFPMA.C | 25 ++- .../mesh/generation/cfMesh/pMesh/pMesh.C | 19 +- .../patchesToSubsets/patchesToSubsets.C | 19 +- .../generation/cfMesh/preparePar/preparePar.C | 19 +- .../removeSurfaceFacets/removeSurfaceFacets.C | 19 +- .../generation/cfMesh/scaleMesh/scaleMesh.C | 19 +- .../scaleSurfaceMesh/scaleSurfaceMesh.C | 19 +- .../cfMesh/subsetToPatch/subsetToPatch.C | 19 +- .../surfaceFeatureEdges/surfaceFeatureEdges.C | 19 +- .../surfaceGenerateBoundingBox.C | 19 +- .../cfMesh/surfaceToFMS/surfaceToFMS.C | 21 +- .../mesh/generation/cfMesh/tetMesh/tetMesh.C | 19 +- .../cartesian2DMeshGenerator.C | 19 +- .../cartesian2DMeshGenerator.H | 19 +- .../cartesianMeshExtractor.C | 31 +-- .../cartesianMeshExtractor.H | 31 +-- ...artesianMeshExtractorDecomposeSplitHexes.C | 45 ++-- ...artesianMeshExtractorPointsAndAddressing.C | 19 +- .../cartesianMeshExtractorPolyMesh.C | 19 +- .../cartesianMeshGenerator.C | 19 +- .../cartesianMeshGenerator.H | 19 +- .../tetMeshExtractorOctree.C | 19 +- .../tetMeshExtractorOctree.H | 19 +- .../tetMeshGenerator/tetMeshGenerator.C | 19 +- .../tetMeshGenerator/tetMeshGenerator.H | 19 +- .../coordinateModification/boxScaling.C | 19 +- .../coordinateModification/boxScaling.H | 19 +- .../coordinateModification.C | 19 +- .../coordinateModification.H | 19 +- .../coordinateModificationList.H | 19 +- .../coordinateModifier.C | 19 +- .../coordinateModifier.H | 19 +- .../newCoordinateModification.C | 19 +- .../coordinateModification/planeScaling.C | 19 +- .../coordinateModification/planeScaling.H | 19 +- .../edgeMeshGeometryModification.C | 19 +- .../edgeMeshGeometryModification.H | 19 +- .../polyMeshGenGeometryModification.C | 19 +- .../polyMeshGenGeometryModification.H | 19 +- .../surfaceMeshGeometryModification.C | 19 +- .../surfaceMeshGeometryModification.H | 19 +- .../boundaryLayers/boundaryLayerCells.C | 19 +- .../boundaryLayers/boundaryLayers.C | 19 +- .../boundaryLayers/boundaryLayers.H | 19 +- .../boundaryLayersCheckTopologyOfBndFaces.C | 19 +- .../boundaryLayersCreateVertices.C | 19 +- .../boundaryLayersFacesAndCells.C | 19 +- .../boundaryLayers/boundaryLayersI.H | 19 +- .../boundaryLayersWrapperLayer.C | 35 ++-- .../detectBoundaryLayers.C | 19 +- .../detectBoundaryLayers.H | 19 +- .../detectBoundaryLayersFunctions.C | 19 +- .../extrudeLayer/extrudeLayer.C | 19 +- .../extrudeLayer/extrudeLayer.H | 19 +- .../extrudeLayer/extrudeLayerI.H | 51 ++--- .../refineBoundaryLayers.C | 19 +- .../refineBoundaryLayers.H | 19 +- .../refineBoundaryLayersCells.C | 19 +- .../refineBoundaryLayersFaces.C | 19 +- .../refineBoundaryLayersFunctions.C | 19 +- .../triangulateNonPlanarBaseFaces.C | 19 +- .../triangulateNonPlanarBaseFaces.H | 19 +- .../triangulateNonPlanarBaseFacesFunctions.C | 19 +- .../utilities/checkMeshDict/checkMeshDict.C | 19 +- .../utilities/checkMeshDict/checkMeshDict.H | 19 +- .../utilities/containers/DynList/DynList.C | 19 +- .../utilities/containers/DynList/DynList.H | 19 +- .../utilities/containers/DynList/DynListI.H | 19 +- .../utilities/containers/FRWGraph/FRWGraph.C | 19 +- .../utilities/containers/FRWGraph/FRWGraph.H | 19 +- .../utilities/containers/FRWGraph/FRWGraphI.H | 19 +- .../utilities/containers/Graphs/cellIOGraph.C | 19 +- .../utilities/containers/Graphs/cellIOGraph.H | 19 +- .../utilities/containers/Graphs/faceIOGraph.C | 19 +- .../utilities/containers/Graphs/faceIOGraph.H | 19 +- .../containers/IODynList/IODynList.C | 21 +- .../containers/IODynList/IODynList.H | 19 +- .../containers/IOLongList/IOLongList.C | 21 +- .../containers/IOLongList/IOLongList.H | 19 +- .../IOLongList/IOLongListInstances.C | 19 +- .../IOLongList/IOLongListInstances.H | 19 +- .../utilities/containers/Lists/cellListPMG.H | 39 ++-- .../utilities/containers/Lists/cellListPMGI.H | 29 +-- .../utilities/containers/Lists/edgeLongList.H | 19 +- .../utilities/containers/Lists/faceListPMG.C | 19 +- .../utilities/containers/Lists/faceListPMG.H | 19 +- .../utilities/containers/Lists/faceListPMGI.H | 29 +-- .../containers/Lists/labelLongList.H | 19 +- .../containers/Lists/pointFieldPMG.C | 19 +- .../containers/Lists/pointFieldPMG.H | 19 +- .../containers/Lists/pointFieldPMGI.H | 27 +-- .../utilities/containers/LongList/LongList.C | 19 +- .../utilities/containers/LongList/LongList.H | 19 +- .../utilities/containers/LongList/LongListI.H | 19 +- .../utilities/containers/VRWGraph/VRWGraph.C | 19 +- .../utilities/containers/VRWGraph/VRWGraph.H | 19 +- .../utilities/containers/VRWGraph/VRWGraphI.H | 19 +- .../containers/VRWGraph/VRWGraphSMPModifier.C | 19 +- .../containers/VRWGraph/VRWGraphSMPModifier.H | 35 ++-- .../VRWGraph/VRWGraphSMPModifierTemplates.C | 19 +- .../containers/VRWGraphList/VRWGraphList.C | 19 +- .../containers/VRWGraphList/VRWGraphList.H | 37 ++-- .../containers/VRWGraphList/VRWGraphListI.H | 33 +-- .../utilities/containers/graphRow/graphRow.H | 35 ++-- .../utilities/containers/graphRow/graphRowI.H | 21 +- .../utilities/containers/subGraph/subGraph.H | 33 +-- .../utilities/containers/subGraph/subGraphI.H | 27 +-- .../dataConversion/foamToFPMA/fpmaMesh.C | 51 ++--- .../dataConversion/foamToFPMA/fpmaMesh.H | 23 +- .../dataConversion/foamToFPMA/writeMeshFPMA.C | 19 +- .../dataConversion/foamToFPMA/writeMeshFPMA.H | 21 +- .../utilities/decomposeCells/decomposeCells.C | 19 +- .../utilities/decomposeCells/decomposeCells.H | 19 +- .../decomposeCellsDecomposition.C | 19 +- .../decomposeCells/decomposeCellsPyramids.C | 19 +- .../faceDecomposition/decomposeFaces.C | 19 +- .../faceDecomposition/decomposeFaces.H | 19 +- .../faceDecomposition/faceDecomposition.C | 33 +-- .../faceDecomposition/faceDecomposition.H | 25 ++- .../geometry/quadricFitting/quadricFitting.H | 19 +- .../geometry/quadricFitting/quadricFittingI.H | 19 +- .../helperClasses/matrices/matrix2D.H | 19 +- .../helperClasses/matrices/matrix2DI.H | 19 +- .../helperClasses/matrices/matrix3D.H | 19 +- .../helperClasses/matrices/matrix3DI.H | 19 +- .../labelledMeshOctreeCubeCoordinates.H | 57 ++--- .../labelledPair/labelledPair.H | 19 +- .../labelledPoint/labelledPoint.H | 61 +++--- .../labelledPoint/refLabelledPoint.H | 57 ++--- .../labelledPointScalar/labelledPointScalar.H | 67 +++--- .../refLabelledPointScalar.H | 19 +- .../labelledScalar/labelledScalar.H | 19 +- .../meshOctreeCubeCoordinatesScalar.H | 19 +- .../parallelHelpers/parPartTet/parPartTet.H | 57 ++--- .../parallelHelpers/parTriFace/parTriFace.H | 19 +- .../sortEdgesIntoChains/sortEdgesIntoChains.C | 19 +- .../sortEdgesIntoChains/sortEdgesIntoChains.H | 19 +- .../helperFunctions/helperFunctions.H | 19 +- .../helperFunctionsFrontalMarking.C | 19 +- .../helperFunctionsFrontalMarking.H | 19 +- .../helperFunctionsGeometryQueries.H | 19 +- .../helperFunctionsGeometryQueriesI.H | 19 +- .../helperFunctions/helperFunctionsPar.C | 19 +- .../helperFunctions/helperFunctionsPar.H | 19 +- .../helperFunctionsStringConversion.C | 25 ++- .../helperFunctionsStringConversion.H | 25 ++- .../helperFunctionsTopologyManipulation.H | 19 +- .../helperFunctionsTopologyManipulationI.H | 19 +- .../findCellsIntersectingSurface.C | 19 +- .../findCellsIntersectingSurface.H | 19 +- .../meshes/partTetMesh/partTetMesh.C | 19 +- .../meshes/partTetMesh/partTetMesh.H | 19 +- .../partTetMesh/partTetMeshAddressing.C | 19 +- .../partTetMeshParallelAddressing.C | 161 +++++++------- .../meshes/partTetMesh/partTetMeshSimplex.C | 35 ++-- .../meshes/partTetMesh/partTetMeshSimplex.H | 43 ++-- .../meshes/partTriMesh/partTriMesh.C | 19 +- .../meshes/partTriMesh/partTriMesh.H | 19 +- .../partTriMesh/partTriMeshAddressing.C | 19 +- .../partTriMeshParallelAddressing.C | 19 +- .../meshes/partTriMesh/partTriMeshSimplex.C | 27 +-- .../meshes/partTriMesh/partTriMeshSimplex.H | 41 ++-- .../polyMeshGen/boundaryPatch/boundaryPatch.C | 19 +- .../polyMeshGen/boundaryPatch/boundaryPatch.H | 19 +- .../boundaryPatch/boundaryPatchBase.C | 29 +-- .../boundaryPatch/boundaryPatchBase.H | 61 +++--- .../boundaryPatch/processorBoundaryPatch.C | 29 +-- .../boundaryPatch/processorBoundaryPatch.H | 19 +- .../meshes/polyMeshGen/polyMeshGen.C | 19 +- .../meshes/polyMeshGen/polyMeshGen.H | 19 +- .../meshes/polyMeshGen/polyMeshGenCells.C | 19 +- .../meshes/polyMeshGen/polyMeshGenCells.H | 19 +- .../meshes/polyMeshGen/polyMeshGenCellsI.H | 19 +- .../meshes/polyMeshGen/polyMeshGenFaces.C | 19 +- .../meshes/polyMeshGen/polyMeshGenFaces.H | 19 +- .../meshes/polyMeshGen/polyMeshGenFacesI.H | 39 ++-- .../meshes/polyMeshGen/polyMeshGenPoints.C | 19 +- .../meshes/polyMeshGen/polyMeshGenPoints.H | 19 +- .../meshes/polyMeshGen/polyMeshGenPointsI.H | 35 ++-- .../polyMeshGen2DEngine/polyMeshGen2DEngine.C | 19 +- .../polyMeshGen2DEngine/polyMeshGen2DEngine.H | 19 +- .../polyMeshGen2DEngineI.H | 19 +- .../polyMeshGenAddressing.C | 19 +- .../polyMeshGenAddressing.H | 63 +++--- .../polyMeshGenAddressingCellCells.C | 19 +- .../polyMeshGenAddressingCellEdges.C | 19 +- .../polyMeshGenAddressingCellPoints.C | 19 +- .../polyMeshGenAddressingCentresAndAreas.C | 19 +- .../polyMeshGenAddressingCentresAndVols.C | 19 +- .../polyMeshGenAddressingClear.C | 19 +- .../polyMeshGenAddressingEdgeCells.C | 19 +- .../polyMeshGenAddressingEdgeFaces.C | 19 +- .../polyMeshGenAddressingEdges.C | 19 +- .../polyMeshGenAddressingFaceEdges.C | 19 +- .../polyMeshGenAddressingParallelAddressing.C | 19 +- .../polyMeshGenAddressingPointCells.C | 19 +- .../polyMeshGenAddressingPointEdges.C | 19 +- .../polyMeshGenAddressingPointFaces.C | 19 +- .../polyMeshGenAddressingPointPoints.C | 19 +- .../polyMeshGenAddressingUpdateGeometry.C | 19 +- .../polyMeshGenChecks/polyMeshGenChecks.C | 19 +- .../polyMeshGenChecks/polyMeshGenChecks.H | 19 +- .../polyMeshGenChecksGeometry.C | 19 +- .../polyMeshGenChecksTopology.C | 19 +- .../polyMeshGenModifier/polyMeshGenModifier.H | 19 +- .../polyMeshGenModifierAddBufferCells.C | 19 +- .../polyMeshGenModifierAddCellByCell.C | 43 ++-- .../polyMeshGenModifierAddCellByCell.H | 25 ++- .../polyMeshGenModifierAddCells.C | 19 +- .../polyMeshGenModifierAddProcessorFaces.C | 19 +- .../polyMeshGenModifierRemoveCells.C | 19 +- .../polyMeshGenModifierRemoveFaces.C | 19 +- .../polyMeshGenModifierRemoveUnusedVertices.C | 19 +- .../polyMeshGenModifierRenumberMesh.C | 19 +- .../polyMeshGenModifierReorderBoundaryFaces.C | 19 +- .../polyMeshGenModifierReplaceBoundary.C | 19 +- .../polyMeshGenModifierZipUpCells.C | 51 ++--- .../primitives/meshSubsets/meshSubset.H | 19 +- .../primitives/meshSubsets/meshSubsetI.H | 19 +- .../meshes/primitives/partTet/partTet.H | 19 +- .../meshes/primitives/partTet/partTetI.H | 19 +- .../cfMesh/utilities/meshes/triSurf/triSurf.C | 19 +- .../cfMesh/utilities/meshes/triSurf/triSurf.H | 19 +- .../meshes/triSurf/triSurfAddressing.C | 19 +- .../meshes/triSurf/triSurfAddressing.H | 19 +- .../meshes/triSurf/triSurfAddressingI.H | 19 +- .../utilities/meshes/triSurf/triSurfFacets.C | 19 +- .../utilities/meshes/triSurf/triSurfFacets.H | 19 +- .../utilities/meshes/triSurf/triSurfFacetsI.H | 19 +- .../meshes/triSurf/triSurfFeatureEdges.C | 19 +- .../meshes/triSurf/triSurfFeatureEdges.H | 19 +- .../meshes/triSurf/triSurfFeatureEdgesI.H | 19 +- .../utilities/meshes/triSurf/triSurfI.H | 19 +- .../meshes/triSurf/triSurfModifier.C | 19 +- .../meshes/triSurf/triSurfModifier.H | 19 +- .../meshes/triSurf/triSurfModifierI.H | 19 +- .../utilities/meshes/triSurf/triSurfPoints.C | 19 +- .../utilities/meshes/triSurf/triSurfPoints.H | 19 +- .../utilities/meshes/triSurf/triSurfPointsI.H | 19 +- .../utilities/octrees/meshOctree/meshOctree.C | 19 +- .../utilities/octrees/meshOctree/meshOctree.H | 19 +- .../meshOctreeAddressing.C | 19 +- .../meshOctreeAddressing.H | 171 +++++++-------- .../meshOctreeAddressingCreation.C | 19 +- .../meshOctreeAddressingGluedMesh.C | 19 +- .../meshOctreeAddressingI.H | 89 ++++---- ...meshOctreeAddressingIrregularConnections.C | 19 +- .../meshOctreeAddressingParallelAddressing.C | 19 +- .../meshOctreeAutomaticRefinement.C | 19 +- .../meshOctreeAutomaticRefinement.H | 19 +- .../meshOctreeAutomaticRefinementRef.C | 19 +- .../meshOctreeCreator/meshOctreeCreator.C | 19 +- .../meshOctreeCreator/meshOctreeCreator.H | 19 +- .../meshOctreeCreatorAdjustOctreeToSurface.C | 19 +- .../meshOctreeCreatorCreateOctreeBoxes.C | 19 +- .../meshOctreeCreatorFrontalMarking.C | 19 +- .../meshOctreeCreatorLoadDistribution.C | 19 +- .../meshOctreeCube/meshOctreeCube.C | 19 +- .../meshOctreeCube/meshOctreeCube.H | 19 +- .../meshOctreeCube/meshOctreeCubeBasic.H | 19 +- .../meshOctreeCube/meshOctreeCubeBasicI.H | 19 +- .../meshOctreeCubeCoordinates.H | 19 +- .../meshOctreeCubeCoordinatesI.H | 19 +- .../meshOctreeCubeCoordinatesIntersections.C | 19 +- .../meshOctreeCube/meshOctreeCubeI.H | 19 +- .../meshOctreeCubeIntersections.C | 19 +- .../meshOctreeCubeRecursiveFunctions.C | 19 +- .../meshOctreeCube/meshOctreeCubeRefine.C | 19 +- .../meshOctree/meshOctreeCubePatches.C | 19 +- .../meshOctreeFindNearestSurfacePoint.C | 19 +- .../octrees/meshOctree/meshOctreeI.H | 19 +- .../meshOctree/meshOctreeInsideCalculations.C | 19 +- .../meshOctreeInsideOutside.C | 19 +- .../meshOctreeInsideOutside.H | 57 ++--- .../meshOctreeModifier/meshOctreeModifier.C | 19 +- .../meshOctreeModifier/meshOctreeModifier.H | 19 +- ...treeModifierDistributeLeavesToProcessors.C | 19 +- ...eshOctreeModifierEnsureCorrectRegularity.C | 19 +- .../meshOctreeModifier/meshOctreeModifierI.H | 19 +- .../meshOctreeModifierLoadDistribution.C | 19 +- .../meshOctreeModifierParallelRefinement.C | 19 +- ...eshOctreeModifierReduceMemoryConsumption.C | 19 +- .../meshOctreeModifierRefineSelectedBoxes.C | 19 +- ...OctreeModifierUpdateCommunicationPattern.C | 19 +- .../meshOctree/meshOctreeNeighbourSearches.C | 19 +- .../meshOctreeParallelCommunication.C | 19 +- .../octrees/meshOctree/meshOctreeSlot.H | 19 +- .../objectRefinement/boxRefinement.C | 19 +- .../objectRefinement/boxRefinement.H | 31 +-- .../objectRefinement/coneRefinement.C | 41 ++-- .../objectRefinement/coneRefinement.H | 31 +-- .../objectRefinement/hollowConeRefinement.C | 41 ++-- .../objectRefinement/hollowConeRefinement.H | 31 +-- .../objectRefinement/lineRefinement.C | 27 +-- .../objectRefinement/lineRefinement.H | 31 +-- .../objectRefinement/newObjectRefinement.C | 19 +- .../objectRefinement/objectRefinement.C | 19 +- .../objectRefinement/objectRefinement.H | 19 +- .../objectRefinement/objectRefinementList.H | 19 +- .../objectRefinement/sphereRefinement.C | 29 +-- .../objectRefinement/sphereRefinement.H | 31 +-- .../patchRefinement/patchRefinement.C | 19 +- .../patchRefinement/patchRefinement.H | 19 +- .../patchRefinement/patchRefinementList.H | 19 +- .../boundaryLayerOptimisation.C | 19 +- .../boundaryLayerOptimisation.H | 19 +- .../boundaryLayerOptimisationFunctions.C | 19 +- .../boundaryLayerOptimisationNormals.C | 19 +- .../boundaryLayerOptimisationThickness.C | 19 +- .../geometry/meshOptimizer/meshOptimizer.C | 19 +- .../geometry/meshOptimizer/meshOptimizer.H | 19 +- .../geometry/meshOptimizer/meshOptimizerI.H | 19 +- .../meshOptimizerOptimizePoint.C | 19 +- .../meshOptimizerOptimizePointParallel.C | 19 +- .../meshOptimizerOptimizeSurface.C | 19 +- .../geometry/meshOptimizer/optimizeMeshFV.C | 19 +- .../symmetryPlaneOptimisation.C | 19 +- .../symmetryPlaneOptimisation.H | 19 +- .../knuppMetric/knuppMetric.C | 85 ++++---- .../knuppMetric/knuppMetric.H | 31 +-- .../meshUntangler/meshUntangler.C | 45 ++-- .../meshUntangler/meshUntangler.H | 59 +++--- .../meshUntangler/meshUntanglerCutRegion.C | 19 +- .../meshUntanglerCutRegionEdges.C | 41 ++-- .../meshUntanglerCutRegionFaces.C | 19 +- .../meshUntanglerCutRegionPoints.C | 19 +- .../meshUntanglerCutRegionTieBreak.C | 21 +- .../quadricMetric/quadricMetric.C | 19 +- .../quadricMetric/quadricMetric.H | 19 +- .../simplexSmoother/simplexSmoother.C | 19 +- .../simplexSmoother/simplexSmoother.H | 43 ++-- .../volumeOptimizer/volumeOptimizer.C | 19 +- .../volumeOptimizer/volumeOptimizer.H | 19 +- .../volumeOptimizerEvaluateGradients.C | 19 +- .../tetMeshOptimisation/tetMeshOptimisation.C | 19 +- .../tetMeshOptimisation/tetMeshOptimisation.H | 19 +- .../tetMeshOptimisationParallel.C | 19 +- .../surfaceOptimizer/surfaceOptimizer.C | 19 +- .../surfaceOptimizer/surfaceOptimizer.H | 19 +- .../meshSurfaceOptimizer.C | 19 +- .../meshSurfaceOptimizer.H | 19 +- ...OptimizerCalculateTrianglesAndAddressing.C | 19 +- .../meshSurfaceOptimizerI.H | 19 +- .../meshSurfaceOptimizerOptimizePoint.C | 19 +- ...eshSurfaceOptimizerOptimizePointParallel.C | 19 +- .../meshSurfaceOptimizerOptimizeSurface.C | 19 +- .../checkBoundaryFacesSharingTwoEdges.C | 19 +- .../checkBoundaryFacesSharingTwoEdges.H | 41 ++-- .../checkCellConnectionsOverFaces.C | 19 +- .../checkCellConnectionsOverFaces.H | 19 +- .../checkIrregularSurfaceConnections.C | 19 +- .../checkIrregularSurfaceConnections.H | 31 +-- ...heckIrregularSurfaceConnectionsFunctions.C | 19 +- .../checkNonMappableCellConnections.C | 19 +- .../checkNonMappableCellConnections.H | 25 ++- .../topologicalCleaner/topologicalCleaner.C | 19 +- .../topologicalCleaner/topologicalCleaner.H | 33 +-- .../topologicalCleanerInvalidVertices.C | 19 +- ...ogyCleanerNonConsecutiveBoundaryVertices.C | 19 +- .../topologyCleanerNonMappableCells.C | 19 +- .../correctEdgesBetweenPatches.C | 19 +- .../correctEdgesBetweenPatches.H | 19 +- ...orrectEdgesBetweenPatchesDistributeFaces.C | 19 +- .../createFundamentalSheets.C | 19 +- .../createFundamentalSheets.H | 19 +- .../createFundamentalSheetsFJ.C | 19 +- .../createFundamentalSheetsFJ.H | 19 +- .../createFundamentalSheetsJFS.C | 19 +- .../createFundamentalSheetsJFS.H | 19 +- .../edgeExtractor/edgeExtractor.C | 19 +- .../edgeExtractor/edgeExtractor.H | 19 +- .../edgeExtractor/edgeExtractorCorners.C | 19 +- .../meshSurfaceCheckEdgeTypes.C | 19 +- .../meshSurfaceCheckEdgeTypes.H | 19 +- .../meshSurfaceCheckInvertedVertices.C | 19 +- .../meshSurfaceCheckInvertedVertices.H | 19 +- .../meshSurfaceEdgeCreateBoundaryFaces.C | 19 +- .../meshSurfaceEdgeCreateEdgeVertices.C | 19 +- .../meshSurfaceEdgeExtractor.C | 19 +- .../meshSurfaceEdgeExtractor.H | 29 +-- .../meshSurfaceEdgeExtractor2D.C | 19 +- .../meshSurfaceEdgeExtractor2D.H | 19 +- ...eshSurfaceEdgeExtractor2DDistributeFaces.C | 19 +- .../meshSurfaceEdgeExtractorFUN.C | 19 +- .../meshSurfaceEdgeExtractorFUN.H | 19 +- ...shSurfaceEdgeExtractorFUNDistributeFaces.C | 19 +- .../meshSurfaceEdgeExtractorNonTopo.C | 19 +- .../meshSurfaceEdgeExtractorNonTopo.H | 19 +- ...rfaceEdgeExtractorNonTopoDistributeFaces.C | 19 +- .../meshSurfaceEngine/meshSurfaceEngine.C | 19 +- .../meshSurfaceEngine/meshSurfaceEngine.H | 19 +- ...faceEngineCalculateBoundaryNodesAndFaces.C | 19 +- .../meshSurfaceEngine/meshSurfaceEngineI.H | 19 +- .../meshSurfaceEngineModifier.C | 19 +- .../meshSurfaceEngineModifier.H | 31 +-- .../meshSurfaceEngineParallelAddressing.C | 19 +- .../meshSurfaceMapper/meshSurfaceMapper.C | 23 +- .../meshSurfaceMapper/meshSurfaceMapper.H | 19 +- .../meshSurfaceMapperCornersAndEdges.C | 19 +- .../meshSurfaceMapperMapVertices.C | 19 +- .../meshSurfaceMapperPremapVertices.C | 19 +- .../meshSurfaceMapper/parMapperHelper.H | 53 ++--- .../meshSurfaceMapper2D/meshSurfaceMapper2D.C | 19 +- .../meshSurfaceMapper2D/meshSurfaceMapper2D.H | 19 +- .../meshSurfaceMapper2DMapVertices.C | 19 +- .../meshSurfaceMapper2DPremapVertices.C | 19 +- .../meshSurfacePartitioner.C | 19 +- .../meshSurfacePartitioner.H | 19 +- .../meshSurfacePartitionerFunctions.C | 19 +- .../renameBoundaryPatches.C | 19 +- .../renameBoundaryPatches.H | 19 +- .../surfaceMorpherCells/surfaceMorpherCells.C | 19 +- .../surfaceMorpherCells/surfaceMorpherCells.H | 37 ++-- .../surfaceMorpherCellsCreateBoundaryFaces.C | 19 +- .../surfaceMorpherCellsMorphInternalFaces.C | 19 +- .../tetCreatorOctree/tetCreatorOctree.C | 39 ++-- .../tetCreatorOctree/tetCreatorOctree.H | 63 +++--- .../tetCreatorOctreeFromFacesWithCentreNode.C | 63 +++--- .../tetCreatorOctree/tetCreatorOctreeI.H | 23 +- .../tetCreatorOctreePointsAndAddressing.C | 19 +- .../tetCreatorOctreeTetsAroundEdges.C | 19 +- .../tetCreatorOctreeTetsAroundSplitEdges.C | 19 +- .../tetCreatorOctreeTetsFromSplitFaces.C | 31 +-- .../triSurface2DCheck/triSurface2DCheck.C | 19 +- .../triSurface2DCheck/triSurface2DCheck.H | 19 +- .../triSurfaceChecks/triSurfaceChecks.C | 19 +- .../triSurfaceChecks/triSurfaceChecks.H | 19 +- .../triSurfaceClassifyEdges.C | 19 +- .../triSurfaceClassifyEdges.H | 19 +- .../triSurfaceClassifyEdgesFunctions.C | 19 +- .../triSurfaceCleanupDuplicateTriangles.C | 19 +- .../triSurfaceCleanupDuplicateTriangles.H | 19 +- ...urfaceCleanupDuplicateTrianglesFunctions.C | 19 +- .../triSurfaceCleanupDuplicates.C | 19 +- .../triSurfaceCleanupDuplicates.H | 19 +- .../triSurfaceCleanupDuplicatesFunctions.C | 19 +- .../triSurfaceCopyParts/triSurfaceCopyParts.C | 19 +- .../triSurfaceCopyParts/triSurfaceCopyParts.H | 19 +- .../triSurfaceCurvatureEstimator.C | 19 +- .../triSurfaceCurvatureEstimator.H | 19 +- .../triSurfaceCurvatureEstimatorCalculate.C | 19 +- .../triSurfaceDetectFeatureEdges.C | 19 +- .../triSurfaceDetectFeatureEdges.H | 19 +- .../triSurfaceDetectFeatureEdgesFunctions.C | 19 +- .../triSurfaceExtrude2DEdges.C | 19 +- .../triSurfaceExtrude2DEdges.H | 19 +- .../triSurfaceImportSurfaceAsSubset.C | 19 +- .../triSurfaceImportSurfaceAsSubset.H | 19 +- .../triSurfaceMetaData/triSurfaceMetaData.C | 19 +- .../triSurfaceMetaData/triSurfaceMetaData.H | 19 +- .../triSurfacePartitioner.C | 19 +- .../triSurfacePartitioner.H | 19 +- .../triSurfacePartitionerCreateAddressing.C | 19 +- .../triSurfacePatchManipulator.C | 19 +- .../triSurfacePatchManipulator.H | 19 +- .../triSurfacePatchManipulatorFunctions.C | 19 +- .../triSurfaceRemoveFacets.C | 19 +- .../triSurfaceRemoveFacets.H | 19 +- .../triSurfaceRemoveFacetsFunctions.C | 19 +- .../workflowControls/workflowControls.C | 19 +- .../workflowControls/workflowControls.H | 19 +- .../voronoiMeshExtractor.C | 19 +- .../voronoiMeshExtractor.H | 19 +- .../voronoiMeshExtractorAddressing.C | 19 +- .../voronoiMeshExtractorCreateMesh.C | 19 +- .../voronoiMeshGenerator.C | 19 +- .../voronoiMeshGenerator.H | 19 +- 481 files changed, 6344 insertions(+), 4901 deletions(-) diff --git a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C index 5c10fd65f..3f00becd2 100644 --- a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C +++ b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C @@ -1,25 +1,28 @@ /*---------------------------------------------------------------------------*\ ========= | - \\ / F ield | cfMesh: A library for mesh generation - \\ / O peration | - \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com) - \\/ M anipulation | Copyright (C) Creative Fields, Ltd. + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 4.1 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- + Author | F.Juretic (franjo.juretic@c-fields.com) + Copyright | Copyright (C) Creative Fields, Ltd. ------------------------------------------------------------------------------- License - This file is part of cfMesh. + This file is part of foam-extend. - cfMesh is free software; you can redistribute it and/or modify it + foam-extend is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - cfMesh is distributed in the hope that it will be useful, but WITHOUT + foam-extend is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with cfMesh. If not, see . + along with foam-extend. If not, see . Description Reads the AVL's surface mesh diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C index 8c27c9042..da6eb60cc 100644 --- a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C +++ b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C @@ -1,25 +1,28 @@ /*---------------------------------------------------------------------------*\ ========= | - \\ / F ield | cfMesh: A library for mesh generation - \\ / O peration | - \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com) - \\/ M anipulation | Copyright (C) Creative Fields, Ltd. + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 4.1 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- + Author | F.Juretic (franjo.juretic@c-fields.com) + Copyright | Copyright (C) Creative Fields, Ltd. ------------------------------------------------------------------------------- License - This file is part of cfMesh. + This file is part of foam-extend. - cfMesh is free software; you can redistribute it and/or modify it + foam-extend is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - cfMesh is distributed in the hope that it will be useful, but WITHOUT + foam-extend is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with cfMesh. If not, see . + along with foam-extend. If not, see . Description Creates surface patches from surface subsets diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C index f37b39e32..9de2b9aac 100644 --- a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C +++ b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C @@ -1,28 +1,31 @@ /*---------------------------------------------------------------------------*\ ========= | - \\ / F ield | cfMesh: A library for mesh generation - \\ / O peration | - \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com) - \\/ M anipulation | Copyright (C) Creative Fields, Ltd. + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 4.1 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- + Author | F.Juretic (franjo.juretic@c-fields.com) + Copyright | Copyright (C) Creative Fields, Ltd. ------------------------------------------------------------------------------- License - This file is part of cfMesh. + This file is part of foam-extend. - cfMesh is free software; you can redistribute it and/or modify it + foam-extend is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - cfMesh is distributed in the hope that it will be useful, but WITHOUT + foam-extend is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with cfMesh. If not, see . + along with foam-extend. If not, see . Description - cfMesh utility to convert a surface file to VTK multiblock dataset + foam-extend utility to convert a surface file to VTK multiblock dataset format, including the patches, feature edges and surface features. Author @@ -51,23 +54,23 @@ void writePointsToVTK { xmlTag xmlRoot("VTKFile"); xmlRoot.addAttribute("type", "PolyData"); - + xmlTag& xmlPolyData = xmlRoot.addChild("PolyData"); - + xmlTag& xmlPiece = xmlPolyData.addChild("Piece"); xmlPiece.addAttribute("NumberOfPoints", points.size()); - + xmlTag& xmlPoints = xmlPiece.addChild("Points"); - + xmlTag& xmlPointData = xmlPoints.addChild("DataArray"); xmlPointData.addAttribute("type", "Float32"); xmlPointData.addAttribute("NumberOfComponents", 3); xmlPointData.addAttribute("format", "ascii"); xmlPointData << points; - + OFstream os(fn); os << xmlRoot << endl; - + Info << "Created " << fn << endl; } @@ -83,12 +86,12 @@ void writePointsToVTK { // Create subaddressed points pointField newPoints(addr.size()); - + forAll(addr, i) { newPoints[i] = points[addr[i]]; } - + writePointsToVTK ( fn, @@ -108,23 +111,23 @@ void writeEdgesToVTK ) { labelList connectivity(edges.size()); - + forAll(edges, edgeI) { connectivity[edgeI] = 2*(edgeI+1); } - + xmlTag xmlRoot("VTKFile"); xmlRoot.addAttribute("type", "PolyData"); - + xmlTag& xmlPolyData = xmlRoot.addChild("PolyData"); - + xmlTag& xmlPiece = xmlPolyData.addChild("Piece"); xmlPiece.addAttribute("NumberOfPoints", points.size()); xmlPiece.addAttribute("NumberOfLines", edges.size()); - + xmlTag& xmlPoints = xmlPiece.addChild("Points"); - + xmlTag& xmlPointData = xmlPoints.addChild("DataArray"); xmlPointData.addAttribute("type", "Float32"); xmlPointData.addAttribute("NumberOfComponents", 3); @@ -144,7 +147,7 @@ void writeEdgesToVTK xmlConnectData.addAttribute("Name", "offsets"); xmlConnectData.addAttribute("format", "ascii"); xmlConnectData << connectivity; - + OFstream os(fn); os << xmlRoot << endl; @@ -165,28 +168,28 @@ void writeEdgesToVTK DynamicList newPoints; labelList newPointAddr(points.size(), -1); LongList newEdges(addr.size()); - + forAll(addr, addrI) { label edgeI = addr[addrI]; - + const edge& curEdge = edges[edgeI]; edge& newEdge = newEdges[addrI]; - + forAll(curEdge, i) { label pointId = curEdge[i]; - + if (newPointAddr[pointId] == -1) { newPoints.append(points[pointId]); newPointAddr[pointId] = newPoints.size()-1; } - + newEdge[i] = newPointAddr[pointId]; } } - + writeEdgesToVTK ( fn, @@ -207,30 +210,30 @@ void writeFacetsToVTK ) { labelList connectivity(facets.size()); - + forAll(facets, faceI) { connectivity[faceI] = 3*(faceI+1); } - + labelList regionData(facets.size()); - + forAll(facets, faceI) { regionData[faceI] = facets[faceI].region(); } - + xmlTag xmlRoot("VTKFile"); xmlRoot.addAttribute("type", "PolyData"); - + xmlTag& xmlPolyData = xmlRoot.addChild("PolyData"); - + xmlTag& xmlPiece = xmlPolyData.addChild("Piece"); xmlPiece.addAttribute("NumberOfPoints", points.size()); xmlPiece.addAttribute("NumberOfPolys", facets.size()); - + xmlTag& xmlPoints = xmlPiece.addChild("Points"); - + xmlTag& xmlPointData = xmlPoints.addChild("DataArray"); xmlPointData.addAttribute("type", "Float32"); xmlPointData.addAttribute("NumberOfComponents", 3); @@ -250,18 +253,18 @@ void writeFacetsToVTK xmlConnectData.addAttribute("Name", "offsets"); xmlConnectData.addAttribute("format", "ascii"); xmlConnectData << connectivity; - + xmlTag& xmlCellData = xmlPiece.addChild("CellData"); - + xmlTag& xmlCellDataArray = xmlCellData.addChild("DataArray"); xmlCellDataArray.addAttribute("type", "Int32"); xmlCellDataArray.addAttribute("Name", "region"); xmlCellDataArray.addAttribute("format", "ascii"); xmlCellDataArray << regionData; - + OFstream os(fn); os << xmlRoot << endl; - + Info << "Created " << fn << endl; } @@ -276,33 +279,33 @@ void writeFacetsToVTK const LongList& facets, const UList