Prevent warning messages with Clang
This commit is contained in:
@ -146,6 +146,12 @@ public:
|
||||
//- Integrate between two values
|
||||
virtual inline Type integral(const scalar x1, const scalar x2) const;
|
||||
|
||||
//- Inherit field value evaluation
|
||||
using FieldFunction1<Type, Dimensioned<Type>>::value;
|
||||
|
||||
//- Inherit field integral evaluation
|
||||
using FieldFunction1<Type, Dimensioned<Type>>::integral;
|
||||
|
||||
//- Return a dimensioned value
|
||||
virtual inline dimensioned<Type> value
|
||||
(
|
||||
|
||||
@ -79,12 +79,6 @@ public:
|
||||
{
|
||||
return tmp<Function1<Type>>(new Uniform<Type>(*this));
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const Uniform<Type>&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -43,7 +43,6 @@ Foam::multiDomainDecomposition::multiDomainDecomposition
|
||||
:
|
||||
multiRegionPrefixer(false, regionNames),
|
||||
runTimes_(runTimes),
|
||||
regionNames_(regionNames),
|
||||
regionMeshes_(regionNames.size())
|
||||
{
|
||||
forAll(regionMeshes_, regioni)
|
||||
|
||||
@ -56,9 +56,6 @@ class multiDomainDecomposition
|
||||
//- Run times
|
||||
const processorRunTimes& runTimes_;
|
||||
|
||||
//- Region names
|
||||
const wordList& regionNames_;
|
||||
|
||||
//- The region complete and processor meshes
|
||||
PtrList<domainDecomposition> regionMeshes_;
|
||||
|
||||
|
||||
@ -94,7 +94,6 @@ const complexVectorField& OUprocess::newField(const scalar deltaT) const
|
||||
{
|
||||
const vectorField& K = Kmesh_;
|
||||
|
||||
label count = 0;
|
||||
scalar sqrkUpper_ = sqr(kUpper_);
|
||||
scalar sqrkLower_ = sqr(kLower_) + small;
|
||||
scalar sqrK;
|
||||
@ -103,7 +102,6 @@ const complexVectorField& OUprocess::newField(const scalar deltaT) const
|
||||
{
|
||||
if ((sqrK = magSqr(K[i])) < sqrkUpper_ && sqrK > sqrkLower_)
|
||||
{
|
||||
count++;
|
||||
OUfield_[i] =
|
||||
(1.0 - alpha_*deltaT)*OUfield_[i]
|
||||
+ scale_*sigma_*WeinerProcess(deltaT);
|
||||
|
||||
@ -74,6 +74,9 @@ public:
|
||||
//- Non-const access the properties dictionary
|
||||
virtual IOdictionary& properties();
|
||||
|
||||
//- Read the properties dictionary
|
||||
using BasicThermoType::read;
|
||||
|
||||
//- Read the properties dictionary
|
||||
virtual bool read();
|
||||
};
|
||||
|
||||
@ -369,6 +369,9 @@ public:
|
||||
virtual tmp<scalarField> W(const label patchi) const;
|
||||
|
||||
|
||||
//- Read thermophysical properties dictionary
|
||||
using BasicThermoType::read;
|
||||
|
||||
//- Read thermophysical properties dictionary
|
||||
virtual bool read();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user