Debian Codegraph @

src/atlas/mesh/Halo.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 <cstddef>
14
15 namespace atlas {
16 class Mesh;
17 namespace mesh {
18 namespace detail {
19 class MeshImpl;
20 }
21 } // namespace mesh
22 } // namespace atlas
23
24 namespace atlas {
25 namespace mesh {
26
27 // -------------------------------------------------------------------
28
29 class Halo {
30 public:
31 Halo() {}
32 Halo(const Mesh& mesh);
33 Halo(const detail::MeshImpl& mesh);
34 Halo(const int size): size_(size) {}
35 int size() const;
36
37 private:
38 int size_{-1};
39 };
40
41 } // namespace mesh
42 } // namespace atlas