mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: logFiles - minor change to suppress compiler warning
This commit is contained in:
@ -129,7 +129,7 @@ Foam::PtrList<Foam::OFstream>& Foam::functionObjects::logFiles::files()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::OFstream& Foam::functionObjects::logFiles::file(const label i)
|
Foam::OFstream& Foam::functionObjects::logFiles::files(const label i)
|
||||||
{
|
{
|
||||||
if (!Pstream::master())
|
if (!Pstream::master())
|
||||||
{
|
{
|
||||||
|
|||||||
@ -128,7 +128,7 @@ public:
|
|||||||
PtrList<OFstream>& files();
|
PtrList<OFstream>& files();
|
||||||
|
|
||||||
//- Return file 'i'
|
//- Return file 'i'
|
||||||
OFstream& file(const label i);
|
OFstream& files(const label i);
|
||||||
|
|
||||||
//- Write function
|
//- Write function
|
||||||
virtual bool write();
|
virtual bool write();
|
||||||
|
|||||||
@ -99,7 +99,7 @@ bool Foam::functionObjects::cloudInfo::read(const dictionary& dict)
|
|||||||
forAll(names(), i)
|
forAll(names(), i)
|
||||||
{
|
{
|
||||||
Info<< " " << names()[i] << nl;
|
Info<< " " << names()[i] << nl;
|
||||||
writeFileHeader(file(i));
|
writeFileHeader(files(i));
|
||||||
}
|
}
|
||||||
Info<< endl;
|
Info<< endl;
|
||||||
}
|
}
|
||||||
@ -148,8 +148,8 @@ bool Foam::functionObjects::cloudInfo::write()
|
|||||||
|
|
||||||
if (writeToFile())
|
if (writeToFile())
|
||||||
{
|
{
|
||||||
writeTime(file(i));
|
writeTime(files(i));
|
||||||
file(i)
|
files(i)
|
||||||
<< token::TAB
|
<< token::TAB
|
||||||
<< nParcels << token::TAB
|
<< nParcels << token::TAB
|
||||||
<< massInSystem << token::TAB
|
<< massInSystem << token::TAB
|
||||||
|
|||||||
Reference in New Issue
Block a user