|
|
| vector_dist_subset (vector_dist_ws< dim, St, prop, Decomposition, Memory, layout_base > &vd, int sub_id) |
| |
|
void | ghost_get_subset () |
| |
| openfpm::vector< aggregate< int > > & | getIds () |
| | Return the ids. More...
|
| |
|
void | update () |
| | Update the subset indexes.
|
| |
| Decomposition & | getDecomposition () |
| | Get the decomposition. More...
|
| |
| const Decomposition & | getDecomposition () const |
| | Get the decomposition. More...
|
| |
| size_t | size_local () const |
| | return the local size of vector_dist_ws More...
|
| |
| size_t | size_local_subset () const |
| | return the local size of the vector More...
|
| |
| auto | getPos (size_t vec_key) -> decltype(vd.getPos(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getPos (size_t vec_key) const -> decltype(vd.getPos(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getPosSubset (size_t vec_key) -> decltype(vd.getPos(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getPosSubset (size_t vec_key) const -> decltype(vd.getPos(vec_key)) |
| | Get the position of an element. More...
|
| |
| template<unsigned int ... prp> |
| void | hostToDeviceProp () |
| | Move the memory from the device to host memory. More...
|
| |
| void | hostToDevicePos () |
| | Move the memory from the device to host memory. More...
|
| |
| template<unsigned int id> |
| auto | getProp (size_t vec_key) -> decltype(vd.template getProp< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| template<unsigned int id> |
| auto | getProp (size_t vec_key) const -> decltype(vd.template getProp< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| template<unsigned int id> |
| auto | getPropSubset (size_t vec_key) -> decltype(vd.template getProp< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| template<unsigned int id> |
| auto | getPropSubset (size_t vec_key) const -> decltype(vd.template getProp< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| vector_dist_iterator_subset | getDomainIterator () const |
| | Get an iterator that traverse the particles in the domain. More...
|
| |
| template<typename CellL = CellList<dim, St, Mem_fast<>, shift<dim, St>, typename std::remove_reference<decltype(vd.getPosVector())>::type >> |
| CellL | getCellList (St r_cut, bool no_se3=false) |
| | Construct a cell list starting from the stored particles. More...
|
| |
| template<unsigned int opt = VL_NON_SYMMETRIC, typename VerletList_type = VerletList<dim,St,opt,Mem_fast<>,shift<dim,St>,typename std::remove_reference<decltype(vd.getPosVector())>::type>> |
| VerletList_type | getVerlet (St r_cut, bool no_se3=false) |
| | Construct a Verlet List from the stored particles. More...
|
| |
| template<unsigned int opt, typename Mem_type , typename vPos_type > |
| void | updateVerlet (VerletList< dim, St, opt, Mem_type, shift< dim, St >, vPos_type > &verletList, St r_cut, bool no_se3=false) |
| | Update an existing Verlet List. More...
|
| |
| bool | isSubset () const |
| | Indicate that this class is not a subset. More...
|
| |
| template<typename CellL = CellList<dim, St, Mem_fast<>, shift<dim, St> >> |
| CellL | getCellList (St r_cut, const Ghost< dim, St > &enlarge, bool no_se3=false) |
| | Construct a cell list starting from the stored particles. More...
|
| |
| vector_dist_subset< dim, St, prop, Decomposition, Memory, layout_base > & | operator= (const vector_dist_subset< dim, St, prop, Decomposition, Memory, layout_base > &v) |
| | Operator= for distributed vector. More...
|
| |
template<unsigned int dim, typename St, typename prop, typename Decomposition = CartDecomposition<dim,St>, typename Memory = HeapMemory, template< typename > class layout_base = memory_traits_lin>
class vector_dist_subset< dim, St, prop, Decomposition, Memory, layout_base >
Definition at line 83 of file vector_dist_subset.hpp.
template<unsigned int dim, typename St , typename prop , typename Decomposition = CartDecomposition<dim,St>, typename Memory = HeapMemory, template< typename > class layout_base = memory_traits_lin>
template<typename CellL = CellList<dim, St, Mem_fast<>, shift<dim, St>, typename std::remove_reference<decltype(vd.getPosVector())>::type >>
Construct a cell list starting from the stored particles.
- Template Parameters
-
- Parameters
-
| r_cut | interation radius, or size of each cell |
| no_se3 | avoid SE_CLASS3 checking |
- Returns
- the Cell list
Definition at line 422 of file vector_dist_subset.hpp.
template<unsigned int dim, typename St , typename prop , typename Decomposition = CartDecomposition<dim,St>, typename Memory = HeapMemory, template< typename > class layout_base = memory_traits_lin>
template<typename CellL = CellList<dim, St, Mem_fast<>, shift<dim, St> >>
Construct a cell list starting from the stored particles.
It differ from the get getCellList for an additional parameter, in case the domain + ghost is not big enough to contain additional padding particles, a Cell list with bigger space can be created (padding particles in general are particles added by the user out of the domains)
- Template Parameters
-
- Parameters
-
| r_cut | interation radius, or size of each cell |
| enlarge | In case of padding particles the cell list must be enlarged, like a ghost this parameter say how much must be enlarged |
| no_se3 | avoid se_class3 cheking default false |
- Returns
- the CellList
Definition at line 530 of file vector_dist_subset.hpp.
template<unsigned int dim, typename St , typename prop , typename Decomposition = CartDecomposition<dim,St>, typename Memory = HeapMemory, template< typename > class layout_base = memory_traits_lin>
template<unsigned int opt = VL_NON_SYMMETRIC, typename VerletList_type = VerletList<dim,St,opt,Mem_fast<>,shift<dim,St>,typename std::remove_reference<decltype(vd.getPosVector())>::type>>
Construct a Verlet List from the stored particles.
- Template Parameters
-
| opt | Verlet List option flag |
| VerletList_type | Verlet List type to construct |
- Parameters
-
| r_cut | interation radius, or size of each cell |
| no_se3 | avoid SE_CLASS3 checking |
- Returns
- the Verlet List
Definition at line 451 of file vector_dist_subset.hpp.