STYLE: consistent polyMesh owner/neighbour note

- had different spacing depending if defined from faces or shapes

- reinstates commit f7413b27b7 from history repository
This commit is contained in:
Mark Olesen
2019-02-25 13:11:33 +01:00
parent c98f7fd9f6
commit 3ab5dec91f

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-2011, 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2016 OpenFOAM Foundation
@ -95,11 +95,13 @@ void Foam::polyMesh::initMesh()
nCells
);
string meshInfo =
const string meshInfo
(
"nPoints:" + Foam::name(nPoints())
+ " nCells:" + Foam::name(this->nCells())
+ " nFaces:" + Foam::name(nFaces())
+ " nInternalFaces:" + Foam::name(nInternalFaces());
+ " nInternalFaces:" + Foam::name(nInternalFaces())
);
owner_.note() = meshInfo;
neighbour_.note() = meshInfo;
@ -165,11 +167,13 @@ void Foam::polyMesh::initMesh(cellList& c)
c
);
string meshInfo =
const string meshInfo
(
"nPoints:" + Foam::name(nPoints())
+ " nCells:" + Foam::name(nCells())
+ " nFaces:" + Foam::name(nFaces())
+ " nInternalFaces: " + Foam::name(this->nInternalFaces());
+ " nInternalFaces:" + Foam::name(this->nInternalFaces())
);
owner_.note() = meshInfo;
neighbour_.note() = meshInfo;