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