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

@ -80,15 +80,6 @@ private:
//- Return the component corresponding to the given component name
direction cmpt(const word& cmptName) const;
//- Disallow default bitwise copy construction
componentDisplacementMotionSolver
(
const componentDisplacementMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const componentDisplacementMotionSolver&) = delete;
public:
@ -106,6 +97,12 @@ public:
const word& type
);
//- Disallow default bitwise copy construction
componentDisplacementMotionSolver
(
const componentDisplacementMotionSolver&
);
//- Destructor
virtual ~componentDisplacementMotionSolver();
@ -130,6 +127,12 @@ public:
//- Update local data for topology changes
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
direction cmpt(const word& cmptName) const;
//- Disallow default bitwise copy construction
componentVelocityMotionSolver
(
const componentVelocityMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const componentVelocityMotionSolver&) = delete;
public:
@ -103,6 +94,12 @@ public:
const word& type
);
//- Disallow default bitwise copy construction
componentVelocityMotionSolver
(
const componentVelocityMotionSolver&
);
//- Destructor
virtual ~componentVelocityMotionSolver();
@ -122,6 +119,12 @@ public:
//- Update local data for topology changes
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_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
displacementMotionSolver(const displacementMotionSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const displacementMotionSolver&) = delete;
public:
//- Runtime type information
@ -87,6 +77,9 @@ public:
const word& type
);
//- Disallow default bitwise copy construction
displacementMotionSolver(const displacementMotionSolver&) = delete;
//- Destructor
virtual ~displacementMotionSolver();
@ -105,6 +98,12 @@ public:
{
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
displacementInterpolationMotionSolver
(
const displacementInterpolationMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const displacementInterpolationMotionSolver&) = delete;
public:
//- Runtime type information
@ -111,6 +99,12 @@ public:
const dictionary& dict
);
//- Disallow default bitwise copy construction
displacementInterpolationMotionSolver
(
const displacementInterpolationMotionSolver&
);
//- Destructor
~displacementInterpolationMotionSolver();
@ -124,6 +118,12 @@ public:
//- Solve for motion
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:
//- Runtime type information
@ -136,6 +126,12 @@ public:
const dictionary&
);
//- Disallow default bitwise copy construction
displacementLayeredMotionMotionSolver
(
const displacementLayeredMotionMotionSolver&
);
//- Destructor
~displacementLayeredMotionMotionSolver();
@ -151,6 +147,12 @@ public:
//- Update topology
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_;
//- Disallow default bitwise copy construction
displacementLinearMotionMotionSolver
(
const displacementLinearMotionMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const displacementLinearMotionMotionSolver&) = delete;
public:
//- Runtime type information
@ -113,6 +103,12 @@ public:
const dictionary&
);
//- Disallow default bitwise copy construction
displacementLinearMotionMotionSolver
(
const displacementLinearMotionMotionSolver&
);
//- Destructor
~displacementLinearMotionMotionSolver();
@ -126,6 +122,12 @@ public:
//- Solve for motion
virtual void solve()
{}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const displacementLinearMotionMotionSolver&) = delete;
};

View File

@ -62,16 +62,6 @@ protected:
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:
//- Runtime type information
@ -88,6 +78,9 @@ public:
const word& type
);
//- Disallow default bitwise copy construction
points0MotionSolver(const points0MotionSolver&) = delete;
//- Destructor
virtual ~points0MotionSolver();
@ -112,6 +105,12 @@ public:
//- Update local data for topology changes
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
interpolatingSolidBodyMotionSolver
(
const interpolatingSolidBodyMotionSolver&
);
//- Disallow default bitwise assignment
void operator=(const interpolatingSolidBodyMotionSolver&) = delete;
public:
//- Runtime type information
@ -103,6 +91,12 @@ public:
const dictionary& dict
);
//- Disallow default bitwise copy construction
interpolatingSolidBodyMotionSolver
(
const interpolatingSolidBodyMotionSolver&
);
//- Destructor
~interpolatingSolidBodyMotionSolver();
@ -116,6 +110,12 @@ public:
//- Solve for motion
virtual void solve()
{}
// Member Operators
//- Disallow default bitwise assignment
void operator=(const interpolatingSolidBodyMotionSolver&) = delete;
};

View File

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

View File

@ -94,15 +94,6 @@ class SDA
scalar dTp_;
// Private Member Functions
//- Disallow default bitwise copy construction
SDA(const SDA&);
//- Disallow default bitwise assignment
void operator=(const SDA&) = delete;
public:
//- Runtime type information
@ -118,6 +109,10 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
SDA(const SDA&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -143,6 +138,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
axisRotationMotion(const axisRotationMotion&);
//- Disallow default bitwise assignment
void operator=(const axisRotationMotion&) = delete;
public:
//- Runtime type information
@ -88,6 +79,9 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
axisRotationMotion(const axisRotationMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -113,6 +107,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
linearMotion(const linearMotion&);
//- Disallow default bitwise assignment
void operator=(const linearMotion&) = delete;
public:
//- Runtime type information
@ -84,6 +75,10 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
linearMotion(const linearMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -109,6 +104,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
multiMotion(const multiMotion&);
//- Disallow default bitwise assignment
void operator=(const multiMotion&) = delete;
public:
//- Runtime type information
@ -84,6 +75,9 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
multiMotion(const multiMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -109,6 +103,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
oscillatingLinearMotion(const oscillatingLinearMotion&);
//- Disallow default bitwise assignment
void operator=(const oscillatingLinearMotion&) = delete;
public:
//- Runtime type information
@ -87,6 +78,9 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
oscillatingLinearMotion(const oscillatingLinearMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -112,6 +106,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
oscillatingRotatingMotion(const oscillatingRotatingMotion&);
//- Disallow default bitwise assignment
void operator=(const oscillatingRotatingMotion&) = delete;
public:
//- Runtime type information
@ -90,6 +81,9 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
oscillatingRotatingMotion(const oscillatingRotatingMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -115,6 +109,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
rotatingMotion(const rotatingMotion&);
//- Disallow default bitwise assignment
void operator=(const rotatingMotion&) = delete;
public:
//- Runtime type information
@ -95,6 +86,10 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
rotatingMotion(const rotatingMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -120,6 +115,12 @@ public:
//- Update properties from given dictionary
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_;
private:
// Private Member Functions
//- Disallow default bitwise copy construction
solidBodyMotionFunction(const solidBodyMotionFunction&) = delete;
//- Disallow default bitwise assignment
void operator=(const solidBodyMotionFunction&) = delete;
public:
//- Runtime type information
@ -106,6 +95,9 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
solidBodyMotionFunction(const solidBodyMotionFunction&) = delete;
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const = 0;
@ -134,6 +126,12 @@ public:
//- Write in dictionary format
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
tabulated6DoFMotion(const tabulated6DoFMotion&);
//- Disallow default bitwise assignment
void operator=(const tabulated6DoFMotion&) = delete;
public:
//- Runtime type information
@ -100,6 +91,10 @@ public:
const Time& runTime
);
//- Disallow default bitwise copy construction
tabulated6DoFMotion(const tabulated6DoFMotion&);
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const
{
@ -125,6 +120,12 @@ public:
//- Update properties from given dictionary
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
solidBodyMotionSolver(const solidBodyMotionSolver&) = delete;
//- Disallow default bitwise assignment
void operator=(const solidBodyMotionSolver&) = delete;
public:
//- Runtime type information
@ -88,6 +79,9 @@ public:
const dictionary&
);
//- Disallow default bitwise copy construction
solidBodyMotionSolver(const solidBodyMotionSolver&) = delete;
//- Destructor
~solidBodyMotionSolver();
@ -101,6 +95,12 @@ public:
//- Solve for motion
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_;
// Private Member Functions
//- Disallow default bitwise copy construction
motionSolverList(const motionSolverList&) = delete;
//- Disallow default bitwise assignment
void operator=(const motionSolverList&) = delete;
public:
//- Runtime type information
@ -79,6 +70,9 @@ public:
//- Construct from mesh and dictionary
motionSolverList(const polyMesh&, const dictionary&);
//- Disallow default bitwise copy construction
motionSolverList(const motionSolverList&) = delete;
//- Destructor
virtual ~motionSolverList();
@ -97,6 +91,12 @@ public:
//- Update local data for topology changes
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
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:
@ -92,6 +80,12 @@ public:
const word& type
);
//- Disallow default bitwise copy construction
velocityMotionSolver
(
const velocityMotionSolver&
);
//- Destructor
virtual ~velocityMotionSolver();
@ -116,6 +110,12 @@ public:
//- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&);
// Member Operators
//- Disallow default bitwise assignment
void operator=(const velocityMotionSolver&) = delete;
};