Debian Codegraph @

src/atlas/grid/detail/vertical/VerticalInterface.h

raw
1 /*
2 * (C) Copyright 2013 ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 * In applying this licence, ECMWF does not waive the privileges and immunities
7 * granted to it by virtue of its status as an intergovernmental organisation
8 * nor does it submit to any jurisdiction.
9 */
10
11 #pragma once
12
13 #include <vector>
14
15 //#include "atlas/util/Object.h"
16
17 #include "atlas/library/config.h"
18
19 namespace atlas {
20 class Vertical;
21 namespace field {
22 class FieldImpl;
23 }
24 } // namespace atlas
25
26 namespace atlas {
27
28 extern "C" {
29 Vertical* atlas__Vertical__new(idx_t levels, const double z[]);
30 Vertical* atlas__Vertical__new_interval(idx_t levels, const double z[], const double interval[]);
31 void atlas__Vertical__delete(Vertical* This);
32 field::FieldImpl* atlas__Vertical__z(const Vertical* This);
33 int atlas__Vertical__size(const Vertical* This);
34 }
35
36 } // namespace atlas