|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
partitioning.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
70 void optimize_dims (int i, const iTupel& size, int P, iTupel& dims, iTupel& trydims, double &opt, int overlap ) const
137 DUNE_THROW(GridError, "Power partitioning failed: your number of processes needs to be a " << d << "-th power.");
153 void partition(const std::array<int,d>&, int P, std::array<int,d>& dims, int /*overlap*/) const final
159 DUNE_THROW(Dune::Exception,"Your processor number doesn't match your partitioning information");
int size() const
#define DUNE_THROW(E,...)
constexpr Base power(Base m, Exponent p)
Include standard header files.
a base class for the yaspgrid partitioning strategy
Definition partitioning.hh:38
virtual ~Partitioning()=default
virtual void partition(const iTupel &, int, iTupel &, int) const =0
Definition partitioning.hh:47
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:56
Implement yaspgrid load balance strategy for P=x^{dim} processors.
Definition partitioning.hh:124
virtual ~PowerDPartitioning()
Definition partitioning.hh:127
void partition(const iTupel &, int P, iTupel &dims, int) const final
Definition partitioning.hh:129
Implement partitioner that gets a fixed partitioning from an array If the given partitioning doesn't ...
Definition partitioning.hh:147
void partition(const std::array< int, d > &, int P, std::array< int, d > &dims, int) const final
Definition partitioning.hh:153
FixedSizePartitioning(const std::array< int, d > &dims)
Definition partitioning.hh:149
virtual ~FixedSizePartitioning()
Definition partitioning.hh:151
T fill(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8