class
#include <atlas/grid/Spacing.h>
LinearSpacing
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