OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Decomposition< T, S > Class Template Reference

This class define the domain decomposition interface. More...

Detailed Description

template<typename T, typename S>
class Decomposition< T, S >

This class define the domain decomposition interface.

This class define the domain decomposition interface, its main functionality is to divide a domain in several subspaces

Template Parameters
Tstructure that store the dataset
Stype of space is decomposing Real integer complex ...

Definition at line 33 of file Decomposition.hpp.

#include <Decomposition.hpp>

Private Member Functions

virtual T getInternal ()
 The the internal part of the data set, or the data that does not depend from the ghosts layers.
 
virtual T getBorder ()
 
virtual T getExternal ()
 
virtual dataDiv< T > divide ()
 divide the dataset from internal part and border
 
virtual size_t getNHyperCube (size_t id)
 Get the number of hyper-cube the space id is divided into.
 
virtual std::vector< T > & getHyperCube (size_t id, size_t id_c)
 Get the hyper-cube margins.
 
virtual ~Decomposition ()
 destructor
 

Constructor & Destructor Documentation

◆ ~Decomposition()

template<typename T , typename S >
virtual Decomposition< T, S >::~Decomposition ( )
inlineprivatevirtual

destructor

Definition at line 68 of file Decomposition.hpp.

Member Function Documentation

◆ getBorder()

template<typename T , typename S >
virtual T Decomposition< T, S >::getBorder ( )
privatevirtual

Get the ghost part of the dataset

Returns
The internal part of the dataset

◆ getExternal()

template<typename T , typename S >
virtual T Decomposition< T, S >::getExternal ( )
privatevirtual

Get the external part of the dataset (outside the ghost)

Returns
The external part of the dataset

◆ getInternal()

template<typename T , typename S >
virtual T Decomposition< T, S >::getInternal ( )
privatevirtual

The the internal part of the data set, or the data that does not depend from the ghosts layers.

Returns
The internal part of the dataset

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