Clean-up of default copy constructors for polyPatches - copy constructor needed
This commit is contained in:
parent
284344a11e
commit
d9e45cb58c
2 changed files with 35 additions and 20 deletions
|
@ -96,19 +96,6 @@ Foam::passiveProcessorPolyPatch::passiveProcessorPolyPatch
|
|||
{}
|
||||
|
||||
|
||||
Foam::passiveProcessorPolyPatch::passiveProcessorPolyPatch
|
||||
(
|
||||
const passiveProcessorPolyPatch& pp,
|
||||
const polyBoundaryMesh& bm
|
||||
)
|
||||
:
|
||||
polyPatch(pp, bm),
|
||||
myProcNo_(pp.myProcNo_),
|
||||
neighbProcNo_(pp.neighbProcNo_),
|
||||
globalFaceIndex_(pp.size(), -1)
|
||||
{}
|
||||
|
||||
|
||||
Foam::passiveProcessorPolyPatch::passiveProcessorPolyPatch
|
||||
(
|
||||
const passiveProcessorPolyPatch& pp,
|
||||
|
@ -125,6 +112,31 @@ Foam::passiveProcessorPolyPatch::passiveProcessorPolyPatch
|
|||
{}
|
||||
|
||||
|
||||
Foam::passiveProcessorPolyPatch::passiveProcessorPolyPatch
|
||||
(
|
||||
const passiveProcessorPolyPatch& pp
|
||||
)
|
||||
:
|
||||
polyPatch(pp),
|
||||
myProcNo_(pp.myProcNo_),
|
||||
neighbProcNo_(pp.neighbProcNo_),
|
||||
globalFaceIndex_(pp.size(), -1)
|
||||
{}
|
||||
|
||||
|
||||
Foam::passiveProcessorPolyPatch::passiveProcessorPolyPatch
|
||||
(
|
||||
const passiveProcessorPolyPatch& pp,
|
||||
const polyBoundaryMesh& bm
|
||||
)
|
||||
:
|
||||
polyPatch(pp, bm),
|
||||
myProcNo_(pp.myProcNo_),
|
||||
neighbProcNo_(pp.neighbProcNo_),
|
||||
globalFaceIndex_(pp.size(), -1)
|
||||
{}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::passiveProcessorPolyPatch::~passiveProcessorPolyPatch()
|
||||
|
|
|
@ -99,13 +99,6 @@ public:
|
|||
const polyBoundaryMesh&
|
||||
);
|
||||
|
||||
//- Construct as copy, resetting the boundary mesh
|
||||
passiveProcessorPolyPatch
|
||||
(
|
||||
const passiveProcessorPolyPatch&,
|
||||
const polyBoundaryMesh&
|
||||
);
|
||||
|
||||
//- Construct as given the original patch and resetting the
|
||||
// face list and boundary mesh information
|
||||
passiveProcessorPolyPatch
|
||||
|
@ -117,6 +110,16 @@ public:
|
|||
const label newStart
|
||||
);
|
||||
|
||||
//- Construct as copy
|
||||
passiveProcessorPolyPatch(const passiveProcessorPolyPatch&);
|
||||
|
||||
//- Construct as copy, resetting the boundary mesh
|
||||
passiveProcessorPolyPatch
|
||||
(
|
||||
const passiveProcessorPolyPatch&,
|
||||
const polyBoundaryMesh&
|
||||
);
|
||||
|
||||
//- Construct and return a clone, resetting the boundary mesh
|
||||
virtual autoPtr<polyPatch> clone(const polyBoundaryMesh& bm) const
|
||||
{
|
||||
|
|
Reference in a new issue