ENH: patch types wall.

This commit is contained in:
graham
2010-10-13 18:26:49 +01:00
parent f7d3162a15
commit 76c5f4d93d

View File

@ -29,6 +29,7 @@ License
#include "zeroGradientPointPatchField.H"
#include "pointMesh.H"
#include "pointFields.H"
#include "wallPolyPatch.H"
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
@ -249,14 +250,15 @@ void Foam::conformalVoronoiMesh::writeMesh
forAll (patches, p)
{
patches[p] = new polyPatch
patches[p] = polyPatch::New
(
wallPolyPatch::typeName,
patchNames[p],
patchSizes[p],
patchStarts[p],
p,
mesh.boundaryMesh()
);
).ptr();
}
mesh.addFvPatches(patches);