OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
FD::grid_dist_expression_iterator_to_make_algebra_work< dim > Class Template Reference

Detailed Description

template<unsigned int dim>
class FD::grid_dist_expression_iterator_to_make_algebra_work< dim >

Definition at line 1934 of file FD_expressions.hpp.

Public Member Functions

 grid_dist_expression_iterator_to_make_algebra_work (openfpm::vector< grid_cpu< dim, aggregate< double > > > &loc_grid, openfpm::vector< GBoxes< dim > > &gdb_ext, grid_sm< dim, void > &ginfo_v)
 
gdb_ext_plus_g_info< dim > size ()
 
template<unsigned int prp>
auto get (grid_dist_key_dx< dim > &key) -> decltype(loc_grid.get(key.getSub()).template get< 0 >(key.getKey()))
 
size_t getN_loc_grid () const
 Return the number of local grid.
 
device_gridget_loc_grid (size_t i)
 Get the i sub-domain grid.
 
const device_gridget_loc_grid (size_t i) const
 Get the i sub-domain grid.
 
const grid_sm< dim, void > & getGridInfoVoid () const
 Get an object containing the grid informations without type.
 
const openfpm::vector< GBoxes< device_grid::dims > > & getLocalGridsInfo () const
 It return the informations about the local grids.
 
void resize (const gdb_ext_plus_g_info< dim > &input)
 
grid_dist_iterator< dim, device_grid, decltype(device_grid::type_of_subiterator()), FREE > getIterator ()
 

Static Public Attributes

static constexpr unsigned int dims = dim
 

Private Types

typedef grid_cpu< dim, aggregate< double > > device_grid
 

Private Attributes

grid_sm< dim, void > & ginfo_v
 Grid informations object without type.
 
openfpm::vector< grid_cpu< dim, aggregate< double > > > & loc_grid
 The grid.
 
openfpm::vector< GBoxes< dim > > & gdb_ext
 

Member Typedef Documentation

◆ device_grid

template<unsigned int dim>
typedef grid_cpu<dim,aggregate<double> > FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::device_grid
private

Definition at line 1944 of file FD_expressions.hpp.

Constructor & Destructor Documentation

◆ grid_dist_expression_iterator_to_make_algebra_work()

template<unsigned int dim>
FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::grid_dist_expression_iterator_to_make_algebra_work ( openfpm::vector< grid_cpu< dim, aggregate< double > > > &  loc_grid,
openfpm::vector< GBoxes< dim > > &  gdb_ext,
grid_sm< dim, void > &  ginfo_v 
)
inline

Definition at line 1950 of file FD_expressions.hpp.

Member Function Documentation

◆ get()

template<unsigned int dim>
template<unsigned int prp>
auto FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::get ( grid_dist_key_dx< dim > &  key) -> decltype(loc_grid.get(key.getSub()).template get<0>(key.getKey()))
inline

Definition at line 1963 of file FD_expressions.hpp.

◆ get_loc_grid() [1/2]

template<unsigned int dim>
device_grid & FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::get_loc_grid ( size_t  i)
inline

Get the i sub-domain grid.

Parameters
isub-domain
Returns
local grid

Definition at line 1986 of file FD_expressions.hpp.

◆ get_loc_grid() [2/2]

template<unsigned int dim>
const device_grid & FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::get_loc_grid ( size_t  i) const
inline

Get the i sub-domain grid.

Parameters
isub-domain
Returns
local grid

Definition at line 1998 of file FD_expressions.hpp.

◆ getGridInfoVoid()

template<unsigned int dim>
const grid_sm< dim, void > & FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::getGridInfoVoid ( ) const
inline

Get an object containing the grid informations without type.

Returns
an information object about this grid

Definition at line 2008 of file FD_expressions.hpp.

◆ getIterator()

template<unsigned int dim>
grid_dist_iterator< dim, device_grid, decltype(device_grid::type_of_subiterator()), FREE > FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::getIterator ( )
inline

Definition at line 2043 of file FD_expressions.hpp.

◆ getLocalGridsInfo()

template<unsigned int dim>
const openfpm::vector< GBoxes< device_grid::dims > > & FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::getLocalGridsInfo ( ) const
inline

It return the informations about the local grids.

Returns
The information about the local grids

Definition at line 2018 of file FD_expressions.hpp.

◆ getN_loc_grid()

template<unsigned int dim>
size_t FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::getN_loc_grid ( ) const
inline

Return the number of local grid.

Returns
the number of local grid

Definition at line 1974 of file FD_expressions.hpp.

◆ resize()

template<unsigned int dim>
void FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::resize ( const gdb_ext_plus_g_info< dim > &  input)
inline

Definition at line 2023 of file FD_expressions.hpp.

◆ size()

template<unsigned int dim>
gdb_ext_plus_g_info< dim > FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::size ( )
inline

Definition at line 1956 of file FD_expressions.hpp.

Field Documentation

◆ dims

template<unsigned int dim>
constexpr unsigned int FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::dims = dim
staticconstexpr

Definition at line 1948 of file FD_expressions.hpp.

◆ gdb_ext

template<unsigned int dim>
openfpm::vector<GBoxes<dim> >& FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::gdb_ext
private

Definition at line 1942 of file FD_expressions.hpp.

◆ ginfo_v

template<unsigned int dim>
grid_sm<dim,void>& FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::ginfo_v
private

Grid informations object without type.

Definition at line 1937 of file FD_expressions.hpp.

◆ loc_grid

template<unsigned int dim>
openfpm::vector<grid_cpu<dim,aggregate<double> > >& FD::grid_dist_expression_iterator_to_make_algebra_work< dim >::loc_grid
private

The grid.

Definition at line 1940 of file FD_expressions.hpp.


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