STYLE: remove trailing space, shell quoting

- emit "constant " and "uniform " as separate word/space combination
This commit is contained in:
Mark Olesen
2020-02-20 08:28:16 +01:00
parent 2d416a68a0
commit fbbf9064b9
33 changed files with 62 additions and 58 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2016 Shell Research Ltd.
Copyright (C) 2019 OpenCFD Ltd.
Copyright (C) 2019-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -185,7 +185,8 @@ static inline scalar averageSurrounding
template<class Type>
static inline Ostream& putUniform(Ostream& os, const word& key, const Type& val)
{
os.writeKeyword(key) << "uniform " << val << token::END_STATEMENT << nl;
os.writeKeyword(key) << word("uniform") << token::SPACE
<< val << token::END_STATEMENT << nl;
return os;
}