Skip to content
Snippets Groups Projects
Commit 293d6513 authored by laurence's avatar laurence
Browse files

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

overriden by processorCyclicPolyPatch
parent 44d1ed3e
Branches
Tags
No related merge requests found
......@@ -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_;
}
......
......@@ -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
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment