BUG: coupledPolyPatch: Make transform virtual so that it can be

overriden by processorCyclicPolyPatch
This commit is contained in:
laurence
2012-12-12 11:08:47 +00:00
parent 44d1ed3eae
commit 293d651331
2 changed files with 16 additions and 2 deletions

View File

@ -254,7 +254,7 @@ public:
}
//- Type of transform
transformType transform() const
virtual transformType transform() const
{
return transform_;
}
@ -262,7 +262,7 @@ public:
//- Type of transform
// This is currently only for use when collapsing generated
// meshes that can have zero area faces.
transformType& transform()
virtual transformType& transform()
{
return transform_;
}

View File

@ -275,6 +275,20 @@ public:
return referPatch().owner();
}
//- Type of transform
virtual transformType transform() const
{
return referPatch().transform();
}
//- Type of transform
// This is currently only for use when collapsing generated
// meshes that can have zero area faces.
virtual transformType& transform()
{
return const_cast<coupledPolyPatch&>(referPatch()).transform();
}
//- Transform a patch-based position from other side to this side
virtual void transformPosition(pointField& l) const
{