Prevent warning messages with Clang

This commit is contained in:
Will Bainbridge
2023-09-06 11:21:57 +01:00
parent 3650675a52
commit c9cd00a5f6
7 changed files with 12 additions and 12 deletions

View File

@ -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
(

View File

@ -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;
};

View File

@ -43,7 +43,6 @@ Foam::multiDomainDecomposition::multiDomainDecomposition
:
multiRegionPrefixer(false, regionNames),
runTimes_(runTimes),
regionNames_(regionNames),
regionMeshes_(regionNames.size())
{
forAll(regionMeshes_, regioni)

View File

@ -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_;

View File

@ -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);

View File

@ -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();
};

View File

@ -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();
};