STYLE: remove dead code, refactor constructors in extrudePatchMesh

This commit is contained in:
Mark Olesen
2020-02-21 11:13:22 +01:00
parent 585ee0fe89
commit 86fe2b7bc9
3 changed files with 52 additions and 110 deletions

View File

@ -142,14 +142,6 @@ void Foam::extrude2DMesh::addFrontBackPatches()
patches
).ptr();
// newPatches[frontPatchi_] = polyPatch::New
// (
// "front",
// patchDict_,
// frontPatchi_,
// patches
// ).ptr();
Info<< "Adding patch " << newPatches[frontPatchi_]->name()
<< " at index " << frontPatchi_
<< " for front faces." << nl << endl;
@ -170,14 +162,6 @@ void Foam::extrude2DMesh::addFrontBackPatches()
patches
).ptr();
// newPatches[frontPatchi_] = polyPatch::New
// (
// "back",
// patchDict_,
// backPatchi_,
// patches
// ).ptr();
Info<< "Adding patch " << newPatches[backPatchi_]->name()
<< " at index " << backPatchi_
<< " for back faces." << nl << endl;