mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: coupledPolyPatch: Make transform virtual so that it can be
overriden by processorCyclicPolyPatch
This commit is contained in:
@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user