atlas::interpolation::method::cubedsphere::CellFinder class

class to find points within cells of cubedsphere mesh.

Public types

struct Cell

Constructors, destructors, conversion operators

CellFinder(const Mesh& mesh, const util::Config& config = util::Config("halo", 0))
Constructor.

Public functions

auto getCell(const PointXY& xy, size_t listSize = 4, double edgeEpsilon = 5.*std::numeric_limits<double>::epsilon(), double epsilon = 5.*std::numeric_limits<double>::epsilon()) const -> Cell
Find a cell which encompasses an xy point.
auto getCell(const PointLonLat& lonlat, size_t listSize = 4, double edgeEpsilon = 5.*std::numeric_limits<double>::epsilon(), double epsilon = 5.*std::numeric_limits<double>::epsilon()) const -> Cell
Find a cell which encompasses a lonlat point.