STYLE: code style corrections

This commit is contained in:
andy
2012-09-19 16:18:40 +01:00
parent 8a732ecf37
commit ffd10658b1
2 changed files with 10 additions and 24 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -132,11 +132,9 @@ public:
const word& modelType, const word& modelType,
const fvMesh& mesh, const fvMesh& mesh,
const dictionary& dict const dictionary& dict
); );
//- Destructor //- Destructor
virtual ~thermoBaffle2D(); virtual ~thermoBaffle2D();
@ -182,6 +180,7 @@ public:
//- Return sensible enthalpy/internal energy //- Return sensible enthalpy/internal energy
inline tmp<volScalarField> he() const; inline tmp<volScalarField> he() const;
// Evolution // Evolution
//- Pre-evolve thermal baffle //- Pre-evolve thermal baffle
@ -191,7 +190,6 @@ public:
virtual void evolveRegion(); virtual void evolveRegion();
// I-O // I-O
//- Provide some feedback //- Provide some feedback

View File

@ -62,6 +62,7 @@ class heSolidThermo
//- Construct as copy (not implemented) //- Construct as copy (not implemented)
heSolidThermo(const heSolidThermo<MixtureType, BasicSolidThermo>&); heSolidThermo(const heSolidThermo<MixtureType, BasicSolidThermo>&);
public: public:
//- Runtime type information //- Runtime type information
@ -104,30 +105,17 @@ public:
// Per patch calculation // Per patch calculation
//- Anisotropic thermal conductivity [W//m/K] //- Anisotropic thermal conductivity [W/m/K]
virtual tmp<vectorField> Kappa virtual tmp<vectorField> Kappa(const label patchI) const;
(
const label patchI
) const;
//- Absorption coefficient [1/m] //- Absorption coefficient [1/m]
virtual tmp<scalarField> kappaRad virtual tmp<scalarField> kappaRad(const label patchI) const;
(
const label patchI
) const;
//- Scatter coefficient //- Scatter coefficient
virtual tmp<scalarField> sigmaS virtual tmp<scalarField> sigmaS(const label patchI) const;
(
const label patchI
) const;
//- Emissivity coefficient [1/m] //- Emissivity coefficient [1/m]
virtual tmp<scalarField> emissivity virtual tmp<scalarField> emissivity(const label patchI) const;
(
const label patchI
) const;
}; };
@ -135,7 +123,7 @@ public:
} // End namespace Foam } // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
# include "heSolidThermo.C" # include "heSolidThermo.C"