ENH: Added additional clone(...) function to nonuniformCyclicPolyPatch

This commit is contained in:
andy
2010-09-08 14:19:58 +01:00
parent 8badeb9ff0
commit 4ef01f85e4

View File

@ -156,6 +156,29 @@ public:
);
}
//- Construct and return a clone, resetting the face list
// and boundary mesh
virtual autoPtr<polyPatch> clone
(
const polyBoundaryMesh& bm,
const label index,
const unallocLabelList& mapAddressing,
const label newStart
) const
{
return autoPtr<polyPatch>
(
new nonuniformTransformCyclicPolyPatch
(
*this,
bm,
index,
mapAddressing,
newStart
)
);
}
// Destructor