diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/automatic/automatic.C b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/automatic/automatic.C index 411500e8c0c8c9ca531d6a5f7df683d27c75ec2d..0898ac44ada0abc34091b4d289d466ecd07d0b04 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/automatic/automatic.C +++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/automatic/automatic.C @@ -219,8 +219,10 @@ Foam::tmp<Foam::triSurfacePointScalarField> Foam::automatic::load() true ); - scalarField internalClosenessPointField = - patchInterpolate.faceToPointInterpolate(internalCloseness); + scalarField internalClosenessPointField + ( + patchInterpolate.faceToPointInterpolate(internalCloseness) + ); forAll(pointCellSize, pI) { @@ -254,8 +256,10 @@ Foam::tmp<Foam::triSurfacePointScalarField> Foam::automatic::load() true ); - scalarField featureProximityPointField = - patchInterpolate.faceToPointInterpolate(featureProximity); + scalarField featureProximityPointField + ( + patchInterpolate.faceToPointInterpolate(featureProximity) + ); forAll(pointCellSize, pI) { diff --git a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C index a72630ad36a2d35132ea962ad6344935e71ab37c..7034ec58dd2ea7848ed4c76b10b458e5ee625dd2 100644 --- a/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C +++ b/applications/utilities/mesh/generation/foamyHexMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.C @@ -80,7 +80,8 @@ Foam::searchableBoxFeatures::features() const { autoPtr<extendedFeatureEdgeMesh> features; - vectorField faceNormals(List<vector>(treeBoundBox::faceNormals)); + List<vector> faceNormalsList(treeBoundBox::faceNormals); + vectorField faceNormals(faceNormalsList); vectorField edgeDirections(12); labelListList normalDirections(12);