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 //- Destructor
virtual ~polyPatch();
virtual ~polyPatch();
// Member Functions // Member Functions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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