Formatting of destructors

This commit is contained in:
Hrvoje Jasak 2017-01-11 12:00:45 +00:00
parent 3d2d26334a
commit aa0342f9a1
13 changed files with 30 additions and 29 deletions

View file

@ -355,9 +355,8 @@ public:
);
// Destructor
virtual ~polyPatch();
//- Destructor
virtual ~polyPatch();
// Member Functions

View file

@ -207,8 +207,7 @@ public:
//- Destructor
virtual ~cellZone();
virtual ~cellZone();
// Member Functions

View file

@ -243,8 +243,7 @@ public:
//- Destructor
virtual ~faceZone();
virtual ~faceZone();
// Member Functions

View file

@ -209,8 +209,7 @@ public:
//- Destructor
virtual ~pointZone();
virtual ~pointZone();
// Member Functions

View file

@ -139,9 +139,8 @@ public:
);
// Destructor
virtual ~fieldMinMax();
//- Destructor
virtual ~fieldMinMax();
// Member Functions

View file

@ -174,9 +174,8 @@ public:
);
// Destructor
virtual ~probes();
//- Destructor
virtual ~probes();
// Member Functions

View file

@ -65,9 +65,8 @@ public:
basicMixture(const dictionary&, const fvMesh&, const objectRegistry&);
// Destructor
virtual ~basicMixture();
//- Destructor
virtual ~basicMixture();
};

View file

@ -75,9 +75,8 @@ public:
pureMixture(const dictionary&, const fvMesh&, const objectRegistry&);
// Destructor
~pureMixture();
//- Destructor
~pureMixture();
// Member functions

View file

@ -95,6 +95,7 @@ public:
return New(mesh, mesh);
}
//- Destructor
virtual ~basicPsiThermo();

View file

@ -88,7 +88,11 @@ public:
// Selectors
//- Standard selection based on fvMesh
static autoPtr<hsCombustionThermo> New(const fvMesh&, const objectRegistry&);
static autoPtr<hsCombustionThermo> New
(
const fvMesh&,
const objectRegistry&
);
static autoPtr<hsCombustionThermo> New(const fvMesh& mesh)
{

View file

@ -72,13 +72,17 @@ public:
// Constructors
//- Construct from dictionary and mesh
reactingMixture(const dictionary&, const fvMesh&, const objectRegistry&);
reactingMixture
(
const dictionary&,
const fvMesh&,
const objectRegistry&
);
// Destructor
virtual ~reactingMixture()
{}
//- Destructor
virtual ~reactingMixture()
{}
// Member functions

View file

@ -44,7 +44,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class ArrheniusReactionRate Declaration
Class ArrheniusReactionRate Declaration
\*---------------------------------------------------------------------------*/
class ArrheniusReactionRate

View file

@ -137,7 +137,7 @@ public:
const scalarField& c
) const;
//- Reverse rate constant from the given formard rate constant
//- Reverse rate constant from the given forward rate constant
virtual scalar kr
(
const scalar kfwd,