mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrections identified after testing gcc 4.7
This commit is contained in:
@ -70,8 +70,7 @@ void Foam::KinematicCloud<CloudType>::setModels()
|
||||
SurfaceFilmModel<KinematicCloud<CloudType> >::New
|
||||
(
|
||||
subModelProperties_,
|
||||
*this,
|
||||
g_
|
||||
*this
|
||||
).ptr()
|
||||
);
|
||||
|
||||
|
||||
@ -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
|
||||
@ -62,7 +62,7 @@ class CellZoneInjection
|
||||
// Private data
|
||||
|
||||
//- Name of cell zone
|
||||
const word& cellZoneName_;
|
||||
const word cellZoneName_;
|
||||
|
||||
//- Number density
|
||||
const scalar numberDensity_;
|
||||
|
||||
@ -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
|
||||
@ -32,8 +32,7 @@ template<class CloudType>
|
||||
Foam::NoSurfaceFilm<CloudType>::NoSurfaceFilm
|
||||
(
|
||||
const dictionary&,
|
||||
CloudType& owner,
|
||||
const dimensionedVector&
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SurfaceFilmModel<CloudType>(owner)
|
||||
|
||||
@ -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
|
||||
@ -68,7 +68,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from dictionary
|
||||
NoSurfaceFilm(const dictionary&, CloudType&, const dimensionedVector&);
|
||||
NoSurfaceFilm(const dictionary&, CloudType&);
|
||||
|
||||
//- Construct copy
|
||||
NoSurfaceFilm(const NoSurfaceFilm<CloudType>& dm);
|
||||
|
||||
@ -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
|
||||
@ -36,7 +36,7 @@ template<class CloudType>
|
||||
Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel(CloudType& owner)
|
||||
:
|
||||
SubModelBase<CloudType>(owner),
|
||||
g_(dimensionedVector("zero", dimAcceleration, vector::zero)),
|
||||
g_(owner.g()),
|
||||
ejectedParcelType_(0),
|
||||
massParcelPatch_(0),
|
||||
diameterParcelPatch_(0),
|
||||
@ -53,12 +53,11 @@ Foam::SurfaceFilmModel<CloudType>::SurfaceFilmModel
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g,
|
||||
const word& type
|
||||
)
|
||||
:
|
||||
SubModelBase<CloudType>(owner, dict, typeName, type),
|
||||
g_(g),
|
||||
g_(owner.g()),
|
||||
ejectedParcelType_
|
||||
(
|
||||
this->coeffDict().lookupOrDefault("ejectedParcelType", -1)
|
||||
|
||||
@ -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
|
||||
@ -140,10 +140,9 @@ public:
|
||||
dictionary,
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g
|
||||
CloudType& owner
|
||||
),
|
||||
(dict, owner, g)
|
||||
(dict, owner)
|
||||
);
|
||||
|
||||
|
||||
@ -157,7 +156,6 @@ public:
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g,
|
||||
const word& type
|
||||
);
|
||||
|
||||
@ -182,8 +180,7 @@ public:
|
||||
static autoPtr<SurfaceFilmModel<CloudType> > New
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g
|
||||
CloudType& owner
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
@ -32,8 +32,7 @@ Foam::autoPtr<Foam::SurfaceFilmModel<CloudType> >
|
||||
Foam::SurfaceFilmModel<CloudType>::New
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g
|
||||
CloudType& owner
|
||||
)
|
||||
{
|
||||
const word modelType(dict.lookup("surfaceFilmModel"));
|
||||
@ -59,7 +58,7 @@ Foam::SurfaceFilmModel<CloudType>::New
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
return autoPtr<SurfaceFilmModel<CloudType> >(cstrIter()(dict, owner, g));
|
||||
return autoPtr<SurfaceFilmModel<CloudType> >(cstrIter()(dict, owner));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
@ -487,11 +487,10 @@ template<class CloudType>
|
||||
Foam::ThermoSurfaceFilm<CloudType>::ThermoSurfaceFilm
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g
|
||||
CloudType& owner
|
||||
)
|
||||
:
|
||||
SurfaceFilmModel<CloudType>(dict, owner, g, typeName),
|
||||
SurfaceFilmModel<CloudType>(dict, owner, typeName),
|
||||
rndGen_(owner.rndGen()),
|
||||
thermo_
|
||||
(
|
||||
|
||||
@ -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
|
||||
@ -248,12 +248,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
ThermoSurfaceFilm
|
||||
(
|
||||
const dictionary& dict,
|
||||
CloudType& owner,
|
||||
const dimensionedVector& g
|
||||
);
|
||||
ThermoSurfaceFilm(const dictionary& dict, CloudType& owner);
|
||||
|
||||
//- Construct copy
|
||||
ThermoSurfaceFilm(const ThermoSurfaceFilm<CloudType>& sfm);
|
||||
|
||||
Reference in New Issue
Block a user