OpenFPM  5.2.0
Project that contain the implementation of distributed structures
Decomposition_encap< Decomposition, garray > Class Template Reference

Public Member Functions

 Decomposition_encap (Decomposition &dec, garray &gd_array)
 
Decompositioninternal_dec () const
 
void decompose ()
 Start decomposition.
 
void refine (size_t ts)
 Refine the decomposition, available only for ParMetis distribution, for Metis it is a null call. More...
 
void redecompose (size_t ts)
 Refine the decomposition, available only for ParMetis distribution, for Metis it is a null call. More...
 
auto getDistribution () -> decltype(dec.getDistribution())
 
Decomposition_encap< Decomposition, garray > operator= (const Decomposition_encap< Decomposition, garray > &de) const
 
bool write (std::string output) const
 

Private Attributes

Decompositiondec
 
garray & gd_array
 

Detailed Description

template<typename Decomposition, typename garray>
class Decomposition_encap< Decomposition, garray >

Definition at line 25 of file grid_dist_amr.hpp.

Member Function Documentation

◆ redecompose()

template<typename Decomposition , typename garray >
void Decomposition_encap< Decomposition, garray >::redecompose ( size_t  ts)
inline

Refine the decomposition, available only for ParMetis distribution, for Metis it is a null call.

Parameters
tsnumber of time step from the previous load balancing

Definition at line 76 of file grid_dist_amr.hpp.

◆ refine()

template<typename Decomposition , typename garray >
void Decomposition_encap< Decomposition, garray >::refine ( size_t  ts)
inline

Refine the decomposition, available only for ParMetis distribution, for Metis it is a null call.

Parameters
tsnumber of time step from the previous load balancing

Definition at line 60 of file grid_dist_amr.hpp.


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