mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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 =
|
||||
"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;
|
||||
|
||||
Reference in New Issue
Block a user