dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::Yasp::DefaultPartitioning< d > Class Template Reference

#include <dune/grid/yaspgrid/partitioning.hh>

Inheritance diagram for Dune::Yasp::DefaultPartitioning< d >:
Inheritance graph

Public Types

using iTupel = std::array< int, d >
 

Public Member Functions

void partition (const iTupel &size, int P, iTupel &dims, int overlap) const final
 Distribute a structured grid across a set of processors. More...
 

Member Typedef Documentation

◆ iTupel

template<int d>
using Dune::Yasp::DefaultPartitioning< d >::iTupel = std::array<int, d>

Member Function Documentation

◆ partition()

template<int d>
void Dune::Yasp::DefaultPartitioning< d >::partition ( const iTupel size,
int  P,
iTupel dims,
int  overlap 
) const
inlinefinalvirtual

Distribute a structured grid across a set of processors.

Parameters
[in]sizeNumber of elements in each coordinate direction, for the entire grid
[in]PNumber of processors

Implements Dune::Yasp::Partitioning< d >.


The documentation for this class was generated from the following file: