atlas::grid::LinearSpacing class

Base classes

class Spacing

Public types

using Interval = std::array<double, 2>
using const_iterator = std::vector<double>::const_iterator
using Spec = atlas::util::Config

Constructors, destructors, conversion operators

LinearSpacing() defaulted
LinearSpacing(double start, double stop, long N, bool endpoint = true)
LinearSpacing(const Interval&, long N, bool endpoint = true)
Spacing() defaulted
Spacing(const eckit::Parametrisation&)

Public functions

auto step() const -> double
auto size() const -> size_t
auto operator[](size_t i) const -> double
auto begin() const -> const_iterator
auto end() const -> const_iterator
auto front() const -> double
auto back() const -> double
auto interval() const -> Interval
auto min() const -> double
auto max() const -> double
auto type() const -> std::string
auto spec() const -> Spec
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.