Utilities: standardised the class declaration section comments to correspond to the foamNewSource template

This commit is contained in:
Henry Weller
2019-06-19 17:53:10 +01:00
parent 0101722b0f
commit e599162b09
40 changed files with 364 additions and 402 deletions

View File

@ -91,11 +91,6 @@ class cellSplitter
const Map<labelList>& cellToCells const Map<labelList>& cellToCells
) const; ) const;
//- Disallow default bitwise copy construction
cellSplitter(const cellSplitter&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellSplitter&) = delete;
public: public:
@ -107,6 +102,9 @@ public:
//- Construct from mesh //- Construct from mesh
cellSplitter(const polyMesh& mesh); cellSplitter(const polyMesh& mesh);
//- Disallow default bitwise copy construction
cellSplitter(const cellSplitter&) = delete;
//- Destructor //- Destructor
~cellSplitter(); ~cellSplitter();
@ -135,6 +133,12 @@ public:
{ {
return addedPoints_; return addedPoints_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellSplitter&) = delete;
}; };

View File

@ -68,13 +68,6 @@ class edgeStats
direction getNormalDir(const twoDPointCorrector*) const; direction getNormalDir(const twoDPointCorrector*) const;
//- Disallow default bitwise copy construction
edgeStats(const edgeStats&) = delete;
//- Disallow default bitwise assignment
void operator=(const edgeStats&) = delete;
public: public:
// Static Data Members // Static Data Members
@ -91,11 +84,20 @@ public:
//- Construct from mesh and corrector //- Construct from mesh and corrector
edgeStats(const polyMesh& mesh, const twoDPointCorrector* ); edgeStats(const polyMesh& mesh, const twoDPointCorrector* );
//- Disallow default bitwise copy construction
edgeStats(const edgeStats&) = delete;
// Member Functions // Member Functions
//- Calculate minimum edge length and print //- Calculate minimum edge length and print
scalar minLen(Ostream& os) const; scalar minLen(Ostream& os) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const edgeStats&) = delete;
}; };

View File

@ -74,12 +74,6 @@ class hexBlock
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
hexBlock(const hexBlock&) = delete;
//- Disallow default bitwise assignment
void operator=(const hexBlock&) = delete;
//- Vertex addressing inside the block //- Vertex addressing inside the block
inline label vtxLabel(label i, label j, label k) const; inline label vtxLabel(label i, label j, label k) const;
@ -91,6 +85,10 @@ public:
//- Construct from components //- Construct from components
hexBlock(const label nx, const label ny, const label nz); hexBlock(const label nx, const label ny, const label nz);
//- Disallow default bitwise copy construction
hexBlock(const hexBlock&) = delete;
// Member Functions // Member Functions
//- Number of points //- Number of points
@ -145,6 +143,12 @@ public:
//- Read block points //- Read block points
void readPoints(Istream&); void readPoints(Istream&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const hexBlock&) = delete;
}; };

View File

@ -141,13 +141,6 @@ class sammMesh
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
sammMesh(const sammMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const sammMesh&) = delete;
//- Fill SAMM lookup tables //- Fill SAMM lookup tables
void fillSammCellShapeTable(); void fillSammCellShapeTable();
void fillSammAddressingTable(); void fillSammAddressingTable();
@ -230,6 +223,9 @@ public:
const scalar scaleFactor const scalar scaleFactor
); );
//- Disallow default bitwise copy construction
sammMesh(const sammMesh&) = delete;
//- Destructor //- Destructor
~sammMesh(); ~sammMesh();
@ -239,6 +235,12 @@ public:
//- Write mesh //- Write mesh
void writeMesh(); void writeMesh();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const sammMesh&) = delete;
}; };

View File

@ -185,13 +185,6 @@ class starMesh
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
starMesh(const starMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const starMesh&) = delete;
//- Read fixed format vertex label //- Read fixed format vertex label
static label readVtxLabel(IFstream&); static label readVtxLabel(IFstream&);
@ -295,6 +288,9 @@ public:
const scalar scaleFactor const scalar scaleFactor
); );
//- Disallow default bitwise copy construction
starMesh(const starMesh&) = delete;
//- Destructor //- Destructor
~starMesh(); ~starMesh();
@ -304,6 +300,12 @@ public:
//- Write mesh //- Write mesh
void writeMesh(); void writeMesh();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const starMesh&) = delete;
}; };

View File

@ -86,13 +86,6 @@ class extrudedMesh
); );
//- Disallow default bitwise copy construction
extrudedMesh(const extrudedMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const extrudedMesh&) = delete;
public: public:
// Constructors // Constructors
@ -105,6 +98,15 @@ public:
const PrimitivePatch<FaceList, PointField>& extrudePatch, const PrimitivePatch<FaceList, PointField>& extrudePatch,
const extrudeModel& const extrudeModel&
); );
//- Disallow default bitwise copy construction
extrudedMesh(const extrudedMesh&) = delete;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const extrudedMesh&) = delete;
}; };

View File

@ -87,11 +87,6 @@ class extrude2DMesh
//- Find extrusion direction //- Find extrusion direction
// void findExtrudeDirection(); // void findExtrudeDirection();
//- Disallow default bitwise copy construction
extrude2DMesh(const extrude2DMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const extrude2DMesh&) = delete;
public: public:
@ -107,6 +102,9 @@ public:
const extrudeModel& model const extrudeModel& model
); );
//- Disallow default bitwise copy construction
extrude2DMesh(const extrude2DMesh&) = delete;
//- Destructor //- Destructor
~extrude2DMesh(); ~extrude2DMesh();
@ -138,6 +136,11 @@ public:
return backPatchi_; return backPatchi_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const extrude2DMesh&) = delete;
}; };

View File

@ -85,12 +85,6 @@ class patchToPoly2DMesh
void createPolyMeshComponents(); void createPolyMeshComponents();
//- Disallow default bitwise copy construction
patchToPoly2DMesh(const patchToPoly2DMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const patchToPoly2DMesh&) = delete;
public: public:
@ -105,6 +99,9 @@ public:
const EdgeMap<label>& mapEdgesRegion const EdgeMap<label>& mapEdgesRegion
); );
//- Disallow default bitwise copy construction
patchToPoly2DMesh(const patchToPoly2DMesh&) = delete;
//- Destructor //- Destructor
~patchToPoly2DMesh(); ~patchToPoly2DMesh();
@ -154,6 +151,12 @@ public:
//- Create the mesh //- Create the mesh
void createMesh(); void createMesh();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const patchToPoly2DMesh&) = delete;
}; };

View File

@ -68,15 +68,6 @@ class cv2DControls
const dictionary& conformationControl_; const dictionary& conformationControl_;
// Private Member Functions
//- Disallow default bitwise copy construction
cv2DControls(const cv2DControls&) = delete;
//- Disallow default bitwise assignment
void operator=(const cv2DControls&) = delete;
public: public:
// Controls // Controls
@ -162,6 +153,9 @@ public:
const boundBox& bb const boundBox& bb
); );
//- Disallow default bitwise copy construction
cv2DControls(const cv2DControls&) = delete;
//- Destructor //- Destructor
~cv2DControls(); ~cv2DControls();
@ -249,6 +243,12 @@ public:
Ostream& os, Ostream& os,
const cv2DControls& s const cv2DControls& s
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cv2DControls&) = delete;
}; };

View File

@ -158,12 +158,6 @@ private:
const List<DynamicList<label>>& patchOwners const List<DynamicList<label>>& patchOwners
) const; ) const;
//- Disallow default bitwise copy construction
DelaunayMesh(const DelaunayMesh<Triangulation>&) = delete;
//- Disallow default bitwise assignment
void operator=(const DelaunayMesh<Triangulation>&) = delete;
public: public:
@ -178,6 +172,9 @@ public:
const word& meshName const word& meshName
); );
//- Disallow default bitwise copy construction
DelaunayMesh(const DelaunayMesh<Triangulation>&) = delete;
//- Destructor //- Destructor
~DelaunayMesh(); ~DelaunayMesh();
@ -267,6 +264,12 @@ public:
labelList& cellMap, labelList& cellMap,
const bool writeDelaunayData = true const bool writeDelaunayData = true
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const DelaunayMesh<Triangulation>&) = delete;
}; };

View File

@ -123,15 +123,6 @@ private:
labelPairHashSet& receivedVertices labelPairHashSet& receivedVertices
); );
//- Disallow default bitwise copy construction
DistributedDelaunayMesh
(
const DistributedDelaunayMesh<Triangulation>&
) = delete;
//- Disallow default bitwise assignment
void operator=(const DistributedDelaunayMesh<Triangulation>&) = delete;
public: public:
@ -146,6 +137,12 @@ public:
const word& meshName const word& meshName
); );
//- Disallow default bitwise copy construction
DistributedDelaunayMesh
(
const DistributedDelaunayMesh<Triangulation>&
) = delete;
//- Destructor //- Destructor
~DistributedDelaunayMesh(); ~DistributedDelaunayMesh();
@ -196,12 +193,11 @@ public:
bool printErrors = true bool printErrors = true
); );
// distributeField();
// Queries
// Member Operators
//- Disallow default bitwise assignment
void operator=(const DistributedDelaunayMesh<Triangulation>&) = delete;
}; };
@ -211,10 +207,6 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//#include "DistributedDelaunayMeshI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "DistributedDelaunayMesh.C" #include "DistributedDelaunayMesh.C"
#endif #endif

View File

@ -80,12 +80,6 @@ class PrintTable
string title_; string title_;
// Private Member Functions
//- Disallow default bitwise assignment
void operator=(const PrintTable<KeyType, DataType>&) = delete;
public: public:
// Constructors // Constructors
@ -116,6 +110,12 @@ public:
const bool printSum = false, const bool printSum = false,
const bool printAverage = false const bool printAverage = false
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const PrintTable<KeyType, DataType>&) = delete;
}; };

View File

@ -183,15 +183,6 @@ class backgroundMeshDecomposition
//- Build the surface patch and search tree //- Build the surface patch and search tree
void buildPatchAndTree(); void buildPatchAndTree();
//- Disallow default bitwise copy construction
backgroundMeshDecomposition
(
const backgroundMeshDecomposition&
) = delete;
//- Disallow default bitwise assignment
void operator=(const backgroundMeshDecomposition&) = delete;
public: public:
@ -210,6 +201,12 @@ public:
const dictionary& coeffsDict const dictionary& coeffsDict
); );
//- Disallow default bitwise copy construction
backgroundMeshDecomposition
(
const backgroundMeshDecomposition&
) = delete;
//- Destructor //- Destructor
~backgroundMeshDecomposition(); ~backgroundMeshDecomposition();
@ -297,18 +294,6 @@ public:
const scalar radiusSqr const scalar radiusSqr
) const; ) const;
// //- Which processors overlap the given sphere, returns all processors
// // whose boundary patch is touched by the sphere or whom the sphere
// // is inside. By default this does not return the processor that the
// // query is launched from, it is assumed that the point is on that
// // processor.
// labelListList overlapsProcessors
// (
// const List<point>& centres,
// const List<scalar>& radiusSqrs,
// const Delaunay& T,
// bool includeOwnProcessor
// ) const;
// Access // Access
@ -329,6 +314,12 @@ public:
//- Return the current decomposition method //- Return the current decomposition method
inline const decompositionMethod& decomposer() const; inline const decompositionMethod& decomposer() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const backgroundMeshDecomposition&) = delete;
}; };

View File

@ -59,15 +59,6 @@ class cellAspectRatioControl
vector aspectRatioDirection_; vector aspectRatioDirection_;
// Private Member Functions
//- Disallow default bitwise copy construction
cellAspectRatioControl(const cellAspectRatioControl&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellAspectRatioControl&) = delete;
public: public:
// Constructors // Constructors
@ -75,6 +66,9 @@ public:
//- Construct from dictionary //- Construct from dictionary
cellAspectRatioControl(const dictionary& motionDict); cellAspectRatioControl(const dictionary& motionDict);
//- Disallow default bitwise copy construction
cellAspectRatioControl(const cellAspectRatioControl&) = delete;
//- Destructor //- Destructor
virtual ~cellAspectRatioControl(); virtual ~cellAspectRatioControl();
@ -98,6 +92,12 @@ public:
const scalar rABMag, const scalar rABMag,
vector& delta vector& delta
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellAspectRatioControl&) = delete;
}; };

View File

@ -83,15 +83,6 @@ class cellShapeControl
cellSizeAndAlignmentControls sizeAndAlignment_; cellSizeAndAlignmentControls sizeAndAlignment_;
// Private Member Functions
//- Disallow default bitwise copy construction
cellShapeControl(const cellShapeControl&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellShapeControl&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -110,6 +101,9 @@ public:
const conformationSurfaces& geometryToConformTo const conformationSurfaces& geometryToConformTo
); );
//- Disallow default bitwise copy construction
cellShapeControl(const cellShapeControl&) = delete;
//- Destructor //- Destructor
~cellShapeControl(); ~cellShapeControl();
@ -148,6 +142,12 @@ public:
scalar& size, scalar& size,
tensor& alignment tensor& alignment
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellShapeControl&) = delete;
}; };

View File

@ -81,15 +81,6 @@ private:
const scalar defaultCellSize_; const scalar defaultCellSize_;
// Private Member Functions
//- Disallow default bitwise copy construction
cellShapeControlMesh(const cellShapeControlMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellShapeControlMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -103,6 +94,9 @@ public:
explicit cellShapeControlMesh(const Time& runTime); explicit cellShapeControlMesh(const Time& runTime);
//- Disallow default bitwise copy construction
cellShapeControlMesh(const cellShapeControlMesh&) = delete;
//- Destructor //- Destructor
~cellShapeControlMesh(); ~cellShapeControlMesh();
@ -161,6 +155,12 @@ public:
( (
const autoPtr<backgroundMeshDecomposition>& decomposition const autoPtr<backgroundMeshDecomposition>& decomposition
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellShapeControlMesh&) = delete;
}; };

View File

@ -69,18 +69,6 @@ private:
const word name_; const word name_;
// Private Member Functions
//- Disallow default bitwise copy construction
cellSizeAndAlignmentControl
(
const cellSizeAndAlignmentControl&
) = delete;
//- Disallow default bitwise assignment
void operator=(const cellSizeAndAlignmentControl&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -124,6 +112,12 @@ public:
const scalar& defaultCellSize const scalar& defaultCellSize
); );
//- Disallow default bitwise copy construction
cellSizeAndAlignmentControl
(
const cellSizeAndAlignmentControl&
) = delete;
// Selectors // Selectors
@ -173,6 +167,12 @@ public:
scalarField& sizes, scalarField& sizes,
triadField& alignments triadField& alignments
) const = 0; ) const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellSizeAndAlignmentControl&) = delete;
}; };

View File

@ -61,15 +61,6 @@ class fileControl
label maxPriority_; label maxPriority_;
// Private Member Functions
//- Disallow default bitwise copy construction
fileControl(const fileControl&) = delete;
//- Disallow default bitwise assignment
void operator=(const fileControl&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -89,6 +80,10 @@ public:
const scalar& defaultCellSize const scalar& defaultCellSize
); );
//- Disallow default bitwise copy construction
fileControl(const fileControl&) = delete;
//- Destructor //- Destructor
~fileControl(); ~fileControl();
@ -97,28 +92,12 @@ public:
// Access // Access
// Query
// //- Return the cell size at the given location
// virtual scalar cellSize(const point& pt) const;
//
// //- Return the cell alignment at the given location
// virtual tensor cellAlignment(const point& pt) const;
//
// virtual void cellSizeAndAlignment
// (
// const point& pt,
// scalar& size,
// tensor& alignment
// ) const;
virtual label maxPriority() const virtual label maxPriority() const
{ {
return maxPriority_; return maxPriority_;
} }
// Edit // Edit
virtual void cellSizeFunctionVertices virtual void cellSizeFunctionVertices
@ -133,6 +112,12 @@ public:
scalarField& sizes, scalarField& sizes,
triadField& alignments triadField& alignments
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fileControl&) = delete;
}; };

View File

@ -68,33 +68,6 @@ class searchableSurfaceControl
label maxPriority_; label maxPriority_;
// const conformationSurfaces& geometryToConformTo_;
//
// //- Indices of surfaces in allGeometry that are to be conformed to
// labelList surfaces_;
//
// //- A list of all of the cellSizeFunction objects
// PtrList<cellSizeFunction> cellSizeFunctions_;
//
// autoPtr<triangulatedMesh> triangulatedMesh_;
//
//
// // Private Member Functions
//
// //-
// tensor requiredAlignment
// (
// const point& pt,
// const vectorField& ptNormals
// ) const;
//- Disallow default bitwise copy construction
searchableSurfaceControl(const searchableSurfaceControl&) = delete;
//- Disallow default bitwise assignment
void operator=(const searchableSurfaceControl&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -114,37 +87,16 @@ public:
const scalar& defaultCellSize const scalar& defaultCellSize
); );
//- Disallow default bitwise copy construction
searchableSurfaceControl(const searchableSurfaceControl&) = delete;
//- Destructor //- Destructor
~searchableSurfaceControl(); ~searchableSurfaceControl();
// Member Functions // Member Functions
// Access
// //- Return reference to the searchableSurfaces object containing
// // all of the geometry
// inline const searchableSurfaces& geometry() const;
//
// //- Return the surface indices
// inline const labelList& surfaces() const;
//
//
// // Query
//
// //- Return the cell size at the given location
// virtual scalar cellSize(const point& pt) const;
//
// //- Return the cell alignment at the given location
// virtual tensor cellAlignment(const point& pt) const;
//
// virtual void cellSizeAndAlignment
// (
// const point& pt,
// scalar& size,
// tensor& alignment
// ) const;
virtual void cellSizeFunctionVertices virtual void cellSizeFunctionVertices
( (
DynamicList<Foam::point>& pts, DynamicList<Foam::point>& pts,
@ -175,8 +127,11 @@ public:
label& priority label& priority
) const; ) const;
// Edit
// Member Operators
//- Disallow default bitwise assignment
void operator=(const searchableSurfaceControl&) = delete;
}; };

View File

@ -99,12 +99,6 @@ class controlMeshRefinement
pointHit findDiscontinuities(const linePointRef& l) const; pointHit findDiscontinuities(const linePointRef& l) const;
//- Disallow default bitwise copy construction
controlMeshRefinement(const controlMeshRefinement&) = delete;
//- Disallow default bitwise assignment
void operator=(const controlMeshRefinement&) = delete;
public: public:
@ -117,6 +111,9 @@ public:
//- Construct null //- Construct null
controlMeshRefinement(cellShapeControl& shapeController); controlMeshRefinement(cellShapeControl& shapeController);
//- Disallow default bitwise copy construction
controlMeshRefinement(const controlMeshRefinement&) = delete;
//- Destructor //- Destructor
~controlMeshRefinement(); ~controlMeshRefinement();
@ -135,6 +132,12 @@ public:
( (
const autoPtr<backgroundMeshDecomposition>& decomposition const autoPtr<backgroundMeshDecomposition>& decomposition
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const controlMeshRefinement&) = delete;
}; };

View File

@ -91,12 +91,6 @@ class smoothAlignmentSolver
triad& t triad& t
) const; ) const;
//- Disallow default bitwise copy construction
smoothAlignmentSolver(const smoothAlignmentSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const smoothAlignmentSolver&) = delete;
public: public:
@ -105,6 +99,9 @@ public:
//- Construct null //- Construct null
smoothAlignmentSolver(cellShapeControlMesh& mesh); smoothAlignmentSolver(cellShapeControlMesh& mesh);
//- Disallow default bitwise copy construction
smoothAlignmentSolver(const smoothAlignmentSolver&) = delete;
//- Destructor //- Destructor
~smoothAlignmentSolver(); ~smoothAlignmentSolver();
@ -116,6 +113,12 @@ public:
//- Smooth the alignments on the mesh //- Smooth the alignments on the mesh
void smoothAlignments(const label maxSmoothingIterations); void smoothAlignments(const label maxSmoothingIterations);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const smoothAlignmentSolver&) = delete;
}; };

View File

@ -106,17 +106,6 @@ protected:
label priority_; label priority_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
cellSizeFunction(const cellSizeFunction&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellSizeFunction&) = delete;
public: public:
// Declare run-time constructor selection table // Declare run-time constructor selection table
@ -148,6 +137,9 @@ public:
const labelList regionIndices const labelList regionIndices
); );
//- Disallow default bitwise copy construction
cellSizeFunction(const cellSizeFunction&) = delete;
// Selectors // Selectors
@ -207,6 +199,12 @@ public:
{ {
return priority_; return priority_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellSizeFunction&) = delete;
}; };

View File

@ -63,17 +63,6 @@ protected:
const scalar& defaultCellSize_; const scalar& defaultCellSize_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
cellSizeCalculationType(const cellSizeCalculationType&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellSizeCalculationType&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -107,6 +96,9 @@ public:
const scalar& defaultCellSize const scalar& defaultCellSize
); );
//- Disallow default bitwise copy construction
cellSizeCalculationType(const cellSizeCalculationType&) = delete;
// Selectors // Selectors
@ -127,6 +119,12 @@ public:
//- Load the cell size //- Load the cell size
virtual tmp<triSurfacePointScalarField> load() = 0; virtual tmp<triSurfacePointScalarField> load() = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellSizeCalculationType&) = delete;
}; };

View File

@ -71,17 +71,6 @@ protected:
scalar refinementFactor_; scalar refinementFactor_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
surfaceCellSizeFunction(const surfaceCellSizeFunction&) = delete;
//- Disallow default bitwise assignment
void operator=(const surfaceCellSizeFunction&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -115,6 +104,9 @@ public:
const scalar& defaultCellSize const scalar& defaultCellSize
); );
//- Disallow default bitwise copy construction
surfaceCellSizeFunction(const surfaceCellSizeFunction&) = delete;
// Selectors // Selectors
@ -144,6 +136,12 @@ public:
const point& pt, const point& pt,
const label index const label index
) const = 0; ) const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const surfaceCellSizeFunction&) = delete;
}; };

View File

@ -855,12 +855,6 @@ private:
void writePointPairs(const fileName& fName) const; void writePointPairs(const fileName& fName) const;
//- Disallow default bitwise copy construction
conformalVoronoiMesh(const conformalVoronoiMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const conformalVoronoiMesh&) = delete;
public: public:
@ -877,6 +871,9 @@ public:
const dictionary& foamyHexMeshDict const dictionary& foamyHexMeshDict
); );
//- Disallow default bitwise copy construction
conformalVoronoiMesh(const conformalVoronoiMesh&) = delete;
//- Destructor //- Destructor
~conformalVoronoiMesh(); ~conformalVoronoiMesh();
@ -1017,6 +1014,12 @@ public:
//- Find the cellSet of the boundary cells which have points that //- Find the cellSet of the boundary cells which have points that
// protrude out of the surface beyond a tolerance. // protrude out of the surface beyond a tolerance.
labelHashSet findRemainingProtrusionSet(const polyMesh& mesh) const; labelHashSet findRemainingProtrusionSet(const polyMesh& mesh) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const conformalVoronoiMesh&) = delete;
}; };

View File

@ -133,12 +133,6 @@ class featurePointConformer
//- Create the points that will conform to the feature //- Create the points that will conform to the feature
void createFeaturePoints(DynamicList<Vb>& pts); void createFeaturePoints(DynamicList<Vb>& pts);
//- Disallow default bitwise copy construction
featurePointConformer(const featurePointConformer&) = delete;
//- Disallow default bitwise assignment
void operator=(const featurePointConformer&) = delete;
public: public:
@ -154,6 +148,9 @@ public:
const conformalVoronoiMesh& foamyHexMesh const conformalVoronoiMesh& foamyHexMesh
); );
//- Disallow default bitwise copy construction
featurePointConformer(const featurePointConformer&) = delete;
//- Destructor //- Destructor
~featurePointConformer(); ~featurePointConformer();
@ -179,6 +176,12 @@ public:
//- Reindex the feature point pairs using the map. //- Reindex the feature point pairs using the map.
void reIndexPointPairs(const Map<label>& oldToNewIndices); void reIndexPointPairs(const Map<label>& oldToNewIndices);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const featurePointConformer&) = delete;
}; };

View File

@ -125,12 +125,6 @@ class conformationSurfaces
label& featureIndex label& featureIndex
); );
//- Disallow default bitwise copy construction
conformationSurfaces(const conformationSurfaces&) = delete;
//- Disallow default bitwise assignment
void operator=(const conformationSurfaces&) = delete;
public: public:
@ -150,6 +144,10 @@ public:
const dictionary& surfaceConformationDict const dictionary& surfaceConformationDict
); );
//- Disallow default bitwise copy construction
conformationSurfaces(const conformationSurfaces&) = delete;
//- Destructor //- Destructor
~conformationSurfaces(); ~conformationSurfaces();
@ -374,6 +372,11 @@ public:
// an obj file // an obj file
void writeFeatureObj(const fileName& prefix) const; void writeFeatureObj(const fileName& prefix) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const conformationSurfaces&) = delete;
}; };

View File

@ -207,15 +207,6 @@ class cvControls
Switch writeBackgroundMeshDecomposition_; Switch writeBackgroundMeshDecomposition_;
// Private Member Functions
//- Disallow default bitwise copy construction
cvControls(const cvControls&) = delete;
//- Disallow default bitwise assignment
void operator=(const cvControls&) = delete;
public: public:
// Constructors // Constructors
@ -226,6 +217,9 @@ public:
const dictionary& foamyHexMeshDict const dictionary& foamyHexMeshDict
); );
//- Disallow default bitwise copy construction
cvControls(const cvControls&) = delete;
//- Destructor //- Destructor
~cvControls(); ~cvControls();
@ -345,6 +339,12 @@ public:
//- Write backgroundMeshDecomposition at output time //- Write backgroundMeshDecomposition at output time
inline Switch writeBackgroundMeshDecomposition() const; inline Switch writeBackgroundMeshDecomposition() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cvControls&) = delete;
}; };

View File

@ -64,16 +64,6 @@ protected:
//- Method coeffs dictionary //- Method coeffs dictionary
dictionary coeffDict_; dictionary coeffDict_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
faceAreaWeightModel(const faceAreaWeightModel&) = delete;
//- Disallow default bitwise assignment
void operator=(const faceAreaWeightModel&) = delete;
public: public:
@ -104,6 +94,9 @@ public:
const dictionary& faceAreaWeightDict const dictionary& faceAreaWeightDict
); );
//- Disallow default bitwise copy construction
faceAreaWeightModel(const faceAreaWeightModel&) = delete;
// Selectors // Selectors
@ -128,6 +121,12 @@ public:
//- Return the current faceAreaWeight coefficient //- Return the current faceAreaWeight coefficient
virtual scalar faceAreaWeight(scalar faceAreaFraction) const = 0; virtual scalar faceAreaWeight(scalar faceAreaFraction) const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const faceAreaWeightModel&) = delete;
}; };

View File

@ -83,17 +83,6 @@ protected:
Switch fixInitialPoints_; Switch fixInitialPoints_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
initialPointsMethod(const initialPointsMethod&) = delete;
//- Disallow default bitwise assignment
void operator=(const initialPointsMethod&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -140,6 +129,9 @@ public:
const autoPtr<backgroundMeshDecomposition>& decomposition const autoPtr<backgroundMeshDecomposition>& decomposition
); );
//- Disallow default bitwise copy construction
initialPointsMethod(const initialPointsMethod&) = delete;
// Selectors // Selectors
@ -204,6 +196,12 @@ public:
//- Return the initial points for the conformalVoronoiMesh //- Return the initial points for the conformalVoronoiMesh
virtual List<Vb::Point> initialPoints() const = 0; virtual List<Vb::Point> initialPoints() const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const initialPointsMethod&) = delete;
}; };

View File

@ -66,16 +66,6 @@ protected:
//- Method coeffs dictionary //- Method coeffs dictionary
dictionary coeffDict_; dictionary coeffDict_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
relaxationModel(const relaxationModel&) = delete;
//- Disallow default bitwise assignment
void operator=(const relaxationModel&) = delete;
public: public:
@ -108,6 +98,9 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
relaxationModel(const relaxationModel&) = delete;
// Selectors // Selectors
@ -133,6 +126,12 @@ public:
//- Return the current relaxation coefficient //- Return the current relaxation coefficient
virtual scalar relaxation() = 0; virtual scalar relaxation() = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const relaxationModel&) = delete;
}; };

View File

@ -57,15 +57,6 @@ private:
const extendedFeatureEdgeMesh::sideVolumeType mode_; const extendedFeatureEdgeMesh::sideVolumeType mode_;
// Private Member Functions
//- Disallow default bitwise copy construction
searchableBoxFeatures(const searchableBoxFeatures&) = delete;
//- Disallow default bitwise assignment
void operator=(const searchableBoxFeatures&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -81,6 +72,9 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
searchableBoxFeatures(const searchableBoxFeatures&) = delete;
//- Destructor //- Destructor
virtual ~searchableBoxFeatures(); virtual ~searchableBoxFeatures();
@ -96,6 +90,12 @@ public:
//- Return an extendedFeatureEdgeMesh containing the features //- Return an extendedFeatureEdgeMesh containing the features
virtual autoPtr<extendedFeatureEdgeMesh> features() const; virtual autoPtr<extendedFeatureEdgeMesh> features() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const searchableBoxFeatures&) = delete;
}; };

View File

@ -61,15 +61,6 @@ private:
const extendedFeatureEdgeMesh::sideVolumeType mode_; const extendedFeatureEdgeMesh::sideVolumeType mode_;
// Private Member Functions
//- Disallow default bitwise copy construction
searchablePlateFeatures(const searchablePlateFeatures&) = delete;
//- Disallow default bitwise assignment
void operator=(const searchablePlateFeatures&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -91,6 +82,9 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
searchablePlateFeatures(const searchablePlateFeatures&) = delete;
//- Destructor //- Destructor
virtual ~searchablePlateFeatures(); virtual ~searchablePlateFeatures();
@ -106,6 +100,12 @@ public:
//- Return an extendedFeatureEdgeMesh containing the features //- Return an extendedFeatureEdgeMesh containing the features
virtual autoPtr<extendedFeatureEdgeMesh> features() const; virtual autoPtr<extendedFeatureEdgeMesh> features() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const searchablePlateFeatures&) = delete;
}; };

View File

@ -58,15 +58,6 @@ class searchableSurfaceFeatures
const dictionary& dict_; const dictionary& dict_;
// Private Member Functions
//- Disallow default bitwise copy construction
searchableSurfaceFeatures(const searchableSurfaceFeatures&) = delete;
//- Disallow default bitwise assignment
void operator=(const searchableSurfaceFeatures&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -97,6 +88,9 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
searchableSurfaceFeatures(const searchableSurfaceFeatures&) = delete;
//- Clone //- Clone
virtual autoPtr<searchableSurfaceFeatures> clone() const virtual autoPtr<searchableSurfaceFeatures> clone() const
{ {
@ -141,6 +135,12 @@ public:
{ {
return autoPtr<extendedFeatureEdgeMesh>(); return autoPtr<extendedFeatureEdgeMesh>();
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const searchableSurfaceFeatures&) = delete;
}; };

View File

@ -59,15 +59,6 @@ private:
const extendedFeatureEdgeMesh::sideVolumeType mode_; const extendedFeatureEdgeMesh::sideVolumeType mode_;
// Private Member Functions
//- Disallow default bitwise copy construction
triSurfaceMeshFeatures(const triSurfaceMeshFeatures&) = delete;
//- Disallow default bitwise assignment
void operator=(const triSurfaceMeshFeatures&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -83,6 +74,9 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
triSurfaceMeshFeatures(const triSurfaceMeshFeatures&) = delete;
//- Destructor //- Destructor
virtual ~triSurfaceMeshFeatures(); virtual ~triSurfaceMeshFeatures();
@ -98,6 +92,12 @@ public:
//- Return an extendedFeatureEdgeMesh containing the features //- Return an extendedFeatureEdgeMesh containing the features
virtual autoPtr<extendedFeatureEdgeMesh> features() const; virtual autoPtr<extendedFeatureEdgeMesh> features() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const triSurfaceMeshFeatures&) = delete;
}; };

View File

@ -199,13 +199,6 @@ class CV2D
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
CV2D(const CV2D&) = delete;
//- Disallow default bitwise assignment
void operator=(const CV2D&) = delete;
//- Insert point and return it's index //- Insert point and return it's index
inline label insertPoint inline label insertPoint
( (
@ -333,6 +326,9 @@ public:
//- Construct for given surface //- Construct for given surface
CV2D(const Time& runTime, const dictionary& controlDict); CV2D(const Time& runTime, const dictionary& controlDict);
//- Disallow default bitwise copy construction
CV2D(const CV2D&) = delete;
//- Destructor //- Destructor
~CV2D(); ~CV2D();
@ -451,6 +447,12 @@ public:
void writePatch(const fileName& fName) const; void writePatch(const fileName& fName) const;
void write() const; void write() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const CV2D&) = delete;
}; };

View File

@ -90,12 +90,6 @@ class shortEdgeFilter2D
labelList& patchSizes labelList& patchSizes
) const; ) const;
//- Disallow default bitwise copy construction
shortEdgeFilter2D(const shortEdgeFilter2D&) = delete;
//- Disallow default bitwise assignment
void operator=(const shortEdgeFilter2D&) = delete;
public: public:
@ -106,6 +100,9 @@ public:
shortEdgeFilter2D(const CV2D& cv2Dmesh, const dictionary& dict); shortEdgeFilter2D(const CV2D& cv2Dmesh, const dictionary& dict);
//- Disallow default bitwise copy construction
shortEdgeFilter2D(const shortEdgeFilter2D&) = delete;
//- Destructor //- Destructor
~shortEdgeFilter2D(); ~shortEdgeFilter2D();
@ -139,6 +136,12 @@ public:
void filter(); void filter();
void writeInfo(Ostream& os); void writeInfo(Ostream& os);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const shortEdgeFilter2D&) = delete;
}; };

View File

@ -76,13 +76,6 @@ class mergePolyMesh
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
mergePolyMesh(const mergePolyMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const mergePolyMesh&) = delete;
//- Return patch index given a name and type //- Return patch index given a name and type
label patchIndex(const polyPatch&); label patchIndex(const polyPatch&);
@ -101,6 +94,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
mergePolyMesh(const IOobject& io); mergePolyMesh(const IOobject& io);
//- Disallow default bitwise copy construction
mergePolyMesh(const mergePolyMesh&) = delete;
//- Destructor //- Destructor
virtual ~mergePolyMesh() virtual ~mergePolyMesh()
@ -114,6 +110,12 @@ public:
//- Merge meshes //- Merge meshes
void merge(); void merge();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const mergePolyMesh&) = delete;
}; };

View File

@ -64,15 +64,6 @@ class mirrorFvMesh
autoPtr<labelList> pointMapPtr_; autoPtr<labelList> pointMapPtr_;
// Private Member Functions
//- Disallow default bitwise copy construction
mirrorFvMesh(const mirrorFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const mirrorFvMesh&) = delete;
public: public:
@ -81,6 +72,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
mirrorFvMesh(const IOobject& io, const word& dictName); mirrorFvMesh(const IOobject& io, const word& dictName);
//- Disallow default bitwise copy construction
mirrorFvMesh(const mirrorFvMesh&) = delete;
//- Destructor //- Destructor
~mirrorFvMesh(); ~mirrorFvMesh();
@ -105,6 +99,12 @@ public:
{ {
return pointMapPtr_(); return pointMapPtr_();
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const mirrorFvMesh&) = delete;
}; };

View File

@ -168,12 +168,6 @@ class meshDualiser
boolList& donePFaces // pFaces visited boolList& donePFaces // pFaces visited
) const; ) const;
//- Disallow default bitwise copy construction
meshDualiser(const meshDualiser&) = delete;
//- Disallow default bitwise assignment
void operator=(const meshDualiser&) = delete;
public: public:
@ -186,6 +180,9 @@ public:
//- Construct from mesh //- Construct from mesh
meshDualiser(const polyMesh&); meshDualiser(const polyMesh&);
//- Disallow default bitwise copy construction
meshDualiser(const meshDualiser&) = delete;
// Member Functions // Member Functions
@ -228,7 +225,6 @@ public:
// Edit // Edit
//- Insert all changes into meshMod to convert the polyMesh into //- Insert all changes into meshMod to convert the polyMesh into
// its dual. // its dual.
// featureFaces : faces where we want a point at the face centre // featureFaces : faces where we want a point at the face centre
@ -248,6 +244,12 @@ public:
const labelList& multiCellFeaturePoints, const labelList& multiCellFeaturePoints,
polyTopoChange& meshMod polyTopoChange& meshMod
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const meshDualiser&) = delete;
}; };
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //