Standardised the class declaration section comments to correspond to the foamNewSource template

This commit is contained in:
Henry Weller
2019-06-19 16:45:21 +01:00
parent 213319ae30
commit 0101722b0f
80 changed files with 719 additions and 628 deletions

View File

@ -64,15 +64,6 @@ class ensightFile
static string dirFmt_; static string dirFmt_;
// Private Member Functions
//- Disallow default bitwise assignment
void operator=(const ensightFile&) = delete;
//- Disallow default bitwise copy construction
ensightFile(const ensightFile&);
public: public:
// Constructors // Constructors
@ -84,6 +75,9 @@ public:
IOstream::streamFormat format=IOstream::BINARY IOstream::streamFormat format=IOstream::BINARY
); );
//- Disallow default bitwise copy construction
ensightFile(const ensightFile&);
//- Destructor //- Destructor
~ensightFile(); ~ensightFile();
@ -152,6 +146,12 @@ public:
//- Add carriage return to ascii stream //- Add carriage return to ascii stream
void newline(); void newline();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightFile&) = delete;
}; };

View File

@ -47,15 +47,6 @@ class ensightGeoFile
: :
public ensightFile public ensightFile
{ {
// Private Member Functions
//- Disallow default bitwise assignment
void operator=(const ensightGeoFile&) = delete;
//- Disallow default bitwise copy construction
ensightGeoFile(const ensightGeoFile&);
public: public:
// Constructors // Constructors
@ -67,6 +58,10 @@ public:
IOstream::streamFormat format=IOstream::BINARY IOstream::streamFormat format=IOstream::BINARY
); );
//- Disallow default bitwise copy construction
ensightGeoFile(const ensightGeoFile&);
//- Destructor //- Destructor
~ensightGeoFile(); ~ensightGeoFile();
@ -76,6 +71,12 @@ public:
//- Write keyword with trailing newline //- Write keyword with trailing newline
virtual Ostream& writeKeyword(const string& key); virtual Ostream& writeKeyword(const string& key);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightGeoFile&) = delete;
}; };
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -346,10 +346,7 @@ public:
// Member Operators // Member Operators
//- Disallow default bitwise assignment //- Disallow default bitwise assignment
void operator=(const ensightPart&) void operator=(const ensightPart&) = delete;
{
NotImplemented;
}
// IOstream Operators // IOstream Operators
@ -359,7 +356,6 @@ public:
//- Write geometry //- Write geometry
friend ensightGeoFile& operator<<(ensightGeoFile&, const ensightPart&); friend ensightGeoFile& operator<<(ensightGeoFile&, const ensightPart&);
}; };

View File

@ -53,9 +53,6 @@ class ensightPartCells
{ {
// Private Member Functions // Private Member Functions
//- Disallow default bitwise assignment
void operator=(const ensightPartCells&) = delete;
//- Classify the cell types, set elemLists. //- Classify the cell types, set elemLists.
void classify void classify
( (
@ -164,6 +161,12 @@ public:
{ {
return elemTypes_; return elemTypes_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightPartCells&) = delete;
}; };

View File

@ -52,9 +52,6 @@ class ensightPartFaces
{ {
// Private Member Functions // Private Member Functions
//- Disallow default bitwise assignment
void operator=(const ensightPartFaces&) = delete;
//- Track points used //- Track points used
virtual localPoints calcLocalPoints() const; virtual localPoints calcLocalPoints() const;
@ -168,6 +165,12 @@ public:
{ {
return elemTypes_; return elemTypes_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightPartFaces&) = delete;
}; };

View File

@ -64,14 +64,6 @@ class ensightParts
//- List of parts //- List of parts
PtrList<ensightPart> partsList_; PtrList<ensightPart> partsList_;
// Private Member Functions
//- Disallow default bitwise copy construction
ensightParts(const ensightParts&) = delete;
//- Disallow default bitwise assignment
void operator=(const ensightParts&) = delete;
public: public:
@ -83,6 +75,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
ensightParts(const IOobject&); ensightParts(const IOobject&);
//- Disallow default bitwise copy construction
ensightParts(const ensightParts&) = delete;
//- Destructor //- Destructor
~ensightParts(); ~ensightParts();
@ -149,6 +144,13 @@ public:
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightParts&) = delete;
// Friend Operators // Friend Operators
//- Write geometry //- Write geometry

View File

@ -172,12 +172,6 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
meshReader(const meshReader&) = delete;
//- Disallow default bitwise assignment
void operator=(const meshReader&) = delete;
//- Calculate pointCells //- Calculate pointCells
void calcPointCells() const; void calcPointCells() const;
@ -304,6 +298,9 @@ public:
//- Construct from fileName //- Construct from fileName
meshReader(const fileName&, const scalar scaleFactor = 1.0); meshReader(const fileName&, const scalar scaleFactor = 1.0);
//- Disallow default bitwise copy construction
meshReader(const meshReader&) = delete;
//- Destructor //- Destructor
virtual ~meshReader(); virtual ~meshReader();
@ -323,6 +320,12 @@ public:
const polyMesh&, const polyMesh&,
IOstream::streamFormat fmt = IOstream::BINARY IOstream::streamFormat fmt = IOstream::BINARY
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const meshReader&) = delete;
}; };

View File

@ -114,17 +114,6 @@ protected:
static bool readHeader(IFstream&, word fileSignature); static bool readHeader(IFstream&, word fileSignature);
private:
// Private Member Functions
//- Disallow default bitwise copy construction
STARCD(const STARCD&) = delete;
//- Disallow default bitwise assignment
void operator=(const STARCD&) = delete;
protected: protected:
enum cellType enum cellType
@ -168,9 +157,18 @@ public:
const scalar scaleFactor = 1.0 const scalar scaleFactor = 1.0
); );
//- Disallow default bitwise copy construction
STARCD(const STARCD&) = delete;
//- Destructor //- Destructor
virtual ~STARCD(); virtual ~STARCD();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const STARCD&) = delete;
}; };

View File

@ -72,12 +72,6 @@ class boundaryRegion
: :
public Map<dictionary> public Map<dictionary>
{ {
// Private Member Functions
//- Disallow default bitwise copy construction
boundaryRegion(const boundaryRegion&) = delete;
public: public:
// Constructors // Constructors
@ -93,6 +87,9 @@ public:
const fileName& instance = "constant" const fileName& instance = "constant"
); );
//- Disallow default bitwise copy construction
boundaryRegion(const boundaryRegion&) = delete;
//- Destructor //- Destructor
~boundaryRegion(); ~boundaryRegion();

View File

@ -97,9 +97,6 @@ class cellTable
void setEntry(const label id, const word& keyWord, const word& value); void setEntry(const label id, const word& keyWord, const word& value);
//- Disallow default bitwise copy construction
cellTable(const cellTable&) = delete;
public: public:
@ -116,6 +113,9 @@ public:
const fileName& instance = "constant" const fileName& instance = "constant"
); );
//- Disallow default bitwise copy construction
cellTable(const cellTable&) = delete;
//- Destructor //- Destructor
~cellTable(); ~cellTable();

View File

@ -89,15 +89,6 @@ namespace Foam
class meshWriter class meshWriter
{ {
// Private Member Functions
//- Disallow default bitwise copy construction
meshWriter(const meshWriter&) = delete;
//- Disallow default bitwise assignment
void operator=(const meshWriter&) = delete;
protected: protected:
// Protected data // Protected data
@ -144,6 +135,9 @@ public:
const scalar scaleFactor = 1.0 const scalar scaleFactor = 1.0
); );
//- Disallow default bitwise copy construction
meshWriter(const meshWriter&) = delete;
//- Destructor //- Destructor
virtual ~meshWriter(); virtual ~meshWriter();
@ -173,6 +167,11 @@ public:
const fileName& timeName = fileName::null const fileName& timeName = fileName::null
) const = 0; ) const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const meshWriter&) = delete;
}; };

View File

@ -64,12 +64,6 @@ class STARCD
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
STARCD(const STARCD&) = delete;
//- Disallow default bitwise assignment
void operator=(const STARCD&) = delete;
//- Pro-STAR 4+ header format //- Pro-STAR 4+ header format
static void writeHeader(Ostream&, const char* filetype); static void writeHeader(Ostream&, const char* filetype);
@ -104,6 +98,9 @@ public:
const scalar scaleFactor = 1.0 const scalar scaleFactor = 1.0
); );
//- Disallow default bitwise copy construction
STARCD(const STARCD&) = delete;
//- Destructor //- Destructor
virtual ~STARCD(); virtual ~STARCD();
@ -125,6 +122,11 @@ public:
const fileName& meshName = fileName::null const fileName& meshName = fileName::null
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const STARCD&) = delete;
}; };

View File

@ -147,13 +147,6 @@ class polyDualMesh
); );
//- Disallow default bitwise copy construction
polyDualMesh(const polyDualMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const polyDualMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -183,6 +176,9 @@ public:
const scalar featureCos const scalar featureCos
); );
//- Disallow default bitwise copy construction
polyDualMesh(const polyDualMesh&) = delete;
//- Helper function to create feature edges and points based on //- Helper function to create feature edges and points based on
// feature angle and patches. // feature angle and patches.
static void calcFeatures static void calcFeatures
@ -213,6 +209,12 @@ public:
{ {
return boundaryFacePoint_; return boundaryFacePoint_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const polyDualMesh&) = delete;
}; };
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -62,12 +62,6 @@ class dynamicFvMesh
//- Return the dynamicMeshDict IOobject //- Return the dynamicMeshDict IOobject
static IOobject dynamicMeshDictIOobject(const IOobject& io); static IOobject dynamicMeshDictIOobject(const IOobject& io);
//- Disallow default bitwise copy construction
dynamicFvMesh(const dynamicFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const dynamicFvMesh&) = delete;
public: public:
@ -142,6 +136,9 @@ public:
const bool syncPar = true const bool syncPar = true
); );
//- Disallow default bitwise copy construction
dynamicFvMesh(const dynamicFvMesh&) = delete;
// Selectors // Selectors
@ -171,6 +168,12 @@ public:
//- Update the mesh for both mesh motion and topology change //- Update the mesh for both mesh motion and topology change
virtual bool update() = 0; virtual bool update() = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicFvMesh&) = delete;
}; };

View File

@ -73,15 +73,6 @@ class dynamicInkJetFvMesh
velocityMotionCorrection velocityMotionCorrection_; velocityMotionCorrection velocityMotionCorrection_;
// Private Member Functions
//- Disallow default bitwise copy construction
dynamicInkJetFvMesh(const dynamicInkJetFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const dynamicInkJetFvMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -93,6 +84,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
dynamicInkJetFvMesh(const IOobject& io); dynamicInkJetFvMesh(const IOobject& io);
//- Disallow default bitwise copy construction
dynamicInkJetFvMesh(const dynamicInkJetFvMesh&) = delete;
//- Destructor //- Destructor
~dynamicInkJetFvMesh(); ~dynamicInkJetFvMesh();
@ -102,6 +96,12 @@ public:
//- Update the mesh for both mesh motion and topology change //- Update the mesh for both mesh motion and topology change
virtual bool update(); virtual bool update();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicInkJetFvMesh&) = delete;
}; };

View File

@ -91,15 +91,6 @@ class dynamicInterpolatedFvMesh
velocityMotionCorrection velocityMotionCorrection_; velocityMotionCorrection velocityMotionCorrection_;
// Private Member Functions
//- Disallow default bitwise copy construction
dynamicInterpolatedFvMesh(const dynamicInterpolatedFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const dynamicInterpolatedFvMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -111,6 +102,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
dynamicInterpolatedFvMesh(const IOobject& io); dynamicInterpolatedFvMesh(const IOobject& io);
//- Disallow default bitwise copy construction
dynamicInterpolatedFvMesh(const dynamicInterpolatedFvMesh&) = delete;
//- Destructor //- Destructor
~dynamicInterpolatedFvMesh(); ~dynamicInterpolatedFvMesh();
@ -120,6 +114,12 @@ public:
//- Update the mesh for both mesh motion and topology change //- Update the mesh for both mesh motion and topology change
virtual bool update(); virtual bool update();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicInterpolatedFvMesh&) = delete;
}; };

View File

@ -62,15 +62,6 @@ class dynamicMotionSolverFvMesh
velocityMotionCorrection velocityMotionCorrection_; velocityMotionCorrection velocityMotionCorrection_;
// Private Member Functions
//- Disallow default bitwise copy construction
dynamicMotionSolverFvMesh(const dynamicMotionSolverFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const dynamicMotionSolverFvMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -82,6 +73,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
dynamicMotionSolverFvMesh(const IOobject& io); dynamicMotionSolverFvMesh(const IOobject& io);
//- Disallow default bitwise copy construction
dynamicMotionSolverFvMesh(const dynamicMotionSolverFvMesh&) = delete;
//- Destructor //- Destructor
~dynamicMotionSolverFvMesh(); ~dynamicMotionSolverFvMesh();
@ -106,6 +100,12 @@ public:
IOstream::compressionType cmp, IOstream::compressionType cmp,
const bool write = true const bool write = true
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicMotionSolverFvMesh&) = delete;
}; };

View File

@ -186,13 +186,6 @@ protected:
label& nProtected label& nProtected
) const; ) const;
private:
//- Disallow default bitwise copy construction
dynamicRefineFvMesh(const dynamicRefineFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const dynamicRefineFvMesh&) = delete;
public: public:
@ -205,6 +198,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
explicit dynamicRefineFvMesh(const IOobject& io); explicit dynamicRefineFvMesh(const IOobject& io);
//- Disallow default bitwise copy construction
dynamicRefineFvMesh(const dynamicRefineFvMesh&) = delete;
//- Destructor //- Destructor
virtual ~dynamicRefineFvMesh(); virtual ~dynamicRefineFvMesh();
@ -244,6 +240,12 @@ public:
IOstream::compressionType cmp, IOstream::compressionType cmp,
const bool write = true const bool write = true
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicRefineFvMesh&) = delete;
}; };

View File

@ -50,15 +50,6 @@ class staticFvMesh
: :
public dynamicFvMesh public dynamicFvMesh
{ {
// Private Member Functions
//- Disallow default bitwise copy construction
staticFvMesh(const staticFvMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const staticFvMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -70,6 +61,9 @@ public:
//- Construct from IOobject //- Construct from IOobject
staticFvMesh(const IOobject& io); staticFvMesh(const IOobject& io);
//- Disallow default bitwise copy construction
staticFvMesh(const staticFvMesh&) = delete;
//- Destructor //- Destructor
~staticFvMesh(); ~staticFvMesh();
@ -85,6 +79,12 @@ public:
//- Dummy update function which does not change the mesh //- Dummy update function which does not change the mesh
virtual bool update(); virtual bool update();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const staticFvMesh&) = delete;
}; };

View File

@ -107,12 +107,6 @@ class attachDetach
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
attachDetach(const attachDetach&) = delete;
//- Disallow default bitwise assignment
void operator=(const attachDetach&) = delete;
//- Check validity of construction data //- Check validity of construction data
void checkDefinition(); void checkDefinition();
@ -170,6 +164,9 @@ public:
const polyTopoChanger& mesh const polyTopoChanger& mesh
); );
//- Disallow default bitwise copy construction
attachDetach(const attachDetach&) = delete;
//- Destructor //- Destructor
virtual ~attachDetach(); virtual ~attachDetach();
@ -225,12 +222,17 @@ public:
return triggerTimes_; return triggerTimes_;
} }
//- Write //- Write
virtual void write(Ostream&) const; virtual void write(Ostream&) const;
//- Write dictionary //- Write dictionary
virtual void writeDict(Ostream&) const; virtual void writeDict(Ostream&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const attachDetach&) = delete;
}; };

View File

@ -172,13 +172,6 @@ class boundaryMesh
) const; ) const;
//- Disallow default bitwise copy construction
boundaryMesh(const boundaryMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const boundaryMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -190,6 +183,9 @@ public:
//- Construct null //- Construct null
boundaryMesh(); boundaryMesh();
//- Disallow default bitwise copy construction
boundaryMesh(const boundaryMesh&) = delete;
//- Destructor //- Destructor
~boundaryMesh(); ~boundaryMesh();
@ -381,6 +377,12 @@ public:
const label facei, const label facei,
boolList& visited boolList& visited
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const boundaryMesh&) = delete;
}; };

View File

@ -96,13 +96,6 @@ class createShellMesh
); );
//- Disallow default bitwise copy construction
createShellMesh(const createShellMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const createShellMesh&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -119,6 +112,9 @@ public:
const labelList& regionPoints const labelList& regionPoints
); );
//- Disallow default bitwise copy construction
createShellMesh(const createShellMesh&) = delete;
// Member Functions // Member Functions
@ -149,6 +145,10 @@ public:
return faceToEdgeMap_; return faceToEdgeMap_;
} }
//- Disallow default bitwise assignment
void operator=(const createShellMesh&) = delete;
//- From region point to patch point. //- From region point to patch point.
const labelList& pointToPointMap() const const labelList& pointToPointMap() const
{ {
@ -191,6 +191,9 @@ public:
polyTopoChange& meshMod polyTopoChange& meshMod
); );
// Member Operators
//- Update any locally stored mesh information. //- Update any locally stored mesh information.
void updateMesh(const mapPolyMesh&); void updateMesh(const mapPolyMesh&);
}; };

View File

@ -328,11 +328,6 @@ class fvMeshDistribute
const dictionary& fieldDicts const dictionary& fieldDicts
); );
//- Disallow default bitwise copy construction
fvMeshDistribute(const fvMeshDistribute&) = delete;
//- Disallow default bitwise assignment
void operator=(const fvMeshDistribute&) = delete;
public: public:
@ -344,6 +339,9 @@ public:
//- Construct from mesh and absolute merge tolerance //- Construct from mesh and absolute merge tolerance
fvMeshDistribute(fvMesh& mesh, const scalar mergeTol); fvMeshDistribute(fvMesh& mesh, const scalar mergeTol);
//- Disallow default bitwise copy construction
fvMeshDistribute(const fvMeshDistribute&) = delete;
// Member Functions // Member Functions
@ -372,6 +370,12 @@ public:
//- Print some info on mesh. //- Print some info on mesh.
static void printMeshInfo(const fvMesh&); static void printMeshInfo(const fvMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fvMeshDistribute&) = delete;
}; };

View File

@ -134,11 +134,6 @@ class fvMeshSubset
const label currentRegion const label currentRegion
) const; ) const;
//- Disallow default bitwise copy construction
fvMeshSubset(const fvMeshSubset&) = delete;
//- Disallow default bitwise assignment
void operator=(const fvMeshSubset&) = delete;
public: public:
@ -147,6 +142,9 @@ public:
//- Construct given a mesh to subset //- Construct given a mesh to subset
explicit fvMeshSubset(const fvMesh&); explicit fvMeshSubset(const fvMesh&);
//- Disallow default bitwise copy construction
fvMeshSubset(const fvMeshSubset&) = delete;
// Member Functions // Member Functions
@ -317,6 +315,12 @@ public:
template<class Type> template<class Type>
tmp<DimensionedField<Type, volMesh>> tmp<DimensionedField<Type, volMesh>>
interpolate(const DimensionedField<Type, volMesh>&) const; interpolate(const DimensionedField<Type, volMesh>&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fvMeshSubset&) = delete;
}; };

View File

@ -88,12 +88,6 @@ class layerAdditionRemoval
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
layerAdditionRemoval(const layerAdditionRemoval&) = delete;
//- Disallow default bitwise assignment
void operator=(const layerAdditionRemoval&) = delete;
//- Check validity of construction data //- Check validity of construction data
void checkDefinition(); void checkDefinition();
@ -170,6 +164,9 @@ public:
const polyTopoChanger& ptc const polyTopoChanger& ptc
); );
//- Disallow default bitwise copy construction
layerAdditionRemoval(const layerAdditionRemoval&) = delete;
//- Destructor //- Destructor
virtual ~layerAdditionRemoval(); virtual ~layerAdditionRemoval();
@ -217,6 +214,12 @@ public:
//- Write dictionary //- Write dictionary
virtual void writeDict(Ostream&) const; virtual void writeDict(Ostream&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const layerAdditionRemoval&) = delete;
}; };

View File

@ -450,13 +450,6 @@ class cellCuts
void check() const; void check() const;
//- Disallow default bitwise copy construction
cellCuts(const cellCuts&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellCuts&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -527,6 +520,9 @@ public:
const labelListList& cellAnchorPoints const labelListList& cellAnchorPoints
); );
//- Disallow default bitwise copy construction
cellCuts(const cellCuts&) = delete;
//- Destructor //- Destructor
~cellCuts(); ~cellCuts();
@ -631,6 +627,11 @@ public:
//- debugging:Write edges of cell and loop //- debugging:Write edges of cell and loop
void writeCellOBJ(const fileName& dir, const label celli) const; void writeCellOBJ(const fileName& dir, const label celli) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellCuts&) = delete;
}; };

View File

@ -104,17 +104,6 @@ protected:
label getMisAlignedEdge(const vector& refDir, const label celli) const; label getMisAlignedEdge(const vector& refDir, const label celli) const;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
cellLooper(const cellLooper&) = delete;
//- Disallow default bitwise assignment
void operator=(const cellLooper&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -141,6 +130,9 @@ public:
//- Construct from components //- Construct from components
cellLooper(const polyMesh& mesh); cellLooper(const polyMesh& mesh);
//- Disallow default bitwise copy construction
cellLooper(const cellLooper&) = delete;
//- Clone //- Clone
autoPtr<cellLooper> clone() const autoPtr<cellLooper> clone() const
{ {
@ -197,6 +189,11 @@ public:
scalarField& loopWeights scalarField& loopWeights
) const = 0; ) const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cellLooper&) = delete;
}; };

View File

@ -65,7 +65,6 @@ class geomCellLooper
: :
public cellLooper public cellLooper
{ {
// Static // Static
//- Tolerance for point equal test. Fraction of edge length. //- Tolerance for point equal test. Fraction of edge length.
@ -112,13 +111,6 @@ class geomCellLooper
bool edgeEndsCut(const labelList&, const label index) const; bool edgeEndsCut(const labelList&, const label index) const;
//- Disallow default bitwise copy construction
geomCellLooper(const geomCellLooper&) = delete;
//- Disallow default bitwise assignment
void operator=(const geomCellLooper&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -138,13 +130,14 @@ public:
} }
// Constructors // Constructors
//- Construct from components //- Construct from components
geomCellLooper(const polyMesh& mesh); geomCellLooper(const polyMesh& mesh);
//- Disallow default bitwise copy construction
geomCellLooper(const geomCellLooper&) = delete;
//- Destructor //- Destructor
virtual ~geomCellLooper(); virtual ~geomCellLooper();
@ -152,8 +145,6 @@ public:
// Member Functions // Member Functions
//- Create cut along circumference of celli. Gets current mesh cuts. //- Create cut along circumference of celli. Gets current mesh cuts.
// Cut along circumference is expressed as loop of cuts plus weights // Cut along circumference is expressed as loop of cuts plus weights
// for cuts along edges (only valid for edge cuts). // for cuts along edges (only valid for edge cuts).
@ -183,6 +174,12 @@ public:
labelList& loop, labelList& loop,
scalarField& loopWeights scalarField& loopWeights
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const geomCellLooper&) = delete;
}; };

View File

@ -97,13 +97,6 @@ private:
) const; ) const;
//- Disallow default bitwise copy construction
hexCellLooper(const hexCellLooper&) = delete;
//- Disallow default bitwise assignment
void operator=(const hexCellLooper&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -115,6 +108,9 @@ public:
//- Construct from components //- Construct from components
hexCellLooper(const polyMesh& mesh); hexCellLooper(const polyMesh& mesh);
//- Disallow default bitwise copy construction
hexCellLooper(const hexCellLooper&) = delete;
//- Destructor //- Destructor
virtual ~hexCellLooper(); virtual ~hexCellLooper();
@ -152,6 +148,12 @@ public:
labelList& loop, labelList& loop,
scalarField& loopWeights scalarField& loopWeights
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const hexCellLooper&) = delete;
}; };

View File

@ -144,13 +144,6 @@ class topoCellLooper
) const; ) const;
//- Disallow default bitwise copy construction
topoCellLooper(const topoCellLooper&) = delete;
//- Disallow default bitwise assignment
void operator=(const topoCellLooper&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -167,6 +160,9 @@ public:
//- Construct from components //- Construct from components
topoCellLooper(const polyMesh& mesh); topoCellLooper(const polyMesh& mesh);
//- Disallow default bitwise copy construction
topoCellLooper(const topoCellLooper&) = delete;
//- Destructor //- Destructor
virtual ~topoCellLooper(); virtual ~topoCellLooper();
@ -203,6 +199,12 @@ public:
labelList& loop, labelList& loop,
scalarField& loopWeights scalarField& loopWeights
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const topoCellLooper&) = delete;
}; };

View File

@ -126,12 +126,6 @@ private:
const vector& defaultDir const vector& defaultDir
); );
//- Disallow default bitwise copy construction
directions(const directions&) = delete;
//- Disallow default bitwise assignment
void operator=(const directions&) = delete;
public: public:
@ -144,6 +138,15 @@ public:
const dictionary& dict, const dictionary& dict,
const twoDPointCorrector* correct2DPtr = nullptr const twoDPointCorrector* correct2DPtr = nullptr
); );
//- Disallow default bitwise copy construction
directions(const directions&) = delete;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const directions&) = delete;
}; };

View File

@ -58,14 +58,6 @@ class edgeVertex
// here saves storing reference at higher levels where we do need it) // here saves storing reference at higher levels where we do need it)
const polyMesh& mesh_; const polyMesh& mesh_;
// Private Member Functions
//- Disallow default bitwise copy construction
edgeVertex(const edgeVertex&) = delete;
//- Disallow default bitwise assignment
void operator=(const edgeVertex&) = delete;
public: public:
@ -93,6 +85,9 @@ public:
mesh_(mesh) mesh_(mesh)
{} {}
//- Disallow default bitwise copy construction
edgeVertex(const edgeVertex&) = delete;
// Member Functions // Member Functions
@ -215,8 +210,18 @@ public:
Ostream& writeCut(Ostream& os, const label cut, const scalar) const; Ostream& writeCut(Ostream& os, const label cut, const scalar) const;
//- Write cut descriptions to Ostream //- Write cut descriptions to Ostream
Ostream& writeCuts(Ostream& os, const labelList&, const scalarField&) Ostream& writeCuts
const; (
Ostream& os,
const labelList&,
const scalarField&
) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const edgeVertex&) = delete;
}; };

View File

@ -111,12 +111,6 @@ class boundaryCutter
) const; ) const;
//- Disallow default bitwise copy construction
boundaryCutter(const boundaryCutter&) = delete;
//- Disallow default bitwise assignment
void operator=(const boundaryCutter&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -127,6 +121,9 @@ public:
//- Construct from mesh //- Construct from mesh
boundaryCutter(const polyMesh& mesh); boundaryCutter(const polyMesh& mesh);
//- Disallow default bitwise copy construction
boundaryCutter(const boundaryCutter&) = delete;
//- Destructor //- Destructor
~boundaryCutter(); ~boundaryCutter();
@ -171,6 +168,11 @@ public:
return faceAddedPoint_; return faceAddedPoint_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const boundaryCutter&) = delete;
}; };

View File

@ -174,13 +174,6 @@ class meshCutAndRemove
) const; ) const;
//- Disallow default bitwise copy construction
meshCutAndRemove(const meshCutAndRemove&) = delete;
//- Disallow default bitwise assignment
void operator=(const meshCutAndRemove&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -192,6 +185,9 @@ public:
//- Construct from mesh //- Construct from mesh
meshCutAndRemove(const polyMesh& mesh); meshCutAndRemove(const polyMesh& mesh);
//- Disallow default bitwise copy construction
meshCutAndRemove(const meshCutAndRemove&) = delete;
// Member Functions // Member Functions
@ -229,6 +225,12 @@ public:
{ {
return addedPoints_; return addedPoints_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const meshCutAndRemove&) = delete;
}; };

View File

@ -256,14 +256,6 @@ class meshCutter
) const; ) const;
//- Disallow default bitwise copy construction
meshCutter(const meshCutter&) = delete;
//- Disallow default bitwise assignment
void operator=(const meshCutter&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -275,6 +267,9 @@ public:
//- Construct from mesh //- Construct from mesh
meshCutter(const polyMesh& mesh); meshCutter(const polyMesh& mesh);
//- Disallow default bitwise copy construction
meshCutter(const meshCutter&) = delete;
//- Destructor //- Destructor
~meshCutter(); ~meshCutter();
@ -311,6 +306,12 @@ public:
{ {
return addedPoints_; return addedPoints_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const meshCutter&) = delete;
}; };

View File

@ -138,13 +138,6 @@ class multiDirRefinement
); );
//- Disallow default bitwise copy construction
multiDirRefinement(const multiDirRefinement&) = delete;
//- Disallow default bitwise assignment
void operator=(const multiDirRefinement&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -184,6 +177,9 @@ public:
const bool writeMesh = false // write intermediate meshes const bool writeMesh = false // write intermediate meshes
); );
//- Disallow default bitwise copy construction
multiDirRefinement(const multiDirRefinement&) = delete;
// Member Functions // Member Functions
@ -192,6 +188,12 @@ public:
{ {
return addedCells_; return addedCells_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const multiDirRefinement&) = delete;
}; };

View File

@ -128,13 +128,6 @@ class undoableMeshCutter
static void updateLabels(const labelList& map, Map<splitCell*>&); static void updateLabels(const labelList& map, Map<splitCell*>&);
//- Disallow default bitwise copy construction
undoableMeshCutter(const undoableMeshCutter&) = delete;
//- Disallow default bitwise assignment
void operator=(const undoableMeshCutter&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -148,6 +141,9 @@ public:
// to be stored. // to be stored.
undoableMeshCutter(const polyMesh& mesh, const bool undoable = true); undoableMeshCutter(const polyMesh& mesh, const bool undoable = true);
//- Disallow default bitwise copy construction
undoableMeshCutter(const undoableMeshCutter&) = delete;
//- Destructor //- Destructor
~undoableMeshCutter(); ~undoableMeshCutter();
@ -199,6 +195,12 @@ public:
const labelList& splitFaces, const labelList& splitFaces,
polyTopoChange& polyTopoChange&
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const undoableMeshCutter&) = delete;
}; };

View File

@ -66,15 +66,6 @@ class splitCell
splitCell* slave_; splitCell* slave_;
// Private Member Functions
//- Disallow default bitwise copy construction
splitCell(const splitCell&) = delete;
//- Disallow default bitwise assignment
void operator=(const splitCell&) = delete;
public: public:
// Constructors // Constructors
@ -82,6 +73,9 @@ public:
//- Construct from cell number and parent //- Construct from cell number and parent
splitCell(const label celli, splitCell* parent); splitCell(const label celli, splitCell* parent);
//- Disallow default bitwise copy construction
splitCell(const splitCell&) = delete;
//- Destructor //- Destructor
~splitCell(); ~splitCell();
@ -139,6 +133,12 @@ public:
//- Returns other half of split cell. I.e. slave if this is master. //- Returns other half of split cell. I.e. slave if this is master.
splitCell* getOther() const; splitCell* getOther() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const splitCell&) = delete;
}; };

View File

@ -283,12 +283,6 @@ class motionSmootherAlgo
PackedBoolList& isAffectedPoint PackedBoolList& isAffectedPoint
) const; ) const;
//- Disallow default bitwise copy construction
motionSmootherAlgo(const motionSmootherAlgo&) = delete;
//- Disallow default bitwise assignment
void operator=(const motionSmootherAlgo&) = delete;
public: public:
@ -309,6 +303,9 @@ public:
const dictionary& paramDict const dictionary& paramDict
); );
//- Disallow default bitwise copy construction
motionSmootherAlgo(const motionSmootherAlgo&) = delete;
//- Destructor //- Destructor
~motionSmootherAlgo(); ~motionSmootherAlgo();
@ -499,6 +496,12 @@ public:
const scalarField& edgeWeight, const scalarField& edgeWeight,
GeometricField<Type, pointPatchField, pointMesh>& newFld GeometricField<Type, pointPatchField, pointMesh>& newFld
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const motionSmootherAlgo&) = delete;
}; };
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -80,15 +80,6 @@ private:
//- Return the component corresponding to the given component name //- Return the component corresponding to the given component name
direction cmpt(const word& cmptName) const; direction cmpt(const word& cmptName) const;
//- Disallow default bitwise copy construction
componentDisplacementMotionSolver
(
const componentDisplacementMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const componentDisplacementMotionSolver&) = delete;
public: public:
@ -106,6 +97,12 @@ public:
const word& type const word& type
); );
//- Disallow default bitwise copy construction
componentDisplacementMotionSolver
(
const componentDisplacementMotionSolver&
);
//- Destructor //- Destructor
virtual ~componentDisplacementMotionSolver(); virtual ~componentDisplacementMotionSolver();
@ -130,6 +127,12 @@ public:
//- Update local data for topology changes //- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&); virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const componentDisplacementMotionSolver&) = delete;
}; };

View File

@ -77,15 +77,6 @@ private:
//- Return the component corresponding to the given component name //- Return the component corresponding to the given component name
direction cmpt(const word& cmptName) const; direction cmpt(const word& cmptName) const;
//- Disallow default bitwise copy construction
componentVelocityMotionSolver
(
const componentVelocityMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const componentVelocityMotionSolver&) = delete;
public: public:
@ -103,6 +94,12 @@ public:
const word& type const word& type
); );
//- Disallow default bitwise copy construction
componentVelocityMotionSolver
(
const componentVelocityMotionSolver&
);
//- Destructor //- Destructor
virtual ~componentVelocityMotionSolver(); virtual ~componentVelocityMotionSolver();
@ -122,6 +119,12 @@ public:
//- Update local data for topology changes //- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&); virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const componentVelocityMotionSolver&) = delete;
}; };

View File

@ -61,16 +61,6 @@ protected:
mutable pointVectorField pointDisplacement_; mutable pointVectorField pointDisplacement_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
displacementMotionSolver(const displacementMotionSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const displacementMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -87,6 +77,9 @@ public:
const word& type const word& type
); );
//- Disallow default bitwise copy construction
displacementMotionSolver(const displacementMotionSolver&) = delete;
//- Destructor //- Destructor
virtual ~displacementMotionSolver(); virtual ~displacementMotionSolver();
@ -105,6 +98,12 @@ public:
{ {
return pointDisplacement_; return pointDisplacement_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const displacementMotionSolver&) = delete;
}; };

View File

@ -84,18 +84,6 @@ class displacementInterpolationMotionSolver
FixedList<List<scalarField>, 3> rangeToWeights_; FixedList<List<scalarField>, 3> rangeToWeights_;
// Private Member Functions
//- Disallow default bitwise copy construction
displacementInterpolationMotionSolver
(
const displacementInterpolationMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const displacementInterpolationMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -111,6 +99,12 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
displacementInterpolationMotionSolver
(
const displacementInterpolationMotionSolver&
);
//- Destructor //- Destructor
~displacementInterpolationMotionSolver(); ~displacementInterpolationMotionSolver();
@ -124,6 +118,12 @@ public:
//- Solve for motion //- Solve for motion
virtual void solve() virtual void solve()
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const displacementInterpolationMotionSolver&) = delete;
}; };

View File

@ -111,16 +111,6 @@ class displacementLayeredMotionMotionSolver
); );
//- Disallow default bitwise copy construction
displacementLayeredMotionMotionSolver
(
const displacementLayeredMotionMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const displacementLayeredMotionMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -136,6 +126,12 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
displacementLayeredMotionMotionSolver
(
const displacementLayeredMotionMotionSolver&
);
//- Destructor //- Destructor
~displacementLayeredMotionMotionSolver(); ~displacementLayeredMotionMotionSolver();
@ -151,6 +147,12 @@ public:
//- Update topology //- Update topology
virtual void updateMesh(const mapPolyMesh&); virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const displacementLayeredMotionMotionSolver&) = delete;
}; };

View File

@ -88,16 +88,6 @@ class displacementLinearMotionMotionSolver
autoPtr<Function1<scalar>> displacement_; autoPtr<Function1<scalar>> displacement_;
//- Disallow default bitwise copy construction
displacementLinearMotionMotionSolver
(
const displacementLinearMotionMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const displacementLinearMotionMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -113,6 +103,12 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
displacementLinearMotionMotionSolver
(
const displacementLinearMotionMotionSolver&
);
//- Destructor //- Destructor
~displacementLinearMotionMotionSolver(); ~displacementLinearMotionMotionSolver();
@ -126,6 +122,12 @@ public:
//- Solve for motion //- Solve for motion
virtual void solve() virtual void solve()
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const displacementLinearMotionMotionSolver&) = delete;
}; };

View File

@ -62,16 +62,6 @@ protected:
pointIOField points0_; pointIOField points0_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
points0MotionSolver(const points0MotionSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const points0MotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -88,6 +78,9 @@ public:
const word& type const word& type
); );
//- Disallow default bitwise copy construction
points0MotionSolver(const points0MotionSolver&) = delete;
//- Destructor //- Destructor
virtual ~points0MotionSolver(); virtual ~points0MotionSolver();
@ -112,6 +105,12 @@ public:
//- Update local data for topology changes //- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&); virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const points0MotionSolver&) = delete;
}; };

View File

@ -76,18 +76,6 @@ class interpolatingSolidBodyMotionSolver
pointScalarField scale_; pointScalarField scale_;
// Private Member Functions
//- Disallow default bitwise copy construction
interpolatingSolidBodyMotionSolver
(
const interpolatingSolidBodyMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const interpolatingSolidBodyMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -103,6 +91,12 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
interpolatingSolidBodyMotionSolver
(
const interpolatingSolidBodyMotionSolver&
);
//- Destructor //- Destructor
~interpolatingSolidBodyMotionSolver(); ~interpolatingSolidBodyMotionSolver();
@ -116,6 +110,12 @@ public:
//- Solve for motion //- Solve for motion
virtual void solve() virtual void solve()
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const interpolatingSolidBodyMotionSolver&) = delete;
}; };

View File

@ -64,15 +64,6 @@ class multiSolidBodyMotionSolver
labelListList pointIDs_; labelListList pointIDs_;
// Private Member Functions
//- Disallow default bitwise copy construction
multiSolidBodyMotionSolver(const multiSolidBodyMotionSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const multiSolidBodyMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -88,6 +79,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
multiSolidBodyMotionSolver(const multiSolidBodyMotionSolver&) = delete;
//- Destructor //- Destructor
~multiSolidBodyMotionSolver(); ~multiSolidBodyMotionSolver();
@ -101,6 +95,12 @@ public:
//- Solve for motion //- Solve for motion
virtual void solve() virtual void solve()
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const multiSolidBodyMotionSolver&) = delete;
}; };

View File

@ -94,15 +94,6 @@ class SDA
scalar dTp_; scalar dTp_;
// Private Member Functions
//- Disallow default bitwise copy construction
SDA(const SDA&);
//- Disallow default bitwise assignment
void operator=(const SDA&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -118,6 +109,10 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
SDA(const SDA&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -143,6 +138,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SDA&) = delete;
}; };

View File

@ -64,15 +64,6 @@ class axisRotationMotion
vector radialVelocity_; vector radialVelocity_;
// Private Member Functions
//- Disallow default bitwise copy construction
axisRotationMotion(const axisRotationMotion&);
//- Disallow default bitwise assignment
void operator=(const axisRotationMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -88,6 +79,9 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
axisRotationMotion(const axisRotationMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -113,6 +107,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const axisRotationMotion&) = delete;
}; };

View File

@ -60,15 +60,6 @@ class linearMotion
vector velocity_; vector velocity_;
// Private Member Functions
//- Disallow default bitwise copy construction
linearMotion(const linearMotion&);
//- Disallow default bitwise assignment
void operator=(const linearMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -84,6 +75,10 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
linearMotion(const linearMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -109,6 +104,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const linearMotion&) = delete;
}; };

View File

@ -60,15 +60,6 @@ class multiMotion
PtrList<solidBodyMotionFunction> SBMFs_; PtrList<solidBodyMotionFunction> SBMFs_;
// Private Member Functions
//- Disallow default bitwise copy construction
multiMotion(const multiMotion&);
//- Disallow default bitwise assignment
void operator=(const multiMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -84,6 +75,9 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
multiMotion(const multiMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -109,6 +103,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const multiMotion&) = delete;
}; };

View File

@ -63,15 +63,6 @@ class oscillatingLinearMotion
scalar omega_; scalar omega_;
// Private Member Functions
//- Disallow default bitwise copy construction
oscillatingLinearMotion(const oscillatingLinearMotion&);
//- Disallow default bitwise assignment
void operator=(const oscillatingLinearMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -87,6 +78,9 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
oscillatingLinearMotion(const oscillatingLinearMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -112,6 +106,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const oscillatingLinearMotion&) = delete;
}; };

View File

@ -66,15 +66,6 @@ class oscillatingRotatingMotion
scalar omega_; scalar omega_;
// Private Member Functions
//- Disallow default bitwise copy construction
oscillatingRotatingMotion(const oscillatingRotatingMotion&);
//- Disallow default bitwise assignment
void operator=(const oscillatingRotatingMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -90,6 +81,9 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
oscillatingRotatingMotion(const oscillatingRotatingMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -115,6 +109,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const oscillatingRotatingMotion&) = delete;
}; };

View File

@ -71,15 +71,6 @@ class rotatingMotion
autoPtr<Function1<scalar>> omega_; autoPtr<Function1<scalar>> omega_;
// Private Member Functions
//- Disallow default bitwise copy construction
rotatingMotion(const rotatingMotion&);
//- Disallow default bitwise assignment
void operator=(const rotatingMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -95,6 +86,10 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
rotatingMotion(const rotatingMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -120,6 +115,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const rotatingMotion&) = delete;
}; };

View File

@ -68,17 +68,6 @@ protected:
const Time& time_; const Time& time_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
solidBodyMotionFunction(const solidBodyMotionFunction&) = delete;
//- Disallow default bitwise assignment
void operator=(const solidBodyMotionFunction&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -106,6 +95,9 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
solidBodyMotionFunction(const solidBodyMotionFunction&) = delete;
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const = 0; virtual autoPtr<solidBodyMotionFunction> clone() const = 0;
@ -134,6 +126,12 @@ public:
//- Write in dictionary format //- Write in dictionary format
virtual void writeData(Ostream&) const; virtual void writeData(Ostream&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const solidBodyMotionFunction&) = delete;
}; };

View File

@ -76,15 +76,6 @@ class tabulated6DoFMotion
Field<translationRotationVectors> values_; Field<translationRotationVectors> values_;
// Private Member Functions
//- Disallow default bitwise copy construction
tabulated6DoFMotion(const tabulated6DoFMotion&);
//- Disallow default bitwise assignment
void operator=(const tabulated6DoFMotion&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -100,6 +91,10 @@ public:
const Time& runTime const Time& runTime
); );
//- Disallow default bitwise copy construction
tabulated6DoFMotion(const tabulated6DoFMotion&);
//- Construct and return a clone //- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const virtual autoPtr<solidBodyMotionFunction> clone() const
{ {
@ -125,6 +120,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& SBMFCoeffs); virtual bool read(const dictionary& SBMFCoeffs);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const tabulated6DoFMotion&) = delete;
}; };

View File

@ -64,15 +64,6 @@ class solidBodyMotionSolver
bool moveAllCells_; bool moveAllCells_;
// Private Member Functions
//- Disallow default bitwise copy construction
solidBodyMotionSolver(const solidBodyMotionSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const solidBodyMotionSolver&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -88,6 +79,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
solidBodyMotionSolver(const solidBodyMotionSolver&) = delete;
//- Destructor //- Destructor
~solidBodyMotionSolver(); ~solidBodyMotionSolver();
@ -101,6 +95,12 @@ public:
//- Solve for motion //- Solve for motion
virtual void solve() virtual void solve()
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const solidBodyMotionSolver&) = delete;
}; };

View File

@ -59,15 +59,6 @@ class motionSolverList
PtrList<motionSolver> motionSolvers_; PtrList<motionSolver> motionSolvers_;
// Private Member Functions
//- Disallow default bitwise copy construction
motionSolverList(const motionSolverList&) = delete;
//- Disallow default bitwise assignment
void operator=(const motionSolverList&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -79,6 +70,9 @@ public:
//- Construct from mesh and dictionary //- Construct from mesh and dictionary
motionSolverList(const polyMesh&, const dictionary&); motionSolverList(const polyMesh&, const dictionary&);
//- Disallow default bitwise copy construction
motionSolverList(const motionSolverList&) = delete;
//- Destructor //- Destructor
virtual ~motionSolverList(); virtual ~motionSolverList();
@ -97,6 +91,12 @@ public:
//- Update local data for topology changes //- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&); virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const motionSolverList&) = delete;
}; };

View File

@ -63,18 +63,6 @@ protected:
//- Point motion field //- Point motion field
mutable pointVectorField pointMotionU_; mutable pointVectorField pointMotionU_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
velocityMotionSolver
(
const velocityMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const velocityMotionSolver&) = delete;
public: public:
@ -92,6 +80,12 @@ public:
const word& type const word& type
); );
//- Disallow default bitwise copy construction
velocityMotionSolver
(
const velocityMotionSolver&
);
//- Destructor //- Destructor
virtual ~velocityMotionSolver(); virtual ~velocityMotionSolver();
@ -116,6 +110,12 @@ public:
//- Update local data for topology changes //- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&); virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const velocityMotionSolver&) = delete;
}; };

View File

@ -78,13 +78,6 @@ class perfectInterface
static pointField calcFaceCentres(const indirectPrimitivePatch&); static pointField calcFaceCentres(const indirectPrimitivePatch&);
//- Disallow default bitwise copy construction
perfectInterface(const perfectInterface&) = delete;
//- Disallow default bitwise assignment
void operator=(const perfectInterface&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -113,6 +106,9 @@ public:
const polyTopoChanger& mme const polyTopoChanger& mme
); );
//- Disallow default bitwise copy construction
perfectInterface(const perfectInterface&) = delete;
//- Destructor //- Destructor
virtual ~perfectInterface(); virtual ~perfectInterface();
@ -150,6 +146,11 @@ public:
//- Write dictionary //- Write dictionary
virtual void writeDict(Ostream&) const; virtual void writeDict(Ostream&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const perfectInterface&) = delete;
}; };

View File

@ -64,15 +64,6 @@ class pointPatchDist
label nUnset_; label nUnset_;
// Private Member Functions
//- Disallow default bitwise copy construction
pointPatchDist(const pointPatchDist&) = delete;
//- Disallow default bitwise assignment
void operator=(const pointPatchDist&) = delete;
public: public:
// Constructors // Constructors
@ -85,6 +76,9 @@ public:
const pointField& points const pointField& points
); );
//- Disallow default bitwise copy construction
pointPatchDist(const pointPatchDist&) = delete;
//- Destructor //- Destructor
virtual ~pointPatchDist(); virtual ~pointPatchDist();
@ -104,6 +98,12 @@ public:
//- Correct for mesh geom/topo changes //- Correct for mesh geom/topo changes
void correct(); void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const pointPatchDist&) = delete;
}; };

View File

@ -186,12 +186,6 @@ class polyMeshFilter
labelList& origToCurrentPointMap labelList& origToCurrentPointMap
) const; ) const;
//- Disallow default bitwise copy construction
polyMeshFilter(const polyMeshFilter&) = delete;
//- Disallow default bitwise assignment
void operator=(const polyMeshFilter&) = delete;
public: public:
@ -215,6 +209,9 @@ public:
const dictionary& dict const dictionary& dict
); );
//- Disallow default bitwise copy construction
polyMeshFilter(const polyMeshFilter&) = delete;
//- Destructor //- Destructor
~polyMeshFilter(); ~polyMeshFilter();
@ -255,6 +252,12 @@ public:
//- Filter edges only. //- Filter edges only.
label filterEdges(const label nOriginalBadFaces); label filterEdges(const label nOriginalBadFaces);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const polyMeshFilter&) = delete;
}; };

View File

@ -61,17 +61,6 @@ class attachPolyTopoChanger
: :
public polyTopoChanger public polyTopoChanger
{ {
// Private Data
// Private Member Functions
//- Disallow default bitwise copy construction
attachPolyTopoChanger(const attachPolyTopoChanger&) = delete;
//- Disallow default bitwise assignment
void operator=(const attachPolyTopoChanger&) = delete;
public: public:
// Constructors // Constructors
@ -82,6 +71,9 @@ public:
//- Read constructor for given polyMesh //- Read constructor for given polyMesh
explicit attachPolyTopoChanger(polyMesh&); explicit attachPolyTopoChanger(polyMesh&);
//- Disallow default bitwise copy construction
attachPolyTopoChanger(const attachPolyTopoChanger&) = delete;
//- Destructor //- Destructor
virtual ~attachPolyTopoChanger() virtual ~attachPolyTopoChanger()
@ -92,6 +84,12 @@ public:
//- Attach mesh. By default filter out empty patches. //- Attach mesh. By default filter out empty patches.
void attach(const bool removeEmptyPatches = true); void attach(const bool removeEmptyPatches = true);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const attachPolyTopoChanger&) = delete;
}; };

View File

@ -84,15 +84,6 @@ class polyMeshModifier
mutable Switch active_; mutable Switch active_;
// Private Member Functions
//- Disallow default bitwise copy construction
polyMeshModifier(const polyMeshModifier&) = delete;
//- Disallow default bitwise assignment
void operator=(const polyMeshModifier&) = delete;
public: public:
// Static Data Members // Static Data Members
@ -129,6 +120,9 @@ public:
const bool act const bool act
); );
//- Disallow default bitwise copy construction
polyMeshModifier(const polyMeshModifier&) = delete;
// Selectors // Selectors
@ -203,6 +197,12 @@ public:
virtual void writeDict(Ostream&) const = 0; virtual void writeDict(Ostream&) const = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const polyMeshModifier&) = delete;
// Ostream Operator // Ostream Operator
friend Ostream& operator<<(Ostream&, const polyMeshModifier&); friend Ostream& operator<<(Ostream&, const polyMeshModifier&);

View File

@ -243,12 +243,6 @@ class addPatchCellLayer
bool& bool&
); );
//- Disallow default bitwise copy construction
addPatchCellLayer(const addPatchCellLayer&) = delete;
//- Disallow default bitwise assignment
void operator=(const addPatchCellLayer&) = delete;
public: public:
@ -261,6 +255,9 @@ public:
//- Construct from mesh. //- Construct from mesh.
addPatchCellLayer(const polyMesh&, const bool addToMesh = true); addPatchCellLayer(const polyMesh&, const bool addToMesh = true);
//- Disallow default bitwise copy construction
addPatchCellLayer(const addPatchCellLayer&) = delete;
// Member Functions // Member Functions
@ -393,6 +390,12 @@ public:
const labelList& faceMap, // new to old patch faces const labelList& faceMap, // new to old patch faces
const labelList& pointMap // new to old patch points const labelList& pointMap // new to old patch points
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const addPatchCellLayer&) = delete;
}; };

View File

@ -115,13 +115,6 @@ class combineFaces
) const; ) const;
//- Disallow default bitwise copy construction
combineFaces(const combineFaces&) = delete;
//- Disallow default bitwise assignment
void operator=(const combineFaces&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -133,6 +126,9 @@ public:
//- Construct from mesh //- Construct from mesh
combineFaces(const polyMesh& mesh, const bool undoable = false); combineFaces(const polyMesh& mesh, const bool undoable = false);
//- Disallow default bitwise copy construction
combineFaces(const combineFaces&) = delete;
// Member Functions // Member Functions
@ -215,6 +211,12 @@ public:
Map<label>& restoredFaces, Map<label>& restoredFaces,
Map<label>& restoredCells Map<label>& restoredCells
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const combineFaces&) = delete;
}; };

View File

@ -68,14 +68,6 @@ class duplicatePoints
labelListList duplicates_; labelListList duplicates_;
// Private Member Functions
//- Disallow default bitwise copy construction
duplicatePoints(const duplicatePoints&) = delete;
//- Disallow default bitwise assignment
void operator=(const duplicatePoints&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -87,6 +79,9 @@ public:
//- Construct from mesh //- Construct from mesh
duplicatePoints(const polyMesh& mesh); duplicatePoints(const polyMesh& mesh);
//- Disallow default bitwise copy construction
duplicatePoints(const duplicatePoints&) = delete;
// Member Functions // Member Functions
@ -112,6 +107,12 @@ public:
//- Force recalculation of locally stored data on topological change //- Force recalculation of locally stored data on topological change
void updateMesh(const mapPolyMesh&); void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const duplicatePoints&) = delete;
}; };

View File

@ -235,12 +235,6 @@ private:
face& f face& f
) const; ) const;
//- Disallow default bitwise copy construction
edgeCollapser(const edgeCollapser&) = delete;
//- Disallow default bitwise assignment
void operator=(const edgeCollapser&) = delete;
public: public:
@ -256,6 +250,9 @@ public:
//- Construct from mesh and dict //- Construct from mesh and dict
edgeCollapser(const polyMesh& mesh, const dictionary& dict); edgeCollapser(const polyMesh& mesh, const dictionary& dict);
//- Disallow default bitwise copy construction
edgeCollapser(const edgeCollapser&) = delete;
// Member Functions // Member Functions
@ -343,6 +340,12 @@ public:
PackedBoolList& collapseEdge, PackedBoolList& collapseEdge,
Map<point>& collapsePointToLocation Map<point>& collapsePointToLocation
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const edgeCollapser&) = delete;
}; };

View File

@ -112,13 +112,6 @@ class faceCollapser
) const; ) const;
//- Disallow default bitwise copy construction
faceCollapser(const faceCollapser&) = delete;
//- Disallow default bitwise assignment
void operator=(const faceCollapser&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -130,6 +123,9 @@ public:
//- Construct from mesh. //- Construct from mesh.
faceCollapser(const polyMesh& mesh); faceCollapser(const polyMesh& mesh);
//- Disallow default bitwise copy construction
faceCollapser(const faceCollapser&) = delete;
// Member Functions // Member Functions
@ -148,6 +144,12 @@ public:
//- Update stored quantities for new mesh labels. //- Update stored quantities for new mesh labels.
void updateMesh(const mapPolyMesh&) void updateMesh(const mapPolyMesh&)
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const faceCollapser&) = delete;
}; };

View File

@ -336,13 +336,6 @@ class hexRef8
) const; ) const;
//- Disallow default bitwise copy construction
hexRef8(const hexRef8&) = delete;
//- Disallow default bitwise assignment
void operator=(const hexRef8&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -377,6 +370,9 @@ public:
const scalar level0Edge = -great const scalar level0Edge = -great
); );
//- Disallow default bitwise copy construction
hexRef8(const hexRef8&) = delete;
// Member Functions // Member Functions
@ -568,6 +564,11 @@ public:
//- Force writing refinement+history to polyMesh directory. //- Force writing refinement+history to polyMesh directory.
bool write(const bool write = true) const; bool write(const bool write = true) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const hexRef8&) = delete;
}; };

View File

@ -71,15 +71,6 @@ private:
autoPtr<refinementHistory> refHistoryPtr_; autoPtr<refinementHistory> refHistoryPtr_;
// Private Member Functions
//- Disallow default bitwise copy construction
hexRef8Data(const hexRef8Data&) = delete;
//- Disallow default bitwise assignment
void operator=(const hexRef8Data&) = delete;
public: public:
// Constructors // Constructors
@ -106,6 +97,9 @@ public:
const UPtrList<const hexRef8Data>& const UPtrList<const hexRef8Data>&
); );
//- Disallow default bitwise copy construction
hexRef8Data(const hexRef8Data&) = delete;
//- Destructor //- Destructor
~hexRef8Data(); ~hexRef8Data();
@ -125,6 +119,12 @@ public:
//- Write //- Write
bool write() const; bool write() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const hexRef8Data&) = delete;
}; };

View File

@ -155,14 +155,6 @@ class removeFaces
) const; ) const;
//- Disallow default bitwise copy construction
removeFaces(const removeFaces&) = delete;
//- Disallow default bitwise assignment
void operator=(const removeFaces&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -176,6 +168,10 @@ public:
// and always merge (if on same patch) // and always merge (if on same patch)
removeFaces(const polyMesh&, const scalar minCos); removeFaces(const polyMesh&, const scalar minCos);
//- Disallow default bitwise copy construction
removeFaces(const removeFaces&) = delete;
// Member Functions // Member Functions
//- Find faces including those with cells which have the same mastercell //- Find faces including those with cells which have the same mastercell
@ -211,6 +207,12 @@ public:
//- Force recalculation of locally stored data for mesh distribution //- Force recalculation of locally stored data for mesh distribution
void distribute(const mapDistributePolyMesh&) void distribute(const mapDistributePolyMesh&)
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const removeFaces&) = delete;
}; };

View File

@ -90,12 +90,6 @@ class removePoints
) const; ) const;
//- Disallow default bitwise copy construction
removePoints(const removePoints&) = delete;
//- Disallow default bitwise assignment
void operator=(const removePoints&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -107,6 +101,9 @@ public:
//- Construct from mesh //- Construct from mesh
removePoints(const polyMesh& mesh, const bool undoable = false); removePoints(const polyMesh& mesh, const bool undoable = false);
//- Disallow default bitwise copy construction
removePoints(const removePoints&) = delete;
// Member Functions // Member Functions
@ -166,6 +163,12 @@ public:
const labelList& localPoints, const labelList& localPoints,
polyTopoChange& polyTopoChange&
); );
// Member Operators
//- Disallow default bitwise assignment
void operator=(const removePoints&) = delete;
}; };

View File

@ -126,12 +126,6 @@ private:
//- Work out triangle index given the starting vertex in the face //- Work out triangle index given the starting vertex in the face
label triIndex(const label facei, const label fp) const; label triIndex(const label facei, const label fp) const;
//- Disallow default bitwise copy construction
tetDecomposer(const tetDecomposer&) = delete;
//- Disallow default bitwise assignment
void operator=(const tetDecomposer&) = delete;
public: public:
@ -144,6 +138,9 @@ public:
//- Construct from mesh //- Construct from mesh
tetDecomposer(const polyMesh&); tetDecomposer(const polyMesh&);
//- Disallow default bitwise copy construction
tetDecomposer(const tetDecomposer&) = delete;
// Member Functions // Member Functions
@ -189,6 +186,12 @@ public:
//- Force recalculation of locally stored data on topological change //- Force recalculation of locally stored data on topological change
void updateMesh(const mapPolyMesh&); void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const tetDecomposer&) = delete;
}; };

View File

@ -69,12 +69,6 @@ class polyTopoChanger
{ {
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
polyTopoChanger(const polyTopoChanger&) = delete;
//- Disallow default bitwise assignment
void operator=(const polyTopoChanger&) = delete;
void readModifiers(); void readModifiers();
@ -99,6 +93,9 @@ public:
//- Read constructor for given polyMesh //- Read constructor for given polyMesh
explicit polyTopoChanger(polyMesh&); explicit polyTopoChanger(polyMesh&);
//- Disallow default bitwise copy construction
polyTopoChanger(const polyTopoChanger&) = delete;
//- Destructor //- Destructor
virtual ~polyTopoChanger() virtual ~polyTopoChanger()
@ -152,6 +149,9 @@ public:
// Member Operators // Member Operators
//- Disallow default bitwise assignment
void operator=(const polyTopoChanger&) = delete;
bool operator!=(const polyTopoChanger&) const; bool operator!=(const polyTopoChanger&) const;
bool operator==(const polyTopoChanger&) const; bool operator==(const polyTopoChanger&) const;

View File

@ -65,12 +65,6 @@ class repatchPolyTopoChanger
//- Demand driven access to polyTopoChange //- Demand driven access to polyTopoChange
polyTopoChange& meshMod(); polyTopoChange& meshMod();
//- Disallow default bitwise copy construction
repatchPolyTopoChanger(const repatchPolyTopoChanger&) = delete;
//- Disallow default bitwise assignment
void operator=(const repatchPolyTopoChanger&) = delete;
public: public:
@ -79,6 +73,9 @@ public:
//- Construct for given mesh //- Construct for given mesh
explicit repatchPolyTopoChanger(polyMesh& mesh); explicit repatchPolyTopoChanger(polyMesh& mesh);
//- Disallow default bitwise copy construction
repatchPolyTopoChanger(const repatchPolyTopoChanger&) = delete;
//- Destructor //- Destructor
virtual ~repatchPolyTopoChanger() virtual ~repatchPolyTopoChanger()
@ -113,9 +110,14 @@ public:
const label fp const label fp
); );
//- Re-patch the mesh //- Re-patch the mesh
void repatch(); void repatch();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const repatchPolyTopoChanger&) = delete;
}; };

View File

@ -58,12 +58,6 @@ class setUpdater
template<class Type> template<class Type>
void updateSets(const mapPolyMesh& morphMap) const; void updateSets(const mapPolyMesh& morphMap) const;
//- Disallow default bitwise copy construction
setUpdater(const setUpdater&) = delete;
//- Disallow default bitwise assignment
void operator=(const setUpdater&) = delete;
public: public:
@ -82,6 +76,9 @@ public:
const polyTopoChanger& mme const polyTopoChanger& mme
); );
//- Disallow default bitwise copy construction
setUpdater(const setUpdater&) = delete;
//- Destructor //- Destructor
virtual ~setUpdater(); virtual ~setUpdater();
@ -107,6 +104,12 @@ public:
//- Write dictionary //- Write dictionary
virtual void writeDict(Ostream&) const; virtual void writeDict(Ostream&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const setUpdater&) = delete;
}; };

View File

@ -133,12 +133,6 @@ class enrichedPatch
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
enrichedPatch(const enrichedPatch&) = delete;
//- Disallow default bitwise assignment
void operator=(const enrichedPatch&) = delete;
// Creation of demand-driven private data // Creation of demand-driven private data
//- Calculate point merge map //- Calculate point merge map
@ -204,6 +198,9 @@ public:
// master face snapped to // master face snapped to
); );
//- Disallow default bitwise copy construction
enrichedPatch(const enrichedPatch&) = delete;
//- Destructor //- Destructor
~enrichedPatch(); ~enrichedPatch();
@ -279,6 +276,12 @@ public:
//- Debugging: dump graphical representation to obj format file //- Debugging: dump graphical representation to obj format file
void writeOBJ(const fileName&) const; void writeOBJ(const fileName&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const enrichedPatch&) = delete;
}; };

View File

@ -209,12 +209,6 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
slidingInterface(const slidingInterface&) = delete;
//- Disallow default bitwise assignment
void operator=(const slidingInterface&) = delete;
//- Clear out //- Clear out
void clearOut() const; void clearOut() const;
@ -338,6 +332,9 @@ public:
const polyTopoChanger& mme const polyTopoChanger& mme
); );
//- Disallow default bitwise copy construction
slidingInterface(const slidingInterface&) = delete;
//- Destructor //- Destructor
virtual ~slidingInterface(); virtual ~slidingInterface();
@ -381,6 +378,12 @@ public:
//- Write dictionary //- Write dictionary
virtual void writeDict(Ostream&) const; virtual void writeDict(Ostream&) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const slidingInterface&) = delete;
}; };