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

This commit is contained in:
Henry Weller
2019-06-19 15:01:35 +01:00
parent 4d297126d9
commit 213319ae30
165 changed files with 933 additions and 772 deletions

View File

@ -94,7 +94,7 @@ class basicSubGrid
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
basicSubGrid(const basicSubGrid&); basicSubGrid(const basicSubGrid&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -82,7 +82,7 @@ class basicSubGrid
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
basicSubGrid(const basicSubGrid&); basicSubGrid(const basicSubGrid&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -74,7 +74,7 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
PDRDragModel(const PDRDragModel&); PDRDragModel(const PDRDragModel&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -108,7 +108,7 @@ class basic
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
basic(const basic&); basic(const basic&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -70,7 +70,7 @@ class Gulder
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
Gulder(const Gulder&); Gulder(const Gulder&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -66,7 +66,7 @@ class SCOPEBlend
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
SCOPEBlend(const SCOPEBlend&); SCOPEBlend(const SCOPEBlend&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -84,7 +84,7 @@ class SCOPEXiEq
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
SCOPEXiEq(const SCOPEXiEq&); SCOPEXiEq(const SCOPEXiEq&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -79,7 +79,7 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
XiEqModel(const XiEqModel&); XiEqModel(const XiEqModel&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -65,7 +65,7 @@ class instability
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
instability(const instability&); instability(const instability&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -60,7 +60,7 @@ class KTS
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
KTS(const KTS&); KTS(const KTS&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -70,7 +70,7 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
XiGModel(const XiGModel&); XiGModel(const XiGModel&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -69,7 +69,7 @@ class instabilityG
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
instabilityG(const instabilityG&); instabilityG(const instabilityG&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -130,7 +130,7 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
XiModel(const XiModel&); XiModel(const XiModel&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -67,7 +67,7 @@ class algebraic
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
algebraic(const algebraic&); algebraic(const algebraic&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -55,7 +55,7 @@ class fixed
{ {
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
fixed(const fixed&); fixed(const fixed&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -67,7 +67,7 @@ class transport
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
transport(const transport&); transport(const transport&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -73,7 +73,7 @@ protected:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
mixtureViscosityModel(const mixtureViscosityModel&); mixtureViscosityModel(const mixtureViscosityModel&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -73,12 +73,6 @@ class threePhaseInterfaceProperties
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
threePhaseInterfaceProperties
(
const threePhaseInterfaceProperties&
) = delete;
//- Correction for the boundary condition on the unit normal nHat on //- Correction for the boundary condition on the unit normal nHat on
// walls to produce the correct contact dynamic angle. // walls to produce the correct contact dynamic angle.
// Calculated from the component of U parallel to the wall // Calculated from the component of U parallel to the wall
@ -105,6 +99,12 @@ public:
const incompressibleThreePhaseMixture& mixture const incompressibleThreePhaseMixture& mixture
); );
//- Disallow default bitwise copy construction
threePhaseInterfaceProperties
(
const threePhaseInterfaceProperties&
) = delete;
// Member Functions // Member Functions

View File

@ -69,7 +69,7 @@ protected:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
phaseChangeTwoPhaseMixture(const phaseChangeTwoPhaseMixture&); phaseChangeTwoPhaseMixture(const phaseChangeTwoPhaseMixture&);
//- Disallow default bitwise assignment //- Disallow default bitwise assignment

View File

@ -159,12 +159,6 @@ class router
DynamicList<label>& route DynamicList<label>& route
) const; ) const;
//- Disallow default bitwise copy construction
router(const router&) = delete;
//- Disallow default bitwise assignment
void operator=(const router&) = delete;
public: public:
@ -177,6 +171,9 @@ public:
const List<point>& coords const List<point>& coords
); );
//- Disallow default bitwise copy construction
router(const router&) = delete;
// Member Functions // Member Functions
@ -197,6 +194,11 @@ public:
//- Extract labels of route with given value. //- Extract labels of route with given value.
labelList getRoute(const label pathValue) const; labelList getRoute(const label pathValue) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const router&) = delete;
}; };

View File

@ -67,15 +67,6 @@ class dimFieldDecomposer
const labelList& cellAddressing_; const labelList& cellAddressing_;
// Private Member Functions
//- Disallow default bitwise copy construction
dimFieldDecomposer(const dimFieldDecomposer&) = delete;
//- Disallow default bitwise assignment
void operator=(const dimFieldDecomposer&) = delete;
public: public:
// Constructors // Constructors
@ -89,6 +80,9 @@ public:
const labelList& cellAddressing const labelList& cellAddressing
); );
//- Disallow default bitwise copy construction
dimFieldDecomposer(const dimFieldDecomposer&) = delete;
//- Destructor //- Destructor
~dimFieldDecomposer(); ~dimFieldDecomposer();
@ -107,6 +101,12 @@ public:
//- Decompose llist of fields //- Decompose llist of fields
template<class GeoField> template<class GeoField>
void decomposeFields(const PtrList<GeoField>& fields) const; void decomposeFields(const PtrList<GeoField>& fields) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dimFieldDecomposer&) = delete;
}; };

View File

@ -66,15 +66,6 @@ class lagrangianFieldDecomposer
labelList particleIndices_; labelList particleIndices_;
// Private Member Functions
//- Disallow default bitwise copy construction
lagrangianFieldDecomposer(const lagrangianFieldDecomposer&) = delete;
//- Disallow default bitwise assignment
void operator=(const lagrangianFieldDecomposer&) = delete;
public: public:
// Constructors // Constructors
@ -91,6 +82,9 @@ public:
const List<SLList<indexedParticle*>*>& cellParticles const List<SLList<indexedParticle*>*>& cellParticles
); );
//- Disallow default bitwise copy construction
lagrangianFieldDecomposer(const lagrangianFieldDecomposer&) = delete;
// Member Functions // Member Functions
@ -144,6 +138,12 @@ public:
const word& cloudName, const word& cloudName,
const PtrList<GeoField>& fields const PtrList<GeoField>& fields
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const lagrangianFieldDecomposer&) = delete;
}; };

View File

@ -123,15 +123,6 @@ private:
List<patchFieldDecomposer*> patchFieldDecomposerPtrs_; List<patchFieldDecomposer*> patchFieldDecomposerPtrs_;
// Private Member Functions
//- Disallow default bitwise copy construction
pointFieldDecomposer(const pointFieldDecomposer&) = delete;
//- Disallow default bitwise assignment
void operator=(const pointFieldDecomposer&) = delete;
public: public:
// Constructors // Constructors
@ -145,6 +136,9 @@ public:
const labelList& boundaryAddressing const labelList& boundaryAddressing
); );
//- Disallow default bitwise copy construction
pointFieldDecomposer(const pointFieldDecomposer&) = delete;
//- Destructor //- Destructor
~pointFieldDecomposer(); ~pointFieldDecomposer();
@ -162,6 +156,12 @@ public:
template<class GeoField> template<class GeoField>
void decomposeFields(const PtrList<GeoField>& fields) const; void decomposeFields(const PtrList<GeoField>& fields) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const pointFieldDecomposer&) = delete;
}; };

View File

@ -56,15 +56,6 @@ class ensightAsciiStream
OFstream str_; OFstream str_;
// Private Member Functions
//- Disallow default bitwise copy construction
ensightAsciiStream(const ensightAsciiStream&) = delete;
//- Disallow default bitwise assignment
void operator=(const ensightAsciiStream&) = delete;
public: public:
// Constructors // Constructors
@ -86,6 +77,9 @@ public:
str_.precision(5); str_.precision(5);
} }
//- Disallow default bitwise copy construction
ensightAsciiStream(const ensightAsciiStream&) = delete;
//- Destructor //- Destructor
virtual ~ensightAsciiStream() virtual ~ensightAsciiStream()
@ -139,14 +133,11 @@ public:
<< setw(10) << partI << nl; << setw(10) << partI << nl;
} }
// Member Operators // Member Operators
// Friend Functions //- Disallow default bitwise assignment
void operator=(const ensightAsciiStream&) = delete;
// Friend Operators
// IOstream Operators
}; };

View File

@ -55,15 +55,6 @@ class ensightBinaryStream
autoPtr<std::ofstream> str_; autoPtr<std::ofstream> str_;
// Private Member Functions
//- Disallow default bitwise copy construction
ensightBinaryStream(const ensightBinaryStream&) = delete;
//- Disallow default bitwise assignment
void operator=(const ensightBinaryStream&) = delete;
public: public:
// Constructors // Constructors
@ -82,6 +73,9 @@ public:
) )
{} {}
//- Disallow default bitwise copy construction
ensightBinaryStream(const ensightBinaryStream&) = delete;
//- Destructor //- Destructor
virtual ~ensightBinaryStream() virtual ~ensightBinaryStream()
@ -141,14 +135,11 @@ public:
write(partI); write(partI);
} }
// Member Operators // Member Operators
// Friend Functions //- Disallow default bitwise assignment
void operator=(const ensightBinaryStream&) = delete;
// Friend Operators
// IOstream Operators
}; };

View File

@ -139,12 +139,6 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construction
ensightMesh(const ensightMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const ensightMesh&) = delete;
void writePoints void writePoints
( (
const scalarField& pointsComponent, const scalarField& pointsComponent,
@ -270,6 +264,9 @@ public:
const bool binary const bool binary
); );
//- Disallow default bitwise copy construction
ensightMesh(const ensightMesh&) = delete;
//- Destructor //- Destructor
~ensightMesh(); ~ensightMesh();
@ -378,6 +375,11 @@ public:
Ostream& ensightCaseFile Ostream& ensightCaseFile
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightMesh&) = delete;
}; };

View File

@ -54,14 +54,6 @@ class ensightStream
const fileName name_; const fileName name_;
// Private Member Functions
//- Disallow default bitwise copy construction
ensightStream(const ensightStream&) = delete;
//- Disallow default bitwise assignment
void operator=(const ensightStream&) = delete;
public: public:
@ -73,6 +65,9 @@ public:
name_(f) name_(f)
{} {}
//- Disallow default bitwise copy construction
ensightStream(const ensightStream&) = delete;
//- Destructor //- Destructor
virtual ~ensightStream() virtual ~ensightStream()
@ -99,7 +94,10 @@ public:
virtual void writePartHeader(const label) = 0; virtual void writePartHeader(const label) = 0;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const ensightStream&) = delete;
}; };

View File

@ -63,18 +63,6 @@ class vtkMesh
//- Current cellSet (or empty) //- Current cellSet (or empty)
const word setName_; const word setName_;
// //- Current decomposition of topology
// mutable autoPtr<vtkTopo> topoPtr_;
// Private Member Functions
//- Disallow default bitwise copy construction
vtkMesh(const vtkMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkMesh&) = delete;
public: public:
@ -84,6 +72,9 @@ public:
//- Construct from components //- Construct from components
vtkMesh(fvMesh& baseMesh, const word& setName = ""); vtkMesh(fvMesh& baseMesh, const word& setName = "");
//- Disallow default bitwise copy construction
vtkMesh(const vtkMesh&) = delete;
// Member Functions // Member Functions
@ -106,16 +97,6 @@ public:
return setName_.size(); return setName_.size();
} }
// //- topology
// const vtkTopo& topo() const
// {
// if (topoPtr_.empty())
// {
// topoPtr_.reset(new vtkTopo(mesh()));
// }
// return topoPtr_();
// }
//- Access either mesh or submesh //- Access either mesh or submesh
const fvMesh& mesh() const const fvMesh& mesh() const
{ {
@ -129,18 +110,6 @@ public:
} }
} }
// //- Number of field cells
// label nFieldCells() const
// {
// return topo().vertLabels().size();
// }
//
// //- Number of field points
// label nFieldPoints() const
// {
// return mesh().nPoints() + topo().addPointCellLabels().size();
// }
// Edit // Edit
@ -164,6 +133,12 @@ public:
return fld; return fld;
} }
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const vtkMesh&) = delete;
}; };

View File

@ -68,16 +68,6 @@ class vtkMesh
mutable autoPtr<vtkTopo> topoPtr_; mutable autoPtr<vtkTopo> topoPtr_;
// Private Member Functions
//- Disallow default bitwise copy construction
vtkMesh(const vtkMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkMesh&) = delete;
public: public:
// Constructors // Constructors
@ -85,6 +75,9 @@ public:
//- Construct from components //- Construct from components
vtkMesh(fvMesh& baseMesh, const word& setName = ""); vtkMesh(fvMesh& baseMesh, const word& setName = "");
//- Disallow default bitwise copy construction
vtkMesh(const vtkMesh&) = delete;
// Member Functions // Member Functions
@ -165,6 +158,12 @@ public:
return fld; return fld;
} }
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const vtkMesh&) = delete;
}; };

View File

@ -66,15 +66,6 @@ class vtkTopo
labelList superCells_; labelList superCells_;
// Private Member Functions
//- Disallow default bitwise copy construction
vtkTopo(const vtkTopo&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkTopo&) = delete;
public: public:
// Public static data // Public static data
@ -102,6 +93,10 @@ public:
//- Construct from components //- Construct from components
vtkTopo(const polyMesh&); vtkTopo(const polyMesh&);
//- Disallow default bitwise copy construction
vtkTopo(const vtkTopo&) = delete;
// Member Functions // Member Functions
// Access // Access
@ -125,6 +120,12 @@ public:
{ {
return superCells_; return superCells_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const vtkTopo&) = delete;
}; };

View File

@ -92,12 +92,6 @@ class writeVTK
template<class GeoField> template<class GeoField>
UPtrList<const GeoField> lookupFields() const; UPtrList<const GeoField> lookupFields() const;
//- Disallow default bitwise copy construction
writeVTK(const writeVTK&) = delete;
//- Disallow default bitwise assignment
void operator=(const writeVTK&) = delete;
public: public:
@ -115,6 +109,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
writeVTK(const writeVTK&) = delete;
//- Destructor //- Destructor
virtual ~writeVTK(); virtual ~writeVTK();
@ -130,6 +127,12 @@ public:
//- Write the writeVTK //- Write the writeVTK
virtual bool write(); virtual bool write();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const writeVTK&) = delete;
}; };

View File

@ -63,6 +63,7 @@ class vtkPVFoamReader
public vtkMultiBlockDataSetAlgorithm public vtkMultiBlockDataSetAlgorithm
{ {
public: public:
vtkTypeMacro(vtkPVFoamReader, vtkMultiBlockDataSetAlgorithm); vtkTypeMacro(vtkPVFoamReader, vtkMultiBlockDataSetAlgorithm);
void PrintSelf(ostream&, vtkIndent); void PrintSelf(ostream&, vtkIndent);
@ -181,6 +182,9 @@ protected:
//- Construct null //- Construct null
vtkPVFoamReader(); vtkPVFoamReader();
//- Disallow default bitwise copy construction
vtkPVFoamReader(const vtkPVFoamReader&) = delete;
//- Destructor //- Destructor
~vtkPVFoamReader(); ~vtkPVFoamReader();
@ -209,15 +213,12 @@ protected:
//- The file name for this case //- The file name for this case
char* FileName; char* FileName;
private:
//- Disallow default bitwise copy construction
vtkPVFoamReader(const vtkPVFoamReader&) = delete;
//- Disallow default bitwise assignment //- Disallow default bitwise assignment
void operator=(const vtkPVFoamReader&) = delete; void operator=(const vtkPVFoamReader&) = delete;
private:
//- Add/remove patch names to/from the view //- Add/remove patch names to/from the view
void updatePatchNamesView(const bool show); void updatePatchNamesView(const bool show);

View File

@ -113,6 +113,9 @@ protected:
//- Construct null //- Construct null
vtkPVblockMeshReader(); vtkPVblockMeshReader();
//- Disallow default bitwise copy construction
vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete;
//- Destructor //- Destructor
~vtkPVblockMeshReader(); ~vtkPVblockMeshReader();
@ -140,15 +143,12 @@ protected:
char* FileName; char* FileName;
private:
//- Disallow default bitwise copy construction
vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete;
//- Disallow default bitwise assignment //- Disallow default bitwise assignment
void operator=(const vtkPVblockMeshReader&) = delete; void operator=(const vtkPVblockMeshReader&) = delete;
private:
//- Add/remove point numbers to/from the view //- Add/remove point numbers to/from the view
void updatePointNumbersView(const bool show); void updatePointNumbersView(const bool show);

View File

@ -666,13 +666,6 @@ class vtkPVFoam
word getPartName(const int); word getPartName(const int);
//- Disallow default bitwise copy construction
vtkPVFoam(const vtkPVFoam&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkPVFoam&) = delete;
public: public:
//- Static data members //- Static data members
@ -689,6 +682,9 @@ public:
vtkPVFoamReader* reader vtkPVFoamReader* reader
); );
//- Disallow default bitwise copy construction
vtkPVFoam(const vtkPVFoam&) = delete;
//- Destructor //- Destructor
~vtkPVFoam(); ~vtkPVFoam();
@ -736,6 +732,12 @@ public:
//- Simple memory used debugging information //- Simple memory used debugging information
static void printMemory(); static void printMemory();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const vtkPVFoam&) = delete;
}; };

View File

@ -293,13 +293,6 @@ class vtkPVblockMesh
); );
//- Disallow default bitwise copy construction
vtkPVblockMesh(const vtkPVblockMesh&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkPVblockMesh&) = delete;
public: public:
//- Static data members //- Static data members
@ -316,6 +309,9 @@ public:
vtkPVblockMeshReader* reader vtkPVblockMeshReader* reader
); );
//- Disallow default bitwise copy construction
vtkPVblockMesh(const vtkPVblockMesh&) = delete;
//- Destructor //- Destructor
~vtkPVblockMesh(); ~vtkPVblockMesh();
@ -339,6 +335,11 @@ public:
//- Debug information //- Debug information
void PrintSelf(ostream&, vtkIndent) const; void PrintSelf(ostream&, vtkIndent) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const vtkPVblockMesh&) = delete;
}; };

View File

@ -45,7 +45,6 @@ SourceFiles
namespace Foam namespace Foam
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class channelIndex Declaration Class channelIndex Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -93,10 +92,6 @@ class channelIndex
const labelList& startFaces const labelList& startFaces
); );
//- Disallow default bitwise copy construct and assignment
channelIndex(const channelIndex&) = delete;
void operator=(const channelIndex&);
public: public:
@ -114,6 +109,9 @@ public:
const direction dir const direction dir
); );
//- Disallow default bitwise copy construction
channelIndex(const channelIndex&) = delete;
// Member Functions // Member Functions
@ -137,6 +135,11 @@ public:
return y_; return y_;
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const channelIndex&);
}; };

View File

@ -106,7 +106,7 @@ class IndirectList
{ {
// Private Member Functions // Private Member Functions
//- Disallow default assignment operator //- Disallow default bitwise assignment
void operator=(const IndirectList<T>&); void operator=(const IndirectList<T>&);
//- Disallow assignment from UIndirectList //- Disallow assignment from UIndirectList

View File

@ -490,7 +490,7 @@ public:
public iteratorBase public iteratorBase
{ {
//- Disallow copy constructor from const_iterator //- Disallow default bitwise copy construction
// This would violate const-ness! // This would violate const-ness!
iterator(const const_iterator&); iterator(const const_iterator&);

View File

@ -316,10 +316,6 @@ public:
{ {
label comm_; label comm_;
//- Disallow copy and assignment
communicator(const communicator&);
void operator=(const communicator&);
public: public:
communicator communicator
@ -332,6 +328,9 @@ public:
comm_(allocateCommunicator(parent, subRanks, doPstream)) comm_(allocateCommunicator(parent, subRanks, doPstream))
{} {}
//- Disallow default bitwise copy construction
communicator(const communicator&) = delete;
~communicator() ~communicator()
{ {
freeCommunicator(comm_); freeCommunicator(comm_);
@ -341,6 +340,9 @@ public:
{ {
return comm_; return comm_;
} }
//- Disallow default bitwise assignment
void operator=(const communicator&) = delete;
}; };
//- Return physical processor number (i.e. processor number in //- Return physical processor number (i.e. processor number in

View File

@ -104,7 +104,7 @@ public:
const word& prefix const word& prefix
); );
//- Disallow default bitwise copy construct and assignment //- Disallow default bitwise copy construction
timeControl(const timeControl&) = delete; timeControl(const timeControl&) = delete;

View File

@ -99,7 +99,7 @@ public:
const label nIoObjects = 128 const label nIoObjects = 128
); );
//- Disallow Copy constructor //- Disallow default bitwise copy construction
objectRegistry(const objectRegistry&); objectRegistry(const objectRegistry&);
@ -235,7 +235,7 @@ public:
// Member Operators // Member Operators
//- Disallow default bitwise copy construct and assignment //- Disallow default bitwise assignment
void operator=(const objectRegistry&) = delete; void operator=(const objectRegistry&) = delete;
}; };

View File

@ -114,6 +114,7 @@ protected:
//- Step along face either in righthand or lefthand direction //- Step along face either in righthand or lefthand direction
inline static label nextVert(const label, const label, const bool); inline static label nextVert(const label, const label, const bool);
// Protected data // Protected data
// Map from mesh to local vertex numbering // Map from mesh to local vertex numbering
@ -186,7 +187,7 @@ public:
const word& cellModelName const word& cellModelName
); );
//- Disallow default bitwise copy construct and assignment //- Disallow default bitwise copy construction
cellMatcher(const cellMatcher&) = delete; cellMatcher(const cellMatcher&) = delete;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -53,10 +53,10 @@ class coupledPointPatch
{ {
// Private Member Functions // Private Member Functions
//- Disallow default construct as copy //- Disallow default bitwise copy construction
coupledPointPatch(const coupledPointPatch&); coupledPointPatch(const coupledPointPatch&);
//- Disallow default assignment //- Disallow default bitwise assignment
void operator=(const coupledPointPatch&); void operator=(const coupledPointPatch&);

View File

@ -60,10 +60,10 @@ class cyclicPointPatch
// Private Member Functions // Private Member Functions
//- Disallow default construct as copy //- Disallow default bitwise copy construction
cyclicPointPatch(const cyclicPointPatch&); cyclicPointPatch(const cyclicPointPatch&);
//- Disallow default assignment //- Disallow default bitwise assignment
void operator=(const cyclicPointPatch&); void operator=(const cyclicPointPatch&);

View File

@ -87,10 +87,10 @@ class processorPointPatch
virtual void updateMesh(PstreamBuffers&); virtual void updateMesh(PstreamBuffers&);
//- Disallow default construct as copy //- Disallow default bitwise copy construction
processorPointPatch(const processorPointPatch&); processorPointPatch(const processorPointPatch&);
//- Disallow default assignment //- Disallow default bitwise assignment
void operator=(const processorPointPatch&); void operator=(const processorPointPatch&);
public: public:

View File

@ -63,10 +63,10 @@ class processorCyclicPointPatch
const processorCyclicPolyPatch& procCycPolyPatch_; const processorCyclicPolyPatch& procCycPolyPatch_;
//- Disallow default construct as copy //- Disallow default bitwise copy construction
processorCyclicPointPatch(const processorCyclicPointPatch&); processorCyclicPointPatch(const processorCyclicPointPatch&);
//- Disallow default assignment //- Disallow default bitwise assignment
void operator=(const processorCyclicPointPatch&); void operator=(const processorCyclicPointPatch&);
public: public:

View File

@ -63,10 +63,10 @@ class coupledFacePointPatch
// Private Member Functions // Private Member Functions
//- Disallow default construct as copy //- Disallow default bitwise copy construction
coupledFacePointPatch(const coupledFacePointPatch&); coupledFacePointPatch(const coupledFacePointPatch&);
//- Disallow default assignment //- Disallow default bitwise assignment
void operator=(const coupledFacePointPatch&); void operator=(const coupledFacePointPatch&);

View File

@ -81,10 +81,10 @@ class polyBoundaryMesh
//- Calculate the geometry for the patches (transformation tensors etc.) //- Calculate the geometry for the patches (transformation tensors etc.)
void calcGeometry(); void calcGeometry();
//- Disallow construct as copy //- Disallow default bitwise copy construction
polyBoundaryMesh(const polyBoundaryMesh&); polyBoundaryMesh(const polyBoundaryMesh&);
//- Disallow assignment //- Disallow default bitwise assignment
void operator=(const polyBoundaryMesh&); void operator=(const polyBoundaryMesh&);

View File

@ -372,7 +372,7 @@ public:
const bool syncPar = true const bool syncPar = true
); );
//- Disallow construct as copy //- Disallow default bitwise copy construction
polyMesh(const polyMesh&); polyMesh(const polyMesh&);

View File

@ -79,10 +79,10 @@ class ZoneMesh
//- Read if IOobject flags set. Return true if read. //- Read if IOobject flags set. Return true if read.
bool read(); bool read();
//- Disallow construct as copy //- Disallow default bitwise copy construction
ZoneMesh(const ZoneMesh&); ZoneMesh(const ZoneMesh&);
//- Disallow assignment //- Disallow default bitwise assignment
void operator=(const ZoneMesh<ZoneType, MeshType>&); void operator=(const ZoneMesh<ZoneType, MeshType>&);

View File

@ -437,7 +437,7 @@ public:
const label nCells const label nCells
); );
//- Disallow construct as copy //- Disallow default bitwise copy construction
primitiveMesh(const primitiveMesh&); primitiveMesh(const primitiveMesh&);

View File

@ -79,13 +79,6 @@ class buoyantKEpsilon
: :
public kEpsilon<BasicTurbulenceModel> public kEpsilon<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
buoyantKEpsilon(const buoyantKEpsilon&) = delete;
void operator=(const buoyantKEpsilon&);
protected: protected:
// Protected data // Protected data
@ -94,6 +87,7 @@ protected:
dimensionedScalar Cg_; dimensionedScalar Cg_;
// Protected Member Functions // Protected Member Functions
tmp<volScalarField> Gcoef() const; tmp<volScalarField> Gcoef() const;
@ -128,6 +122,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
buoyantKEpsilon(const buoyantKEpsilon&) = delete;
//- Destructor //- Destructor
virtual ~buoyantKEpsilon() virtual ~buoyantKEpsilon()
@ -138,6 +135,12 @@ public:
//- Re-read model coefficients if they have changed //- Re-read model coefficients if they have changed
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const buoyantKEpsilon&) = delete;
}; };

View File

@ -65,10 +65,6 @@ class LamBremhorstKE
{ {
// Private Member Functions // Private Member Functions
// Disallow default bitwise copy construct and assignment
LamBremhorstKE(const LamBremhorstKE&) = delete;
void operator=(const LamBremhorstKE&);
tmp<volScalarField> Rt() const; tmp<volScalarField> Rt() const;
tmp<volScalarField> fMu(const volScalarField& Rt) const; tmp<volScalarField> fMu(const volScalarField& Rt) const;
tmp<volScalarField> f1(const volScalarField& fMu) const; tmp<volScalarField> f1(const volScalarField& fMu) const;
@ -120,6 +116,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
LamBremhorstKE(const LamBremhorstKE&) = delete;
//- Destructor //- Destructor
virtual ~LamBremhorstKE() virtual ~LamBremhorstKE()
@ -165,6 +164,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const LamBremhorstKE&) = delete;
}; };

View File

@ -91,10 +91,6 @@ class NicenoKEqn
>& >&
gasTurbulence() const; gasTurbulence() const;
// Disallow default bitwise copy construct and assignment
NicenoKEqn(const NicenoKEqn&) = delete;
void operator=(const NicenoKEqn&);
protected: protected:
@ -141,6 +137,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
NicenoKEqn(const NicenoKEqn&) = delete;
//- Destructor //- Destructor
virtual ~NicenoKEqn() virtual ~NicenoKEqn()
@ -151,6 +150,12 @@ public:
//- Read model coefficients if they have changed //- Read model coefficients if they have changed
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const NicenoKEqn&) = delete;
}; };

View File

@ -89,10 +89,6 @@ class SmagorinskyZhang
>& >&
gasTurbulence() const; gasTurbulence() const;
// Disallow default bitwise copy construct and assignment
SmagorinskyZhang(const SmagorinskyZhang&) = delete;
void operator=(const SmagorinskyZhang&);
protected: protected:
@ -134,6 +130,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
SmagorinskyZhang(const SmagorinskyZhang&) = delete;
//- Destructor //- Destructor
virtual ~SmagorinskyZhang() virtual ~SmagorinskyZhang()
@ -144,6 +143,12 @@ public:
//- Read model coefficients if they have changed //- Read model coefficients if they have changed
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SmagorinskyZhang&) = delete;
}; };

View File

@ -77,13 +77,6 @@ class continuousGasKEqn
mutable const turbulenceModel *liquidTurbulencePtr_; mutable const turbulenceModel *liquidTurbulencePtr_;
// Private Member Functions
// Disallow default bitwise copy construct and assignment
continuousGasKEqn(const continuousGasKEqn&) = delete;
void operator=(const continuousGasKEqn&);
protected: protected:
// Protected data // Protected data
@ -128,6 +121,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
continuousGasKEqn(const continuousGasKEqn&) = delete;
//- Destructor //- Destructor
virtual ~continuousGasKEqn() virtual ~continuousGasKEqn()
@ -138,6 +134,12 @@ public:
//- Read model coefficients if they have changed //- Read model coefficients if they have changed
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const continuousGasKEqn&) = delete;
}; };

View File

@ -93,10 +93,6 @@ class LaheyKEpsilon
>& >&
gasTurbulence() const; gasTurbulence() const;
// Disallow default bitwise copy construct and assignment
LaheyKEpsilon(const LaheyKEpsilon&) = delete;
void operator=(const LaheyKEpsilon&);
protected: protected:
@ -145,6 +141,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
LaheyKEpsilon(const LaheyKEpsilon&) = delete;
//- Destructor //- Destructor
virtual ~LaheyKEpsilon() virtual ~LaheyKEpsilon()
@ -158,6 +157,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const LaheyKEpsilon&) = delete;
}; };

View File

@ -84,13 +84,6 @@ class continuousGasKEpsilon
volScalarField nutEff_; volScalarField nutEff_;
// Private Member Functions
// Disallow default bitwise copy construct and assignment
continuousGasKEpsilon(const continuousGasKEpsilon&) = delete;
void operator=(const continuousGasKEpsilon&);
protected: protected:
// Protected data // Protected data
@ -134,6 +127,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
continuousGasKEpsilon(const continuousGasKEpsilon&) = delete;
//- Destructor //- Destructor
virtual ~continuousGasKEpsilon() virtual ~continuousGasKEpsilon()
@ -156,6 +152,12 @@ public:
//- Return the Reynolds stress tensor //- Return the Reynolds stress tensor
virtual tmp<volSymmTensorField> R() const; virtual tmp<volSymmTensorField> R() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const continuousGasKEpsilon&) = delete;
}; };

View File

@ -137,11 +137,6 @@ class kOmegaSSTSato
gasTurbulence() const; gasTurbulence() const;
// Disallow default bitwise copy construct and assignment
kOmegaSSTSato(const kOmegaSSTSato&) = delete;
void operator=(const kOmegaSSTSato&);
protected: protected:
// Protected data // Protected data
@ -186,6 +181,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
kOmegaSSTSato(const kOmegaSSTSato&) = delete;
//- Destructor //- Destructor
virtual ~kOmegaSSTSato() virtual ~kOmegaSSTSato()
@ -199,6 +197,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kOmegaSSTSato&) = delete;
}; };

View File

@ -90,10 +90,6 @@ class mixtureKEpsilon
// Private Member Functions // Private Member Functions
// Disallow default bitwise copy construct and assignment
mixtureKEpsilon(const mixtureKEpsilon&) = delete;
void operator=(const mixtureKEpsilon&);
//- Return the turbulence model for the other phase //- Return the turbulence model for the other phase
mixtureKEpsilon<BasicTurbulenceModel>& liquidTurbulence() const; mixtureKEpsilon<BasicTurbulenceModel>& liquidTurbulence() const;
@ -213,6 +209,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
mixtureKEpsilon(const mixtureKEpsilon&) = delete;
//- Destructor //- Destructor
virtual ~mixtureKEpsilon() virtual ~mixtureKEpsilon()
@ -238,6 +237,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const mixtureKEpsilon&) = delete;
}; };

View File

@ -114,13 +114,6 @@ class kOmegaSST
: :
public TurbulenceModel public TurbulenceModel
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
kOmegaSST(const kOmegaSST&) = delete;
void operator=(const kOmegaSST&);
protected: protected:
// Protected data // Protected data
@ -267,6 +260,9 @@ public:
const word& propertiesName = turbulenceModel::propertiesName const word& propertiesName = turbulenceModel::propertiesName
); );
//- Disallow default bitwise copy construction
kOmegaSST(const kOmegaSST&) = delete;
//- Destructor //- Destructor
virtual ~kOmegaSST() virtual ~kOmegaSST()
@ -323,6 +319,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kOmegaSST&) = delete;
}; };

View File

@ -81,13 +81,6 @@ class DeardorffDiffStress
: :
public ReynoldsStress<LESModel<BasicTurbulenceModel>> public ReynoldsStress<LESModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
DeardorffDiffStress(const DeardorffDiffStress&) = delete;
void operator=(const DeardorffDiffStress&);
protected: protected:
// Protected data // Protected data
@ -132,6 +125,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
DeardorffDiffStress(const DeardorffDiffStress&) = delete;
//- Destructor //- Destructor
virtual ~DeardorffDiffStress() virtual ~DeardorffDiffStress()
@ -148,6 +144,12 @@ public:
//- Correct sub-grid stress, eddy-Viscosity and related properties //- Correct sub-grid stress, eddy-Viscosity and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const DeardorffDiffStress&) = delete;
}; };

View File

@ -63,10 +63,6 @@ class IDDESDelta
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
IDDESDelta(const IDDESDelta&) = delete;
void operator=(const IDDESDelta&);
//- Calculate the delta values //- Calculate the delta values
void calcDelta(); void calcDelta();
@ -87,6 +83,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
IDDESDelta(const IDDESDelta&) = delete;
// Destructor // Destructor
@ -107,6 +106,12 @@ public:
// Correct values // Correct values
void correct(); void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const IDDESDelta&) = delete;
}; };

View File

@ -50,7 +50,6 @@ namespace Foam
class LESdelta class LESdelta
{ {
protected: protected:
// Protected data // Protected data
@ -60,15 +59,6 @@ protected:
volScalarField delta_; volScalarField delta_;
private:
// Private Member Functions
// Disallow default bitwise copy construct and assignment
LESdelta(const LESdelta&) = delete;
void operator=(const LESdelta&);
public: public:
//- Runtime type information //- Runtime type information
@ -100,6 +90,9 @@ public:
const turbulenceModel& turbulence const turbulenceModel& turbulence
); );
//- Disallow default bitwise copy construction
LESdelta(const LESdelta&) = delete;
// Selectors // Selectors
@ -143,6 +136,8 @@ public:
// Member Operators // Member Operators
void operator=(const LESdelta&) = delete;
virtual operator const volScalarField&() const virtual operator const volScalarField&() const
{ {
return delta_; return delta_;

View File

@ -85,10 +85,6 @@ class PrandtlDelta
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
PrandtlDelta(const PrandtlDelta&) = delete;
void operator=(const PrandtlDelta&);
// Calculate the delta values // Calculate the delta values
void calcDelta(); void calcDelta();
@ -109,6 +105,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
PrandtlDelta(const PrandtlDelta&) = delete;
//- Destructor //- Destructor
virtual ~PrandtlDelta() virtual ~PrandtlDelta()
@ -122,6 +121,12 @@ public:
// Correct values // Correct values
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const PrandtlDelta&) = delete;
}; };

View File

@ -59,10 +59,6 @@ class cubeRootVolDelta
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
cubeRootVolDelta(const cubeRootVolDelta&) = delete;
void operator=(const cubeRootVolDelta&);
// Calculate the delta values // Calculate the delta values
void calcDelta(); void calcDelta();
@ -83,6 +79,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
cubeRootVolDelta(const cubeRootVolDelta&) = delete;
//- Destructor //- Destructor
virtual ~cubeRootVolDelta() virtual ~cubeRootVolDelta()
@ -96,6 +95,12 @@ public:
// Correct values // Correct values
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const cubeRootVolDelta&) = delete;
}; };

View File

@ -63,10 +63,6 @@ class maxDeltaxyz
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
maxDeltaxyz(const maxDeltaxyz&) = delete;
void operator=(const maxDeltaxyz&);
// Calculate the delta values // Calculate the delta values
void calcDelta(); void calcDelta();
@ -87,6 +83,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
maxDeltaxyz(const maxDeltaxyz&) = delete;
//- Destructor //- Destructor
virtual ~maxDeltaxyz() virtual ~maxDeltaxyz()
@ -100,6 +99,12 @@ public:
// Correct values // Correct values
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const maxDeltaxyz&) = delete;
}; };

View File

@ -220,10 +220,6 @@ private:
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
smoothDelta(const smoothDelta&) = delete;
void operator=(const smoothDelta&);
// Calculate the delta values // Calculate the delta values
void calcDelta(); void calcDelta();
@ -265,6 +261,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
smoothDelta(const smoothDelta&) = delete;
//- Destructor //- Destructor
virtual ~smoothDelta() virtual ~smoothDelta()
@ -278,6 +277,12 @@ public:
// Correct values // Correct values
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const smoothDelta&) = delete;
}; };

View File

@ -64,10 +64,6 @@ class vanDriestDelta
// Private Member Functions // Private Member Functions
//- Disallow default bitwise copy construct and assignment
vanDriestDelta(const vanDriestDelta&) = delete;
void operator=(const vanDriestDelta&);
// Calculate the delta values // Calculate the delta values
void calcDelta(); void calcDelta();
@ -88,6 +84,9 @@ public:
const dictionary& const dictionary&
); );
//- Disallow default bitwise copy construction
vanDriestDelta(const vanDriestDelta&) = delete;
//- Destructor //- Destructor
virtual ~vanDriestDelta() virtual ~vanDriestDelta()
@ -101,6 +100,12 @@ public:
// Correct values // Correct values
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const vanDriestDelta&) = delete;
}; };

View File

@ -54,13 +54,6 @@ class LESeddyViscosity
: :
public eddyViscosity<LESModel<BasicTurbulenceModel>> public eddyViscosity<LESModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
LESeddyViscosity(const LESeddyViscosity&) = delete;
void operator=(const LESeddyViscosity&);
protected: protected:
// Protected data // Protected data
@ -90,6 +83,9 @@ public:
const word& propertiesName = turbulenceModel::propertiesName const word& propertiesName = turbulenceModel::propertiesName
); );
//- Disallow default bitwise copy construction
LESeddyViscosity(const LESeddyViscosity&) = delete;
//- Destructor //- Destructor
virtual ~LESeddyViscosity() virtual ~LESeddyViscosity()
@ -103,6 +99,12 @@ public:
//- Return sub-grid disipation rate //- Return sub-grid disipation rate
virtual tmp<volScalarField> epsilon() const; virtual tmp<volScalarField> epsilon() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const LESeddyViscosity&) = delete;
}; };

View File

@ -59,13 +59,6 @@ class LESfilter
const fvMesh& mesh_; const fvMesh& mesh_;
// Private Member Functions
// Disallow default bitwise copy construct and assignment
LESfilter(const LESfilter&) = delete;
void operator=(const LESfilter&);
protected: protected:
//- Temporary function to ensure the coupled boundary conditions of the //- Temporary function to ensure the coupled boundary conditions of the
@ -112,6 +105,9 @@ public:
mesh_(mesh) mesh_(mesh)
{} {}
//- Disallow default bitwise copy construction
LESfilter(const LESfilter&) = delete;
// Selectors // Selectors
@ -143,6 +139,8 @@ public:
// Member Operators // Member Operators
void operator=(const LESfilter&) = delete;
virtual tmp<volScalarField> operator() virtual tmp<volScalarField> operator()
( (
const tmp<volScalarField>& const tmp<volScalarField>&

View File

@ -64,13 +64,6 @@ class anisotropicFilter
volVectorField coeff_; volVectorField coeff_;
// Private Member Functions
// Disallow default bitwise copy construct and assignment
anisotropicFilter(const anisotropicFilter&) = delete;
void operator=(const anisotropicFilter&);
public: public:
//- Runtime type information //- Runtime type information
@ -84,6 +77,9 @@ public:
//- Construct from IOdictionary //- Construct from IOdictionary
anisotropicFilter(const fvMesh& mesh, const dictionary&); anisotropicFilter(const fvMesh& mesh, const dictionary&);
//- Disallow default bitwise copy construction
anisotropicFilter(const anisotropicFilter&) = delete;
//- Destructor //- Destructor
virtual ~anisotropicFilter() virtual ~anisotropicFilter()
@ -98,6 +94,8 @@ public:
// Member Operators // Member Operators
void operator=(const anisotropicFilter&) = delete;
virtual tmp<volScalarField> operator() virtual tmp<volScalarField> operator()
( (
const tmp<volScalarField>& const tmp<volScalarField>&

View File

@ -64,13 +64,6 @@ class laplaceFilter
volScalarField coeff_; volScalarField coeff_;
// Private Member Functions
//- Disallow default bitwise copy construct and assignment
laplaceFilter(const laplaceFilter&) = delete;
void operator=(const laplaceFilter&);
public: public:
//- Runtime type information //- Runtime type information
@ -85,6 +78,9 @@ public:
//- Construct from IOdictionary //- Construct from IOdictionary
laplaceFilter(const fvMesh& mesh, const dictionary&); laplaceFilter(const fvMesh& mesh, const dictionary&);
//- Disallow default bitwise copy construction
laplaceFilter(const laplaceFilter&) = delete;
//- Destructor //- Destructor
virtual ~laplaceFilter() virtual ~laplaceFilter()
@ -118,6 +114,12 @@ public:
( (
const tmp<volTensorField>& const tmp<volTensorField>&
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const laplaceFilter&) = delete;
}; };

View File

@ -53,13 +53,6 @@ class simpleFilter
public LESfilter public LESfilter
{ {
// Private Member Functions
//- Disallow default bitwise copy construct and assignment
simpleFilter(const simpleFilter&) = delete;
void operator=(const simpleFilter&);
public: public:
//- Runtime type information //- Runtime type information
@ -74,6 +67,9 @@ public:
//- Construct from IOdictionary //- Construct from IOdictionary
simpleFilter(const fvMesh& mesh, const dictionary&); simpleFilter(const fvMesh& mesh, const dictionary&);
//- Disallow default bitwise copy construction
simpleFilter(const simpleFilter&) = delete;
//- Destructor //- Destructor
virtual ~simpleFilter() virtual ~simpleFilter()
@ -107,6 +103,12 @@ public:
( (
const tmp<volTensorField>& const tmp<volTensorField>&
) const; ) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const simpleFilter&) = delete;
}; };

View File

@ -88,13 +88,6 @@ class Smagorinsky
: :
public LESeddyViscosity<BasicTurbulenceModel> public LESeddyViscosity<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
Smagorinsky(const Smagorinsky&) = delete;
void operator=(const Smagorinsky&);
protected: protected:
// Protected data // Protected data
@ -138,6 +131,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
Smagorinsky(const Smagorinsky&) = delete;
//- Destructor //- Destructor
virtual ~Smagorinsky() virtual ~Smagorinsky()
@ -160,6 +156,12 @@ public:
//- Correct Eddy-Viscosity and related properties //- Correct Eddy-Viscosity and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const Smagorinsky&) = delete;
}; };

View File

@ -69,10 +69,6 @@ class SpalartAllmarasDDES
tmp<volScalarField> rd(const volScalarField& magGradU) const; tmp<volScalarField> rd(const volScalarField& magGradU) const;
// Disallow default bitwise copy construct and assignment
SpalartAllmarasDDES(const SpalartAllmarasDDES&) = delete;
void operator=(const SpalartAllmarasDDES&);
protected: protected:
@ -113,10 +109,19 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
SpalartAllmarasDDES(const SpalartAllmarasDDES&) = delete;
//- Destructor //- Destructor
virtual ~SpalartAllmarasDDES() virtual ~SpalartAllmarasDDES()
{} {}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SpalartAllmarasDDES&) = delete;
}; };

View File

@ -62,13 +62,6 @@ class SpalartAllmarasDES
: :
public LESeddyViscosity<BasicTurbulenceModel> public LESeddyViscosity<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
SpalartAllmarasDES(const SpalartAllmarasDES&) = delete;
void operator=(const SpalartAllmarasDES&);
protected: protected:
// Protected data // Protected data
@ -173,6 +166,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
SpalartAllmarasDES(const SpalartAllmarasDES&) = delete;
//- Destructor //- Destructor
virtual ~SpalartAllmarasDES() virtual ~SpalartAllmarasDES()
@ -200,6 +196,12 @@ public:
//- Correct nuTilda and related properties //- Correct nuTilda and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SpalartAllmarasDES&) = delete;
}; };

View File

@ -91,10 +91,6 @@ class SpalartAllmarasIDDES
//- Delay function //- Delay function
tmp<volScalarField> fd(const volScalarField& magGradU) const; tmp<volScalarField> fd(const volScalarField& magGradU) const;
// Disallow default bitwise copy construct and assignment
SpalartAllmarasIDDES(const SpalartAllmarasIDDES&) = delete;
void operator=(const SpalartAllmarasIDDES&);
protected: protected:
@ -135,6 +131,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
SpalartAllmarasIDDES(const SpalartAllmarasIDDES&) = delete;
//- Destructor //- Destructor
virtual ~SpalartAllmarasIDDES() virtual ~SpalartAllmarasIDDES()
@ -145,6 +144,12 @@ public:
//- Read model coefficients if they have changed //- Read model coefficients if they have changed
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SpalartAllmarasIDDES&) = delete;
}; };

View File

@ -75,13 +75,6 @@ class WALE
: :
public LESeddyViscosity<BasicTurbulenceModel> public LESeddyViscosity<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
WALE(const WALE&) = delete;
void operator=(const WALE&);
protected: protected:
// Protected data // Protected data
@ -130,6 +123,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
WALE(const WALE&) = delete;
//- Destructor //- Destructor
virtual ~WALE() virtual ~WALE()
@ -152,6 +148,12 @@ public:
//- Correct Eddy-Viscosity and related properties //- Correct Eddy-Viscosity and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const WALE&) = delete;
}; };

View File

@ -75,13 +75,6 @@ class dynamicKEqn
: :
public LESeddyViscosity<BasicTurbulenceModel> public LESeddyViscosity<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
dynamicKEqn(const dynamicKEqn&) = delete;
void operator=(const dynamicKEqn&);
protected: protected:
// Protected data // Protected data
@ -157,6 +150,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
dynamicKEqn(const dynamicKEqn&) = delete;
//- Destructor //- Destructor
virtual ~dynamicKEqn() virtual ~dynamicKEqn()
@ -189,6 +185,12 @@ public:
//- Correct Eddy-Viscosity and related properties //- Correct Eddy-Viscosity and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicKEqn&) = delete;
}; };

View File

@ -61,13 +61,6 @@ class dynamicLagrangian
: :
public LESeddyViscosity<BasicTurbulenceModel> public LESeddyViscosity<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
dynamicLagrangian(const dynamicLagrangian&) = delete;
void operator=(const dynamicLagrangian&);
protected: protected:
// Protected data // Protected data
@ -118,6 +111,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
dynamicLagrangian(const dynamicLagrangian&) = delete;
//- Destructor //- Destructor
virtual ~dynamicLagrangian() virtual ~dynamicLagrangian()
@ -156,6 +152,12 @@ public:
//- Correct Eddy-Viscosity and related properties //- Correct Eddy-Viscosity and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicLagrangian&) = delete;
}; };

View File

@ -73,13 +73,6 @@ class kEqn
: :
public LESeddyViscosity<BasicTurbulenceModel> public LESeddyViscosity<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
kEqn(const kEqn&) = delete;
void operator=(const kEqn&);
protected: protected:
// Protected data // Protected data
@ -126,6 +119,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
kEqn(const kEqn&) = delete;
//- Destructor //- Destructor
virtual ~kEqn() virtual ~kEqn()
@ -158,6 +154,12 @@ public:
//- Correct eddy-Viscosity and related properties //- Correct eddy-Viscosity and related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kEqn&) = delete;
}; };

View File

@ -99,13 +99,6 @@ class LRR
: :
public ReynoldsStress<RASModel<BasicTurbulenceModel>> public ReynoldsStress<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
LRR(const LRR&) = delete;
void operator=(const LRR&);
protected: protected:
// Protected data // Protected data
@ -169,6 +162,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
LRR(const LRR&) = delete;
//- Destructor //- Destructor
virtual ~LRR() virtual ~LRR()
@ -201,6 +197,12 @@ public:
//- Solve the turbulence equations and correct eddy-Viscosity and //- Solve the turbulence equations and correct eddy-Viscosity and
// related properties // related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const LRR&) = delete;
}; };

View File

@ -83,13 +83,6 @@ class LaunderSharmaKE
: :
public eddyViscosity<RASModel<BasicTurbulenceModel>> public eddyViscosity<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
LaunderSharmaKE(const LaunderSharmaKE&) = delete;
void operator=(const LaunderSharmaKE&);
protected: protected:
// Protected data // Protected data
@ -146,6 +139,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
LaunderSharmaKE(const LaunderSharmaKE&) = delete;
//- Destructor //- Destructor
virtual ~LaunderSharmaKE() virtual ~LaunderSharmaKE()
@ -191,6 +187,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const LaunderSharmaKE&) = delete;
}; };

View File

@ -84,13 +84,6 @@ class RNGkEpsilon
: :
public eddyViscosity<RASModel<BasicTurbulenceModel>> public eddyViscosity<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
RNGkEpsilon(const RNGkEpsilon&) = delete;
void operator=(const RNGkEpsilon&);
protected: protected:
// Protected data // Protected data
@ -146,6 +139,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
RNGkEpsilon(const RNGkEpsilon&) = delete;
//- Destructor //- Destructor
virtual ~RNGkEpsilon() virtual ~RNGkEpsilon()
@ -191,6 +187,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const RNGkEpsilon&) = delete;
}; };

View File

@ -94,13 +94,6 @@ class SSG
: :
public ReynoldsStress<RASModel<BasicTurbulenceModel>> public ReynoldsStress<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
SSG(const SSG&) = delete;
void operator=(const SSG&);
protected: protected:
// Protected data // Protected data
@ -160,6 +153,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
SSG(const SSG&) = delete;
//- Destructor //- Destructor
virtual ~SSG() virtual ~SSG()
@ -192,6 +188,12 @@ public:
//- Solve the turbulence equations and correct eddy-Viscosity and //- Solve the turbulence equations and correct eddy-Viscosity and
// related properties // related properties
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SSG&) = delete;
}; };

View File

@ -87,13 +87,6 @@ class SpalartAllmaras
: :
public eddyViscosity<RASModel<BasicTurbulenceModel>> public eddyViscosity<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
SpalartAllmaras(const SpalartAllmaras&) = delete;
void operator=(const SpalartAllmaras&);
protected: protected:
// Protected data // Protected data
@ -172,6 +165,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
SpalartAllmaras(const SpalartAllmaras&) = delete;
//- Destructor //- Destructor
virtual ~SpalartAllmaras() virtual ~SpalartAllmaras()
@ -194,6 +190,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const SpalartAllmaras&) = delete;
}; };

View File

@ -85,13 +85,6 @@ class kEpsilon
: :
public eddyViscosity<RASModel<BasicTurbulenceModel>> public eddyViscosity<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
kEpsilon(const kEpsilon&) = delete;
void operator=(const kEpsilon&);
protected: protected:
// Protected data // Protected data
@ -144,6 +137,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
kEpsilon(const kEpsilon&) = delete;
//- Destructor //- Destructor
virtual ~kEpsilon() virtual ~kEpsilon()
@ -189,6 +185,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kEpsilon&) = delete;
}; };

View File

@ -103,13 +103,6 @@ class kOmegaSSTLM
: :
public kOmegaSST<BasicTurbulenceModel> public kOmegaSST<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
kOmegaSSTLM(const kOmegaSSTLM&) = delete;
void operator=(const kOmegaSSTLM&);
protected: protected:
// Protected data // Protected data
@ -231,6 +224,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
kOmegaSSTLM(const kOmegaSSTLM&) = delete;
//- Destructor //- Destructor
virtual ~kOmegaSSTLM() virtual ~kOmegaSSTLM()
@ -277,6 +273,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kOmegaSSTLM&) = delete;
}; };

View File

@ -97,13 +97,6 @@ class kOmegaSSTSAS
: :
public kOmegaSST<BasicTurbulenceModel> public kOmegaSST<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
kOmegaSSTSAS(const kOmegaSSTSAS&) = delete;
void operator=(const kOmegaSSTSAS&);
protected: protected:
// Protected data // Protected data
@ -160,6 +153,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
kOmegaSSTSAS(const kOmegaSSTSAS&) = delete;
//- Destructor //- Destructor
virtual ~kOmegaSSTSAS() virtual ~kOmegaSSTSAS()
@ -176,6 +172,12 @@ public:
{ {
return delta_(); return delta_();
} }
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kOmegaSSTSAS&) = delete;
}; };

View File

@ -64,13 +64,6 @@ class Giesekus
: :
public Maxwell<BasicTurbulenceModel> public Maxwell<BasicTurbulenceModel>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
Giesekus(const Giesekus&) = delete;
void operator=(const Giesekus&);
protected: protected:
// Protected data // Protected data
@ -79,6 +72,7 @@ protected:
dimensionedScalar alphaG_; dimensionedScalar alphaG_;
// Protected Member Functions // Protected Member Functions
virtual tmp<fvSymmTensorMatrix> sigmaSource() const; virtual tmp<fvSymmTensorMatrix> sigmaSource() const;
@ -110,6 +104,10 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
Giesekus(const Giesekus&) = delete;
//- Destructor //- Destructor
virtual ~Giesekus() virtual ~Giesekus()
@ -120,6 +118,12 @@ public:
//- Re-read model coefficients if they have changed //- Re-read model coefficients if they have changed
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const Giesekus&) = delete;
}; };

View File

@ -70,7 +70,7 @@ protected:
// Private Member Functions // Private Member Functions
//- Disallow copy construct //- Disallow default bitwise copy construction
generalizedNewtonianViscosityModel generalizedNewtonianViscosityModel
( (
const generalizedNewtonianViscosityModel& const generalizedNewtonianViscosityModel&

View File

@ -79,13 +79,6 @@ class kEpsilonLopesdaCosta
: :
public eddyViscosity<RASModel<BasicTurbulenceModel>> public eddyViscosity<RASModel<BasicTurbulenceModel>>
{ {
// Private Member Functions
// Disallow default bitwise copy construct and assignment
kEpsilonLopesdaCosta(const kEpsilonLopesdaCosta&) = delete;
void operator=(const kEpsilonLopesdaCosta&);
protected: protected:
// Protected data // Protected data
@ -170,6 +163,9 @@ public:
const word& type = typeName const word& type = typeName
); );
//- Disallow default bitwise copy construction
kEpsilonLopesdaCosta(const kEpsilonLopesdaCosta&) = delete;
//- Destructor //- Destructor
virtual ~kEpsilonLopesdaCosta() virtual ~kEpsilonLopesdaCosta()
@ -215,6 +211,12 @@ public:
//- Solve the turbulence equations and correct the turbulence viscosity //- Solve the turbulence equations and correct the turbulence viscosity
virtual void correct(); virtual void correct();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const kEpsilonLopesdaCosta&) = delete;
}; };

View File

@ -146,19 +146,14 @@ class powerLawLopesdaCosta
const vectorField& U const vectorField& U
) const; ) const;
//- Disallow default bitwise copy construction
powerLawLopesdaCosta(const powerLawLopesdaCosta&) = delete;
//- Disallow default bitwise assignment
void operator=(const powerLawLopesdaCosta&) = delete;
public: public:
//- Runtime type information //- Runtime type information
TypeName("powerLawLopesdaCosta"); TypeName("powerLawLopesdaCosta");
//- Constructor // Constructors
powerLawLopesdaCosta powerLawLopesdaCosta
( (
const word& name, const word& name,
@ -168,6 +163,10 @@ public:
const word& cellZoneName const word& cellZoneName
); );
//- Disallow default bitwise copy construction
powerLawLopesdaCosta(const powerLawLopesdaCosta&) = delete;
//- Destructor //- Destructor
virtual ~powerLawLopesdaCosta(); virtual ~powerLawLopesdaCosta();
@ -209,8 +208,15 @@ public:
//- Write //- Write
bool writeData(Ostream& os) const; bool writeData(Ostream& os) const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const powerLawLopesdaCosta&) = delete;
}; };
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace porosityModels } // End namespace porosityModels

View File

@ -149,15 +149,6 @@ class EDC
volScalarField kappa_; volScalarField kappa_;
// Private Member Functions
//- Disallow copy construct
EDC(const EDC&);
//- Disallow default bitwise assignment
void operator=(const EDC&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -175,6 +166,9 @@ public:
const word& combustionProperties const word& combustionProperties
); );
//- Disallow default bitwise copy construction
EDC(const EDC&);
//- Destructor //- Destructor
virtual ~EDC(); virtual ~EDC();
@ -193,6 +187,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const EDC&) = delete;
}; };

View File

@ -120,12 +120,6 @@ class FSD
//- Calculate the normalised fuel source term //- Calculate the normalised fuel source term
void calculateSourceNorm(); void calculateSourceNorm();
//- Disallow copy construct
FSD(const FSD&);
//- Disallow default bitwise assignment
void operator=(const FSD&) = delete;
public: public:
@ -144,6 +138,9 @@ public:
const word& combustionProperties const word& combustionProperties
); );
//- Disallow default bitwise copy construction
FSD(const FSD&);
//- Destructor //- Destructor
virtual ~FSD(); virtual ~FSD();
@ -156,6 +153,12 @@ public:
//- Update properties //- Update properties
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const FSD&) = delete;
}; };

View File

@ -70,12 +70,6 @@ class consumptionSpeed
//- Return consumption rate //- Return consumption rate
scalar omega0Sigma(scalar sigma, scalar a) const; scalar omega0Sigma(scalar sigma, scalar a) const;
//- Disallow copy construct
consumptionSpeed(const consumptionSpeed&);
//- Disallow default bitwise assignment
void operator=(const consumptionSpeed&) = delete;
public: public:
@ -88,6 +82,9 @@ public:
//- Construct from dictionary //- Construct from dictionary
consumptionSpeed(const dictionary& dict); consumptionSpeed(const dictionary& dict);
//- Disallow default bitwise copy construction
consumptionSpeed(const consumptionSpeed&);
//- Destructor //- Destructor
virtual ~consumptionSpeed(); virtual ~consumptionSpeed();
@ -126,6 +123,12 @@ public:
//- Update properties //- Update properties
void read(const dictionary& dict); void read(const dictionary& dict);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const consumptionSpeed&) = delete;
}; };

View File

@ -75,17 +75,6 @@ protected:
volScalarField omega_; volScalarField omega_;
private:
// Private Member Functions
//- Disallow copy construct
reactionRateFlameArea(const reactionRateFlameArea&);
//- Disallow default bitwise assignment
void operator=(const reactionRateFlameArea&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -120,6 +109,9 @@ public:
const combustionModel& combModel const combustionModel& combModel
); );
//- Disallow default bitwise copy construction
reactionRateFlameArea(const reactionRateFlameArea&);
// Selector // Selector
@ -152,6 +144,12 @@ public:
//- Update from dictionary //- Update from dictionary
virtual bool read(const dictionary& dictProperties); virtual bool read(const dictionary& dictProperties);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const reactionRateFlameArea&) = delete;
}; };

View File

@ -65,15 +65,6 @@ class relaxation
scalar alpha_; scalar alpha_;
// Private Member Functions
//- Disallow copy construct
relaxation(const relaxation&);
//- Disallow default bitwise assignment
void operator=(const relaxation&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -91,6 +82,9 @@ public:
const combustionModel& combModel const combustionModel& combModel
); );
//- Disallow default bitwise copy construction
relaxation(const relaxation&);
// Destructor // Destructor
@ -107,6 +101,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(const dictionary& dictProperties); virtual bool read(const dictionary& dictProperties);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const relaxation&) = delete;
}; };

View File

@ -66,15 +66,6 @@ class PaSR
volScalarField kappa_; volScalarField kappa_;
// Private Member Functions
//- Disallow copy construct
PaSR(const PaSR&);
//- Disallow default bitwise assignment
void operator=(const PaSR&) = delete;
public: public:
//- Runtime type information //- Runtime type information
@ -92,6 +83,9 @@ public:
const word& combustionProperties const word& combustionProperties
); );
//- Disallow default bitwise copy construction
PaSR(const PaSR&);
//- Destructor //- Destructor
virtual ~PaSR(); virtual ~PaSR();
@ -110,6 +104,12 @@ public:
//- Update properties from given dictionary //- Update properties from given dictionary
virtual bool read(); virtual bool read();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const PaSR&) = delete;
}; };

Some files were not shown because too many files have changed in this diff Show More