Sprucing up the tutorials folder and adding -dict to "collapseEdges"

Patch provided by Bruno Santos
Resolves patch application request http://www.openfoam.org/mantisbt/view.php?id=2015
This commit is contained in:
Henry Weller
2016-03-06 19:06:44 +00:00
parent 7fc1915e1d
commit 4bc77e6aff
34 changed files with 233 additions and 295 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -946,6 +946,24 @@ Foam::polyMeshFilter::polyMeshFilter
writeSettings(Info);
}
Foam::polyMeshFilter::polyMeshFilter
(
const fvMesh& mesh,
const labelList& pointPriority,
const dictionary& dict
)
:
polyMeshFilterSettings(dict),
mesh_(mesh),
newMeshPtr_(),
originalPointPriority_(pointPriority),
pointPriority_(),
minEdgeLen_(),
faceFilterFactor_()
{
writeSettings(Info);
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //

View File

@ -207,6 +207,14 @@ public:
//- Construct from fvMesh and a label list of point priorities
polyMeshFilter(const fvMesh& mesh, const labelList& pointPriority);
//- Construct from fvMesh and a label list of point priorities
polyMeshFilter
(
const fvMesh& mesh,
const labelList& pointPriority,
const dictionary& dict
);
//- Destructor
~polyMeshFilter();
@ -257,7 +265,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
#include "polyMeshFilterTemplates.C"
# include "polyMeshFilterTemplates.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //