mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: minor code formatting
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,7 +38,6 @@ namespace thermoBaffleModels
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
inline tmp<scalarField> thermoBaffle2D::he
|
||||
(
|
||||
const scalarField& p,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -157,7 +157,7 @@ public:
|
||||
// Selectors
|
||||
|
||||
//- Return a reference to the selected model
|
||||
static autoPtr<thermoBaffleModel> New(const fvMesh& mesh);
|
||||
static autoPtr<thermoBaffleModel> New(const fvMesh& mesh);
|
||||
|
||||
//- Return a reference to the selected model using dictionary
|
||||
static autoPtr<thermoBaffleModel> New
|
||||
@ -173,7 +173,6 @@ public:
|
||||
|
||||
// Member Functions
|
||||
|
||||
|
||||
// Access
|
||||
|
||||
//- Return solid thermo
|
||||
|
||||
@ -38,7 +38,6 @@ namespace thermoBaffleModels
|
||||
|
||||
autoPtr<thermoBaffleModel> thermoBaffleModel::New(const fvMesh& mesh)
|
||||
{
|
||||
|
||||
word modelType;
|
||||
{
|
||||
IOdictionary thermoBafflePropertiesDict
|
||||
@ -56,6 +55,7 @@ autoPtr<thermoBaffleModel> thermoBaffleModel::New(const fvMesh& mesh)
|
||||
|
||||
thermoBafflePropertiesDict.lookup("thermoBaffleModel") >> modelType;
|
||||
}
|
||||
|
||||
Info<< "Selecting baffle model " << modelType << endl;
|
||||
|
||||
meshConstructorTable::iterator cstrIter =
|
||||
@ -82,7 +82,6 @@ autoPtr<thermoBaffleModel> thermoBaffleModel::New
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
|
||||
word modelType = dict.lookup("thermoBaffleModel");
|
||||
|
||||
Info<< "Selecting baffle model " << modelType << endl;
|
||||
@ -93,7 +92,7 @@ autoPtr<thermoBaffleModel> thermoBaffleModel::New
|
||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||
{
|
||||
|
||||
FatalErrorIn("thermoBaffleModel::New(const fvMesh&,const dictionary&)")
|
||||
FatalErrorIn("thermoBaffleModel::New(const fvMesh&, const dictionary&)")
|
||||
<< "Unknown thermoBaffleModel type " << modelType
|
||||
<< nl << nl
|
||||
<< "Valid thermoBaffleModel types are:" << nl
|
||||
|
||||
Reference in New Issue
Block a user