Debian Codegraph @

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