mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove trailing space, shell quoting
- emit "constant " and "uniform " as separate word/space combination
This commit is contained in:
@ -139,7 +139,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
label pointI = localPoints[ppI];
|
||||
normalDisplacement[pointI] =
|
||||
(meshPoints[pointI] - points0[pointI])
|
||||
(meshPoints[pointI] - points0[pointI])
|
||||
& pointNormals[pointI];
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user