Formatting and clean-up

This commit is contained in:
Hrvoje Jasak 2018-05-15 10:53:40 +01:00
parent 18f62ca66a
commit 511d68e98a
6 changed files with 10 additions and 16 deletions

View file

@ -44,7 +44,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class layeredEngineMesh Declaration
Class layeredEngineMesh Declaration
\*---------------------------------------------------------------------------*/
class layeredEngineMesh
@ -77,9 +77,8 @@ public:
layeredEngineMesh(const IOobject& io);
// Destructor
~layeredEngineMesh();
//- Destructor
virtual ~layeredEngineMesh();
// Member Functions

View file

@ -143,6 +143,7 @@ class engineValve
//- Adjust crank angle to drop within the limits of the lift profile
scalar adjustCrankAngle(const scalar theta) const;
public:
// Static data members

View file

@ -128,12 +128,11 @@ void Foam::engineVerticalValve::writeDict(Ostream& os) const
{
engineValve::writeDict(os);
os << "headPatch " << valveHeadPatch_.name() << token::END_STATEMENT << nl
<< "bottomLayerOffset " << bottomLayerOffset_
<< token::END_STATEMENT << nl
<< "bottomLayerOffsetayerTol " << bottomLayerTol_
<< token::END_STATEMENT << nl
<< token::END_STATEMENT << nl
<< "topLayerOffset " << topLayerOffset_ << token::END_STATEMENT << nl
<< "topLayerTol " << topLayerTol_ << token::END_STATEMENT << nl
<< "detachDistance " << detachDistance_ << token::END_STATEMENT << nl

View file

@ -51,7 +51,7 @@ class polyMesh;
class engineTime;
/*---------------------------------------------------------------------------*\
Class engineVerticalValve Declaration
Class engineVerticalValve Declaration
\*---------------------------------------------------------------------------*/
class engineVerticalValve
@ -93,12 +93,8 @@ class engineVerticalValve
void operator=(const engineVerticalValve&);
public:
// Static data members
// Constructors
//- Construct from components

View file

@ -47,7 +47,7 @@ class polyMesh;
class engineTime;
/*---------------------------------------------------------------------------*\
Class simpleEnginePiston Declaration
Class simpleEnginePiston Declaration
\*---------------------------------------------------------------------------*/
class simpleEnginePiston

View file

@ -105,10 +105,9 @@ public:
explicit simpleEngineTopoFvMesh(const IOobject& io);
// Destructor
virtual ~simpleEngineTopoFvMesh()
{}
//- Destructor
virtual ~simpleEngineTopoFvMesh()
{}
// Member Functions