mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
surfaceCheck: Make -blockMesh output easier to parse
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1534
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) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -223,8 +223,9 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
pointField cornerPts(boundBox(surf.points(), false).points());
|
pointField cornerPts(boundBox(surf.points(), false).points());
|
||||||
|
|
||||||
Info<<"// blockMeshDict info" << nl
|
Info<< "// blockMeshDict info" << nl << nl;
|
||||||
<<"vertices\n(" << nl;
|
|
||||||
|
Info<< "vertices\n(" << nl;
|
||||||
forAll(cornerPts, ptI)
|
forAll(cornerPts, ptI)
|
||||||
{
|
{
|
||||||
Info<< " " << cornerPts[ptI] << nl;
|
Info<< " " << cornerPts[ptI] << nl;
|
||||||
@ -239,6 +240,8 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
Info<< "edges\n();" << nl
|
Info<< "edges\n();" << nl
|
||||||
<< "patches\n();" << endl;
|
<< "patches\n();" << endl;
|
||||||
|
|
||||||
|
Info<< nl << "// end blockMeshDict info" << nl << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user