Debian Codegraph @

src/atlas/field/detail/MultiFieldInterface.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 /// @file MultiFieldInterface.h
12 /// @author Willem Deconinck
13 /// @date Sep 2014
14
15 #pragma once
16
17 #include "atlas/field/FieldSet.h"
18 #include "atlas/field/MultiField.h"
19
20 namespace atlas {
21 namespace functionspace {
22 }
23 } // namespace atlas
24
25 namespace atlas {
26 namespace field {
27
28 //----------------------------------------------------------------------------------------------------------------------
29
30 // C wrapper interfaces to C++ routines
31 extern "C" {
32 MultiFieldImpl* atlas__MultiField__create(eckit::Configuration* config);
33 MultiFieldImpl* atlas__MultiField__create_shape(int kind, int rank, int shapef[], const char* var_names,
34 size_t length, size_t size);
35 void atlas__MultiField__delete(MultiFieldImpl* This);
36 int atlas__MultiField__size(MultiFieldImpl* This);
37 FieldSetImpl* atlas__MultiField__fieldset(MultiFieldImpl* This);
38 }
39
40 //----------------------------------------------------------------------------------------------------------------------
41
42 } // namespace field
43 } // namespace atlas