| 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 |
namespace eckit { |
| 14 |
class Parametrisation; |
| 15 |
} // namespace eckit |
| 16 |
|
| 17 |
namespace atlas { |
| 18 |
namespace grid { |
| 19 |
class DistributionImpl; |
| 20 |
} // namespace grid |
| 21 |
} // namespace atlas |
| 22 |
|
| 23 |
namespace atlas { |
| 24 |
namespace grid { |
| 25 |
namespace detail { |
| 26 |
namespace grid { |
| 27 |
class Grid; |
| 28 |
} // namespace grid |
| 29 |
} // namespace detail |
| 30 |
} // namespace grid |
| 31 |
using GridImpl = grid::detail::grid::Grid; |
| 32 |
} // namespace atlas |
| 33 |
namespace atlas { |
| 34 |
namespace mesh { |
| 35 |
namespace detail { |
| 36 |
class MeshImpl; |
| 37 |
} // namespace detail |
| 38 |
} // namespace mesh |
| 39 |
} // namespace atlas |
| 40 |
namespace atlas { |
| 41 |
namespace grid { |
| 42 |
namespace detail { |
| 43 |
namespace partitioner { |
| 44 |
class Partitioner; |
| 45 |
} // namespace partitioner |
| 46 |
} // namespace detail |
| 47 |
} // namespace grid |
| 48 |
using PartitionerImpl = grid::detail::partitioner::Partitioner; |
| 49 |
} // namespace atlas |
| 50 |
|
| 51 |
|
| 52 |
namespace atlas { |
| 53 |
namespace meshgenerator { |
| 54 |
|
| 55 |
class MeshGeneratorImpl; |
| 56 |
|
| 57 |
//---------------------------------------------------------------------------------------------------------------------- |
| 58 |
|
| 59 |
extern "C" { |
| 60 |
void atlas__MeshGenerator__delete(MeshGeneratorImpl* This); |
| 61 |
const MeshGeneratorImpl* atlas__MeshGenerator__create_noconfig(const char* name); |
| 62 |
const MeshGeneratorImpl* atlas__MeshGenerator__create(const char* name, const eckit::Parametrisation* params); |
| 63 |
mesh::detail::MeshImpl* atlas__MeshGenerator__generate__grid_griddist(const MeshGeneratorImpl* This, |
| 64 |
const GridImpl* grid, |
| 65 |
const grid::DistributionImpl* distribution); |
| 66 |
mesh::detail::MeshImpl* atlas__MeshGenerator__generate__grid(const MeshGeneratorImpl* This, const GridImpl* grid); |
| 67 |
mesh::detail::MeshImpl* atlas__MeshGenerator__generate__grid_partitioner(const MeshGeneratorImpl* This, |
| 68 |
const GridImpl* grid, |
| 69 |
const PartitionerImpl* partitioner); |
| 70 |
} |
| 71 |
|
| 72 |
//---------------------------------------------------------------------------------------------------------------------- |
| 73 |
|
| 74 |
} // namespace meshgenerator |
| 75 |
|
| 76 |
//---------------------------------------------------------------------------------------------------------------------- |
| 77 |
|
| 78 |
} // namespace atlas |