mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide xferFaces mechanism for triSurface for symmetry with MeshedSurface
This commit is contained in:
@ -918,6 +918,16 @@ void Foam::triSurface::triFaceFaces(List<face>& plainFaces) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::Xfer<Foam::List<Foam::labelledTri>>
|
||||||
|
Foam::triSurface::xferFaces()
|
||||||
|
{
|
||||||
|
// Topology changed because of transfer
|
||||||
|
clearOut();
|
||||||
|
|
||||||
|
return this->storedFaces().xfer();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Foam::Xfer<Foam::List<Foam::point>>
|
Foam::Xfer<Foam::List<Foam::point>>
|
||||||
Foam::triSurface::xferPoints()
|
Foam::triSurface::xferPoints()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -431,6 +431,9 @@ public:
|
|||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
|
||||||
|
//- Transfer stored faces to an Xfer container
|
||||||
|
Xfer<List<labelledTri>> xferFaces();
|
||||||
|
|
||||||
//- Transfer stored points to an Xfer container
|
//- Transfer stored points to an Xfer container
|
||||||
Xfer<List<point>> xferPoints();
|
Xfer<List<point>> xferPoints();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user