Debian Codegraph @

src/atlas/redistribution/detail/RedistributionInterface.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 #pragma once
11
12 namespace eckit {
13 class Configuration;
14 }
15
16 namespace atlas {
17 namespace functionspace {
18 class FunctionSpaceImpl;
19 }
20 namespace field {
21 class FieldImpl;
22 }
23 } // namespace atlas
24
25 namespace atlas {
26 namespace redistribution {
27 namespace detail {
28 class RedistributionImpl;
29
30 // -------------------------------------------------------------------
31 // C wrapper interfaces to C++ routines
32 extern "C" {
33
34 RedistributionImpl* atlas__Redistribution__new__config(
35 const functionspace::FunctionSpaceImpl* fspace1, const functionspace::FunctionSpaceImpl* fspace2,
36 const eckit::Configuration* config);
37
38 void atlas__Redistribution__execute(
39 const RedistributionImpl* This, const field::FieldImpl* field_1, field::FieldImpl* field_2);
40
41 const functionspace::FunctionSpaceImpl* atlas__Redistribution__source(
42 const RedistributionImpl* This);
43
44 const functionspace::FunctionSpaceImpl* atlas__Redistribution__target(
45 const RedistributionImpl* This);
46
47 }
48
49
50 } // namespace detail
51 } // namespace redistribution
52 } // namespace atlas