Debian Codegraph @

src/atlas/mesh/actions/BuildEdges.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 namespace eckit {
14 class Configuration;
15 } // namespace eckit
16 namespace atlas {
17 class Mesh;
18 } // namespace atlas
19
20 namespace atlas {
21 namespace mesh {
22 namespace actions {
23
24 void build_edges(Mesh& mesh);
25 void build_edges(Mesh& mesh, const eckit::Configuration&);
26 void build_pole_edges(Mesh& mesh);
27 void build_element_to_edge_connectivity(Mesh& mesh);
28 void build_node_to_edge_connectivity(Mesh& mesh);
29
30 // ------------------------------------------------------------------
31
32 } // namespace actions
33 } // namespace mesh
34 } // namespace atlas
35
36 // ------------------------------------------------------------------
37
38 namespace atlas {
39 namespace mesh {
40 namespace detail {
41 class MeshImpl;
42 } // namespace detail
43 } // namespace mesh
44 } // namespace atlas
45
46
47 // C wrapper interfaces to C++ routines
48 extern "C" {
49 void atlas__build_edges(atlas::mesh::detail::MeshImpl* mesh);
50 void atlas__build_pole_edges(atlas::mesh::detail::MeshImpl* mesh);
51 void atlas__build_node_to_edge_connectivity(atlas::mesh::detail::MeshImpl* mesh);
52 }
53
54 // ------------------------------------------------------------------