Debian Codegraph @

src/atlas/grid/detail/partitioner/MatchingMeshPartitioner.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 <vector>
14
15 #include "atlas/grid/detail/partitioner/Partitioner.h"
16 #include "atlas/mesh/Mesh.h"
17
18 namespace atlas {
19 namespace grid {
20 namespace detail {
21 namespace partitioner {
22
23 class MatchingMeshPartitioner : public Partitioner {
24 public:
25 MatchingMeshPartitioner();
26
27 // MatchingMeshPartitioner(const idx_t nb_partitions);
28
29 MatchingMeshPartitioner(const Mesh&, const eckit::Parametrisation&);
30
31 virtual ~MatchingMeshPartitioner() override {}
32
33 protected:
34 const Mesh prePartitionedMesh_;
35 };
36
37 } // namespace partitioner
38 } // namespace detail
39 } // namespace grid
40 } // namespace atlas