diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C index 09d2eb3c3aa699baf3804f6b47aa7558fc7e176d..1fd19420bbf873671e996b474a9cd76e88d97707 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C @@ -39,6 +39,7 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh : HTriangulation(), runTime_(runTime), + cvMeshControls_(*this, cvMeshDict), allGeometry_ ( IOobject @@ -64,7 +65,6 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh allGeometry_, cvMeshDict.subDict("motionControl") ), - cvMeshControls_(*this, cvMeshDict), startOfInternalPoints_(0), startOfSurfacePointPairs_(0), featureVertices_(), diff --git a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H index 37d9ad10152ca9f653b5439a0866d6ff15727e33..1f0e86194ac8f93b84526faa36d2e8acdd81de60 100644 --- a/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H +++ b/src/mesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H @@ -100,6 +100,9 @@ private: //- The time registry of the application const Time& runTime_; + //- Controls for the conformal Voronoi meshing process + cvControls cvMeshControls_; + //- All geometry of the meshing process, including surfaces to be // conformed to and those to be used for refinement searchableSurfaces allGeometry_; @@ -110,9 +113,6 @@ private: //- The cell size control object cellSizeControlSurfaces cellSizeControl_; - //- Controls for the conformal Voronoi meshing process - cvControls cvMeshControls_; - //- Keep track of the start of the internal points label startOfInternalPoints_; @@ -518,9 +518,6 @@ public: // Constructors - //- Construct null - conformalVoronoiMesh(); - //- Construct from Time and cvMeshDict conformalVoronoiMesh ( diff --git a/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C b/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C index e00e9cad57e2ed5cd832045033aa7ed238dcfbfb..9ec4af43ffe32a68cd50bd2a0044b8f72db5333b 100644 --- a/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C +++ b/src/mesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.C @@ -197,7 +197,7 @@ Foam::conformationSurfaces::conformationSurfaces } } - if(cvMesh_.cvMeshControls().objOutput()) + if (cvMesh_.cvMeshControls().objOutput()) { writeFeatureObj("cvMesh"); }