atlas
|
Polygon class that holds the boundary of a mesh partition. More...
#include <PartitionPolygon.h>
Public Member Functions | |
PartitionPolygon (const detail::MeshImpl &mesh, idx_t halo) | |
Construct "size" polygon. | |
idx_t | halo () const override |
Return value of halo. | |
size_t | footprint () const override |
Return the memory footprint of the Polygon. | |
void | outputPythonScript (const eckit::PathName &, const eckit::Configuration &=util::NoConfig()) const override |
Output a python script that plots the partition. | |
PointsXY | xy () const override |
All (x,y) coordinates defining a polygon. Last point should match first. | |
PointsXY | lonlat () const override |
All (lon,lat) coordinates defining a polygon. Last point should match first. | |
void | allGather (util::PartitionPolygons &) const override |
![]() | |
virtual const RectangularDomain & | inscribedDomain () const |
Return inscribed rectangular domain (not rotated) | |
![]() | |
Polygon (const edge_set_t &) | |
operator bool () const | |
Polygon & | operator+= (const Polygon &) |
void | print (std::ostream &) const |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PartitionPolygon &p) |
Additional Inherited Members | |
![]() | |
using | PointsXY = std::vector< Point2 > |
using | PointsLonLat = std::vector< Point2 > |
![]() | |
using | edge_set_t = std::set< edge_t, typename edge_t::LessThan > |
using | container_t = std::vector< idx_t > |
![]() | |
void | setup (const edge_set_t &) |
Polygon class that holds the boundary of a mesh partition.