Commit b675d134 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

STYLE: consistent polyMesh owner/neighbour note

- had different spacing depending if defined from faces or shapes

- reinstates commit f7413b27 from history repository
parent c9549ba6
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 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 =
"nPoints: " + Foam::name(nPoints())
+ " nCells: " + Foam::name(nCells())
+ " nFaces: " + Foam::name(nFaces())
+ " nInternalFaces: " + Foam::name(this->nInternalFaces());
const string meshInfo
(
"nPoints:" + Foam::name(nPoints())
+ " nCells:" + Foam::name(nCells())
+ " nFaces:" + Foam::name(nFaces())
+ " nInternalFaces:" + Foam::name(this->nInternalFaces())
);
owner_.note() = meshInfo;
neighbour_.note() = meshInfo;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment