Skip to content
Snippets Groups Projects
Commit 4965c8c8 authored by andy's avatar andy
Browse files

STYLE: minor code formatting

parent 4f4dec9d
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment