Changed writeKeyword to the new simpler writeEntry form where appropriate

This commit is contained in:
Henry Weller
2019-01-29 22:32:42 +00:00
parent 15b1d6e7ec
commit e5532ff568
104 changed files with 407 additions and 582 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -88,7 +88,7 @@ void Foam::Function1Types::TableFile<Type>::writeData(Ostream& os) const
// the values themselves
TableBase<Type>::writeEntries(os);
os.writeKeyword("file")<< fName_ << token::END_STATEMENT << nl;
writeEntry(os, "file", fName_);
os << decrIndent << indent << token::END_BLOCK << endl;
}