|
dune-grid 2.9.1
|
Loading...
Searching...
No Matches
partitioning.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
71 void optimize_dims (int i, const iTupel& size, int P, iTupel& dims, iTupel& trydims, double &opt, int overlap ) const
138 DUNE_THROW(GridError, "Power partitioning failed: your number of processes needs to be a " << d << "-th power.");
154 void partition(const std::array<int,d>&, int P, std::array<int,d>& dims, int overlap) const final
160 DUNE_THROW(Dune::Exception,"Your processor number doesn't match your partitioning information");
int size() const
#define DUNE_NO_DEPRECATED_END
#define DUNE_NO_DEPRECATED_BEGIN
#define DUNE_THROW(E, m)
constexpr Base power(Base m, Exponent p)
STL namespace.
Include standard header files.
a base class for the yaspgrid partitioning strategy
Definition partitioning.hh:39
virtual ~Partitioning()=default
virtual void partition(const iTupel &, int, iTupel &, int) const =0
Definition partitioning.hh:48
void partition(const iTupel &size, int P, iTupel &dims, int overlap) const final
Distribute a structured grid across a set of processors.
Definition partitioning.hh:57
Implement yaspgrid load balance strategy for P=x^{dim} processors.
Definition partitioning.hh:125
virtual ~PowerDPartitioning()
Definition partitioning.hh:128
void partition(const iTupel &size, int P, iTupel &dims, int overlap) const final
Definition partitioning.hh:130
Implement partitioner that gets a fixed partitioning from an array If the given partitioning doesn't ...
Definition partitioning.hh:148
void partition(const std::array< int, d > &, int P, std::array< int, d > &dims, int overlap) const final
Definition partitioning.hh:154
FixedSizePartitioning(const std::array< int, d > &dims)
Definition partitioning.hh:150
virtual ~FixedSizePartitioning()
Definition partitioning.hh:152
void partition(const iTupel &size, int P, iTupel &dims, int overlap) const final
Definition partitioning.hh:181
virtual void loadbalance(const iTupel &, int, iTupel &) const =0
Definition partitioning.hh:190
void loadbalance(const iTupel &size, int P, iTupel &dims) const final
Definition partitioning.hh:196
YLoadBalanceForward(std::unique_ptr< Yasp::Partitioning< d > > &&p)
Definition partitioning.hh:194
virtual ~YLoadBalanceForward()
Definition partitioning.hh:195
Implement the default load balance strategy of yaspgrid.
Definition partitioning.hh:206
Implement yaspgrid load balance strategy for P=x^{dim} processors.
Definition partitioning.hh:218
Implement partitioner that gets a fixed partitioning from an array If the given partitioning doesn't ...
Definition partitioning.hh:233
YaspFixedSizePartitioner(const std::array< int, d > &dims)
Definition partitioning.hh:236
T fill(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8