atlas
Public Member Functions | Friends | List of all members
atlas::mesh::PartitionPolygon Class Reference

Polygon class that holds the boundary of a mesh partition. More...

#include <PartitionPolygon.h>

Inheritance diagram for atlas::mesh::PartitionPolygon:
Inheritance graph
[legend]
Collaboration diagram for atlas::mesh::PartitionPolygon:
Collaboration graph
[legend]

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
 
- Public Member Functions inherited from atlas::util::PartitionPolygon
virtual const RectangularDomaininscribedDomain () const
 Return inscribed rectangular domain (not rotated)
 
- Public Member Functions inherited from atlas::util::Polygon
 Polygon (const edge_set_t &)
 
 operator bool () const
 
Polygonoperator+= (const Polygon &)
 
void print (std::ostream &) const
 

Friends

std::ostream & operator<< (std::ostream &s, const PartitionPolygon &p)
 

Additional Inherited Members

- Public Types inherited from atlas::util::PartitionPolygon
using PointsXY = std::vector< Point2 >
 
using PointsLonLat = std::vector< Point2 >
 
- Public Types inherited from atlas::util::Polygon
using edge_set_t = std::set< edge_t, typename edge_t::LessThan >
 
using container_t = std::vector< idx_t >
 
- Protected Member Functions inherited from atlas::util::Polygon
void setup (const edge_set_t &)
 

Detailed Description

Polygon class that holds the boundary of a mesh partition.


The documentation for this class was generated from the following files: