minor formatting changes

This commit is contained in:
andy
2009-03-12 18:28:39 +00:00
parent f2b46bb5fe
commit 5e76511069
15 changed files with 30 additions and 51 deletions

View File

@ -49,7 +49,6 @@ class Analytical
:
public IntegrationScheme<Type>
{
public:
//- Runtime type information
@ -59,16 +58,11 @@ public:
// Constructors
//- Construct from components
Analytical
(
const word& phiName,
const dictionary& dict
);
Analytical(const word& phiName, const dictionary& dict);
//- Destructor
virtual ~Analytical();
virtual ~Analytical();
// Member Functions

View File

@ -49,7 +49,6 @@ class Euler
:
public IntegrationScheme<Type>
{
public:
//- Runtime type information
@ -59,16 +58,11 @@ public:
// Constructors
//- Construct from components
Euler
(
const word& phiName,
const dictionary& dict
);
Euler(const word& phiName, const dictionary& dict);
//- Destructor
virtual ~Euler();
virtual ~Euler();
// Member Functions

View File

@ -110,6 +110,7 @@ public:
private:
// Private data
//- Name of the Integration variable
@ -152,11 +153,7 @@ public:
// Constructors
//- Construct from components
IntegrationScheme
(
const word& phiName,
const dictionary& dict
);
IntegrationScheme(const word& phiName, const dictionary& dict);
// Selectors
@ -170,8 +167,7 @@ public:
//- Destructor
virtual ~IntegrationScheme();
virtual ~IntegrationScheme();
// Member Functions

View File

@ -26,6 +26,7 @@ Class
Foam::basicReactingCloud
Description
Reacting cloud templated on the reacting parcel
SourceFiles
basicReactingCloud.C

View File

@ -131,7 +131,7 @@ void Foam::phaseProperties::checkTotalMassFraction() const
}
Foam::word Foam::phaseProperties::phaseToStateLabel(phaseType pt)
Foam::word Foam::phaseProperties::phaseToStateLabel(phaseType pt) const
{
word state = "(unknown)";
switch (pt)

View File

@ -101,7 +101,7 @@ private:
void checkTotalMassFraction() const;
//- Set the state label
word phaseToStateLabel(phaseType pt);
word phaseToStateLabel(phaseType pt) const;
public:

View File

@ -95,7 +95,8 @@ Foam::vector Foam::StochasticDispersionRAS<CloudType>::update
dir /= mag(dir) + SMALL;
// Numerical Recipes... Ch. 7. Random Numbers...
scalar x1, x2;
scalar x1 = 0.0;
scalar x2 = 0.0;
scalar rsq = 10.0;
while ((rsq > 1.0) || (rsq == 0.0))
{

View File

@ -34,7 +34,8 @@ Foam::DragModel<CloudType>::DragModel
const dictionary& dict,
CloudType& owner
)
: dict_(dict),
:
dict_(dict),
owner_(owner)
{}
@ -76,9 +77,9 @@ Foam::scalar Foam::DragModel<CloudType>::Cu
const scalar Re = rhoc*magUr*d/(mu + SMALL);
const scalar cd = Cd(Re);
const scalar Cd = this->Cd(Re);
return 3.0*cd*rhoc*magUr/(4.0*d*rhop);
return 3.0*Cd*rhoc*magUr/(4.0*d*rhop);
}

View File

@ -76,7 +76,6 @@ void Foam::Rebound<CloudType>::correct
}
U -= Ut;
}

View File

@ -35,7 +35,8 @@ Foam::WallInteractionModel<CloudType>::WallInteractionModel
CloudType& owner,
const word& type
)
: dict_(dict),
:
dict_(dict),
owner_(owner),
coeffDict_(dict.subDict(type + "Coeffs"))
{}

View File

@ -35,7 +35,8 @@ Foam::CompositionModel<CloudType>::CompositionModel
CloudType& owner,
const word& type
)
: dict_(dict),
:
dict_(dict),
owner_(owner),
coeffDict_(dict.subDict(type + "Coeffs")),
carrierThermo_(owner.carrierThermo()),

View File

@ -33,7 +33,8 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
(
CloudType& owner
)
: dict_(dictionary::null),
:
dict_(dictionary::null),
owner_(owner),
coeffDict_(dictionary::null)
{}
@ -46,7 +47,8 @@ Foam::PhaseChangeModel<CloudType>::PhaseChangeModel
CloudType& owner,
const word& type
)
: dict_(dict),
:
dict_(dict),
owner_(owner),
coeffDict_(dict.subDict(type + "Coeffs"))
{}

View File

@ -44,7 +44,8 @@ Foam::HeatTransferModel<CloudType>::HeatTransferModel
CloudType& owner,
const word& type
)
: dict_(dict),
:
dict_(dict),
owner_(owner),
coeffDict_(dict.subDict(type + "Coeffs"))
{}

View File

@ -53,7 +53,6 @@ class cloudAbsorptionEmission
:
public absorptionEmissionModel
{
// Private data
//- Coefficients dictionary
@ -72,16 +71,11 @@ public:
// Constructors
//- Construct from components
cloudAbsorptionEmission
(
const dictionary& dict,
const fvMesh& mesh
);
cloudAbsorptionEmission(const dictionary& dict, const fvMesh& mesh);
// Destructor
~cloudAbsorptionEmission();
virtual ~cloudAbsorptionEmission();
// Member Operators

View File

@ -46,16 +46,13 @@ namespace radiation
{
/*---------------------------------------------------------------------------*\
Class cloudScatter Declaration
Class cloudScatter Declaration
\*---------------------------------------------------------------------------*/
class cloudScatter
:
public scatterModel
{
private:
// Private data
//- Absorption model dictionary
@ -82,14 +79,11 @@ public:
// Destructor
~cloudScatter();
virtual ~cloudScatter();
// Member Operators
// Edit
// Access
//- Return scatter coefficient