Debian Codegraph @

src/atlas/util/Topology.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 "atlas/util/Bitflags.h"
14
15 namespace atlas {
16 namespace util {
17
18 class Topology : public util::Bitflags {
19 public:
20 enum
21 {
22 NONE = 0,
23 GHOST = (1 << 1),
24 PERIODIC = (1 << 2),
25 BC = (1 << 3),
26 WEST = (1 << 4),
27 EAST = (1 << 5),
28 NORTH = (1 << 6),
29 SOUTH = (1 << 7),
30 PATCH = (1 << 8),
31 POLE = (1 << 9),
32 LAND = (1 << 10),
33 WATER = (1 << 11),
34 INVALID = (1 << 12),
35 };
36 };
37
38 } // namespace util
39 } // namespace atlas