|
|
void | setSubset (size_t key, int sub_id) |
| |
|
int | getSubset (size_t key) |
| |
|
void | ghost_get_subset () |
| |
|
void | getLastSubset (int sub_id) |
| |
|
bool | write_frame (std::string out, size_t iteration, int opt=VTK_WRITER) |
| |
|
bool | write_frame (std::string out, size_t iteration, double time, int opt=VTK_WRITER) |
| |
|
bool | write (std::string out, int opt=VTK_WRITER) |
| |
| vector_dist< dim, St, AggregateAppend< int, prop >::type, CartDecomposition< dim, St >, HeapMemory, memory_traits_lin > & | operator= (const vector_dist< dim, St, AggregateAppend< int, prop >::type, CartDecomposition< dim, St >, HeapMemory, memory_traits_lin > &v) |
| | Operator= for distributed vector. More...
|
| |
| vector_dist< dim, St, AggregateAppend< int, prop >::type, CartDecomposition< dim, St >, HeapMemory, memory_traits_lin > & | operator= (vector_dist< dim, St, AggregateAppend< int, prop >::type, CartDecomposition< dim, St >, HeapMemory, memory_traits_lin > &&v) |
| | Operator= for distributed vector. More...
|
| |
| | vector_dist (const vector_dist< dim, St, AggregateAppend< int, prop >::type, CartDecomposition< dim, St >, HeapMemory, memory_traits_lin > &v) |
| | Copy Constructor. More...
|
| |
| | vector_dist (vector_dist< dim, St, AggregateAppend< int, prop >::type, CartDecomposition< dim, St >, HeapMemory, memory_traits_lin > &&v) noexcept |
| | Copy constructor. More...
|
| |
| | vector_dist (const CartDecomposition< dim, St > &dec, size_t np) |
| | Constructor with predefined decomposition. More...
|
| |
| | vector_dist (size_t np, Box< dim, St > box, const size_t(&bc)[dim], const Ghost< dim, St > &g, const grid_sm< dim, void > &gdist) |
| | Constructor of a distributed vector. More...
|
| |
| | vector_dist (size_t np, Box< dim, St > box, const size_t(&bc)[dim], const Ghost< dim, St > &g, size_t opt=0, const grid_sm< dim, void > &gdist=grid_sm< dim, void >()) |
| | Constructor of a distributed vector. More...
|
| |
| void | setReferenceCounterToOne () |
| |
|
void | clear () |
| | remove all the elements
|
| |
| size_t | size_local () const |
| | return the local size of the vector More...
|
| |
| size_t | size_local_with_ghost () const |
| | return the local size of the vector More...
|
| |
| auto | getPos (vect_dist_key_dx vec_key) -> decltype(vPos.template get< 0 >(vec_key.getKey())) |
| | Get the position of an element. More...
|
| |
| auto | getPos (vect_dist_key_dx vec_key) const -> decltype(vPos.template get< 0 >(vec_key.getKey())) |
| | Get the position of an element. More...
|
| |
| auto | getPos (size_t vec_key) -> decltype(vPos.template get< 0 >(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getPos (size_t vec_key) const -> decltype(vPos.template get< 0 >(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getProp (vect_dist_key_dx vec_key) -> decltype(vPrp.template get< id >(vec_key.getKey())) |
| | Get the property of an element. More...
|
| |
| auto | getProp (vect_dist_key_dx vec_key) const -> decltype(vPrp.template get< id >(vec_key.getKey())) |
| | Get the property of an element. More...
|
| |
| auto | getProp (size_t vec_key) -> decltype(vPrp.template get< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| auto | getProp (size_t vec_key) const -> decltype(vPrp.template get< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| auto | getPosNC (vect_dist_key_dx vec_key) -> decltype(vPos.template get< 0 >(vec_key.getKey())) |
| | Get the position of an element. More...
|
| |
| auto | getPosNC (vect_dist_key_dx vec_key) const -> decltype(vPos.template get< 0 >(vec_key.getKey())) |
| | Get the position of an element. More...
|
| |
| auto | getPosNC (size_t vec_key) -> decltype(vPos.template get< 0 >(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getPosNC (size_t vec_key) const -> decltype(vPos.template get< 0 >(vec_key)) |
| | Get the position of an element. More...
|
| |
| auto | getPropNC (vect_dist_key_dx vec_key) -> decltype(vPrp.template get< id >(vec_key.getKey())) |
| | Get the property of an element. More...
|
| |
| auto | getPropNC (vect_dist_key_dx vec_key) const -> decltype(vPrp.template get< id >(vec_key.getKey())) |
| | Get the property of an element. More...
|
| |
| auto | getPropNC (size_t vec_key) -> decltype(vPrp.template get< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| auto | getPropNC (size_t vec_key) const -> decltype(vPrp.template get< id >(vec_key)) |
| | Get the property of an element. More...
|
| |
| auto | getPosWrite (vect_dist_key_dx vec_key) -> decltype(vPos.template get< 0 >(vec_key.getKey())) |
| | Get the position of an element. More...
|
| |
| auto | getPosRead (vect_dist_key_dx vec_key) const -> decltype(vPos.template get< 0 >(vec_key.getKey())) |
| | Get the position of an element. More...
|
| |
| auto | getPropWrite (vect_dist_key_dx vec_key) -> decltype(vPrp.template get< id >(vec_key.getKey())) |
| | Get the property of an element. More...
|
| |
| auto | getPropRead (vect_dist_key_dx vec_key) const -> decltype(vPrp.template get< id >(vec_key.getKey())) |
| | Get the property of an element. More...
|
| |
| void | add () |
| | Add local particle. More...
|
| |
| void | appendLocal () |
| | Add at the END of local and ghost particle. More...
|
| |
| auto | getLastPos () -> decltype(vPos.template get< 0 >(0)) |
| | Get the position of the last element. More...
|
| |
| auto | getLastPosEnd () -> decltype(vPos.template get< 0 >(0)) |
| | Get the position of the last element after ghost. More...
|
| |
| auto | getLastProp () -> decltype(vPrp.template get< id >(0)) |
| | Get the property of the last element. More...
|
| |
| auto | getLastPosRead () -> decltype(vPos.template get< 0 >(0)) |
| | Get the position of the last element. More...
|
| |
| auto | getLastPropRead () -> decltype(vPrp.template get< id >(0)) |
| | Get the property of the last element. More...
|
| |
| auto | getLastPosWrite () -> decltype(vPos.template get< 0 >(0)) |
| | Get the position of the last element. More...
|
| |
| auto | getLastPropWrite () -> decltype(vPrp.template get< id >(0)) |
| | Get the property of the last element. More...
|
| |
| CellList_type | getCellListSym (St r_cut, size_t opt=CL_LINEAR_CELL_KEYS) |
| | Construct a cell list symmetric based on a cut-off radius. More...
|
| |
| CellL | getCellListSym (const size_t(&div)[dim], const size_t(&pad)[dim], size_t opt=CL_LINEAR_CELL_KEYS) |
| | Construct a symmetric cell list based on a number of divisions and padding. More...
|
| |
| CellList_type | getCellListSymLocal (St r_cut, size_t opt=CL_LINEAR_CELL_KEYS) |
| | Construct a local symmetric cell list based on a cut-off radius. More...
|
| |
| CellList_type | getCellList (St r_cut, size_t opt=CL_NON_SYMMETRIC|CL_LINEAR_CELL_KEYS, bool no_se3=false, float ghostEnlargeFactor=1.013) |
| | Construct a cell list starting from the stored particles. More...
|
| |
| CellL | getCellList_hilb (St r_cut, size_t opt=CL_NON_SYMMETRIC) |
| | Construct an hilbert cell list starting from the stored particles. More...
|
| |
| void | updateCellList (CellL &cellList, bool no_se3=false) |
| | Update a cell list using the stored particles. More...
|
| |
| VerletList_type | getVerletSym (St r_cut) |
| | for each particle get the symmetric verlet list More...
|
| |
| VerletList_type | getVerletCrs (St r_cut) |
| | for each particle get the symmetric verlet list More...
|
| |
| VerletList_type | getVerletAdaptRCut () |
| | Get Verlet list with unique cut-off radius for every particle. More...
|
| |
| VerletList_type | getVerlet (St r_cut, size_t neighborMaxNum=0) |
| | for each particle get the verlet list More...
|
| |
| void | updateVerlet (VerletList< dim, St, opt, Mem_type, shift< dim, St > > &verletList, St r_cut) |
| | for each particle get the verlet list More...
|
| |
| void | updateVerletAdaptRCut (VerletList< dim, St, opt, Mem_type, shift< dim, St > > &verletList) |
| | Update non-symmetric adaptive r-cut Verlet list. More...
|
| |
| void | reorder (int32_t m, reorder_opt opt=reorder_opt::HILBERT) |
| | Construct a cell list starting from the stored particles and reorder a vector according to the Hilberts curve. More...
|
| |
| void | reorder (int32_t m, const Ghost< dim, St > &enlarge, reorder_opt opt=reorder_opt::HILBERT) |
| | Construct a cell list starting from the stored particles and reorder a vector according to the Hilberts curve. More...
|
| |
| void | reorder_rcut (St r_cut) |
| | Construct a cell list starting from the stored particles and reorder a vector according to the Hilberts curve. More...
|
| |
| size_t | init_size_accum (size_t np) |
| | It return the number of particles contained by the previous processors. More...
|
| |
| vector_dist_iterator | getIterator () |
| | Get an iterator that traverse domain and ghost particles. More...
|
| |
| vector_dist_iterator | getIterator (size_t start, size_t stop) |
| | Get an iterator that traverse domain and ghost particles. More...
|
| |
| grid_dist_id_iterator_dec< CartDecomposition< dim, St > > | getGridIterator (const size_t(&sz)[dim]) |
| |
| vector_dist_iterator | getGhostIterator () const |
| | Get the iterator across the position of the ghost particles. More...
|
| |
| vector_dist_iterator | getGhostIterator_no_se3 () const |
| | Get the iterator across the position of the ghost particles. More...
|
| |
| ParticleIt_Cells< dim, CellList > | getDomainIteratorCells (CellList &cellList) |
| | Get an iterator that traverse the particles in the domain using a cell list. More...
|
| |
| vector_dist_iterator | getDomainIterator () const |
| | Get an iterator that traverse the particles in the domain. More...
|
| |
| auto | getDomainIteratorDevice (size_t n_thr=default_kernel_wg_threads_) const -> decltype(this->getDomainIterator()) |
| | Get an iterator that traverse the particles in the domain. More...
|
| |
| vector_dist_iterator | getDomainIterator_no_se3 () const |
| | Get an iterator that traverse the particles in the domain. More...
|
| |
| vector_dist_iterator | getDomainAndGhostIterator () const |
| | Get an iterator that traverse the particles in the domain. More...
|
| |
| vector_dist_iterator | getDomainAndGhostIterator_no_se3 () const |
| | Get an iterator that traverse the particles in the domain. More...
|
| |
| CartDecomposition< dim, St > & | getDecomposition () |
| | Get the decomposition. More...
|
| |
| const CartDecomposition< dim, St > & | getDecomposition () const |
| | Get the decomposition. More...
|
| |
| void | map_list (size_t opt=NONE) |
| | It move all the particles that does not belong to the local processor to the respective processor. More...
|
| |
| void | map (size_t opt=NONE) |
| | It move all the particles that does not belong to the local processor to the respective processor. More...
|
| |
|
void | ghost_get_subset () |
| | Stub does not do anything.
|
| |
| void | ghost_get (size_t opt=WITH_POSITION) |
| | It synchronize the properties and position of the ghost particles. More...
|
| |
| void | Ighost_get (size_t opt=WITH_POSITION) |
| | It synchronize the properties and position of the ghost particles. More...
|
| |
| void | ghost_wait (size_t opt=WITH_POSITION) |
| | It synchronize the properties and position of the ghost particles. More...
|
| |
| void | ghost_put (size_t opt_=NONE) |
| | It synchronize the properties and position of the ghost particles. More...
|
| |
| void | remove (std::set< size_t > &keys) |
| | Remove a set of elements from the distributed vector. More...
|
| |
| void | remove (openfpm::vector< size_t > &keys, size_t start=0) |
| | Remove a set of elements from the distributed vector. More...
|
| |
| void | remove (openfpm::vector< aggregate< int >> &keys, size_t start=0) |
| | Remove a set of elements from the distributed vector. More...
|
| |
| void | remove (size_t key) |
| | Remove one element from the distributed vector. More...
|
| |
| void | addComputationCosts (const self &vd, Model md=Model()) |
| | Add the computation cost on the decomposition coming from the particles. More...
|
| |
| void | addComputationCosts (Model md=Model(), size_t ts=1) |
| | Add the computation cost on the decomposition coming from the particles. More...
|
| |
| void | finalizeComputationCosts (Model md=Model(), size_t ts=1) |
| | Add the computation cost on the decomposition coming from the particles. More...
|
| |
|
void | initializeComputationCosts () |
| | Initialize the computational cost.
|
| |
| void | save (const std::string &filename) const |
| | Save the distributed vector on HDF5 file. More...
|
| |
| void | load (const std::string &filename) |
| | Load the distributed vector from an HDF5 file. More...
|
| |
| void | setCapacity (unsigned int ns) |
| | Reserve space for the internal vectors. More...
|
| |
| bool | write (std::string out, int opt=VTK_WRITER) |
| | Output particle position and properties. More...
|
| |
| bool | write (std::string out, std::string meta_info, int opt=VTK_WRITER) |
| | Output particle position and properties. More...
|
| |
|
void | deleteGhost () |
| | Delete the particles on the ghost.
|
| |
| void | resize (size_t rs) |
| | Resize the vector (locally) More...
|
| |
| void | discardLocalAppend (size_t rs) |
| | Resize the vector at the end of the ghost (locally) More...
|
| |
| bool | write_frame (std::string out, size_t iteration, int opt=VTK_WRITER) |
| | Output particle position and properties. More...
|
| |
| bool | write_frame (std::string out, size_t iteration, std::string meta_info, int opt=VTK_WRITER) |
| | Output particle position and properties. More...
|
| |
| bool | write_frame (std::string out, size_t iteration, double time, int opt=VTK_WRITER) |
| | Output particle position and properties and add a time stamp to pvtp. More...
|
| |
| void | getCellListParams (St r_cut, size_t(&div)[dim], Box< dim, St > &box, Ghost< dim, St > enlarge=Ghost< dim, St >(0.0)) |
| | Get the Celllist parameters. More...
|
| |
| Vcluster< HeapMemory > & | getVC () |
| | Get the Virtual Cluster machine. More...
|
| |
| const openfpm::vector< Point< dim, St >, HeapMemory,memory_traits_lin > & | getPosVector () const |
| | return the position vector of all the particles More...
|
| |
| openfpm::vector< Point< dim, St >, HeapMemory,memory_traits_lin > & | getPosVector () |
| | return the position vector of all the particles More...
|
| |
| const openfpm::vector< AggregateAppend< int, prop >::type,HeapMemory,memory_traits_lin > & | getPropVector () const |
| | return the property vector of all the particles More...
|
| |
| openfpm::vector< AggregateAppend< int, prop >::type,HeapMemory,memory_traits_lin > & | getPropVector () |
| | return the property vector of all the particles More...
|
| |
| size_t | accum () |
| | It return the sum of the particles in the previous processors. More...
|
| |
| ParticleItCRS_Cells< dim, cli, decltype(vPos)> | getParticleIteratorCRS_Cell (cli &cellList) |
| | Get a special particle iterator able to iterate across particles using symmetric crossing scheme. More...
|
| |
| void | setPropNames (const openfpm::vector< std::string > &names) |
| | Set the properties names. More...
|
| |
| openfpm::vector< std::string > & | getPropNames () |
| | Get the properties names. More...
|
| |
| openfpm::vector_key_iterator_seq< typename VerletList_type::Mem_type_type::local_index_type > | getParticleIteratorCRS (VerletList_type &cellList) |
| | Get a special particle iterator able to iterate across particles using symmetric crossing scheme. More...
|
| |
| grid_key_dx< dim > | getCRSStart (Celllist &cellList) |
| | Return from which cell we have to start in case of CRS interation scheme. More...
|
| |
| grid_key_dx< dim > | getCRSStop (Celllist &cellList) |
| | Return from which cell we have to stop in case of CRS interation scheme. More...
|
| |
| bool | isSubset () const |
| | Indicate that this class is not a subset. More...
|
| |
| void | deviceToHostProp () |
| | Move the memory from the device to host memory. More...
|
| |
| void | deviceToHostPos () |
| | Move the memory from the device to host memory. More...
|
| |
| void | hostToDeviceProp () |
| | Move the memory from the device to host memory. More...
|
| |
| void | hostToDevicePos () |
| | Move the memory from the device to host memory. More...
|
| |
| | vector_dist_comm (const vector_dist_comm< dim, St, prop, Decomposition, Memory, layout_base > &v) |
| | Copy Constructor. More...
|
| |
| | vector_dist_comm (const Decomposition &dec) |
| | Constructor. More...
|
| |
| | vector_dist_comm (Decomposition &&dec) |
| | Constructor. More...
|
| |
|
| vector_dist_comm () |
| | Constructor.
|
| |
| | ~vector_dist_comm () |
| | Destructor. More...
|
| |
| size_t | getDecompositionGranularity () |
| | Get the number of minimum sub-domain per processor. More...
|
| |
| void | setDecompositionGranularity (size_t n_sub) |
| | Set the minimum number of sub-domain per processor. More...
|
| |
| void | init_decomposition (Box< dim, St > &box, const size_t(&bc)[dim], const Ghost< dim, St > &g, size_t opt, const grid_sm< dim, void > &gdist) |
| | Initialize the decomposition. More...
|
| |
| void | init_decomposition_gr_cell (Box< dim, St > &box, const size_t(&bc)[dim], const Ghost< dim, St > &g, size_t opt, const grid_sm< dim, void > &gdist) |
| | Initialize the decomposition. More...
|
| |
| template<unsigned int impl, int ... prp> |
| void | ghost_get_ (openfpm::vector< Point< dim, St >, Memory, layout_base > &v_pos, openfpm::vector< prop, Memory, layout_base > &v_prp, size_t &ghostMarker, size_t opt=WITH_POSITION) |
| | It synchronize the properties and position of the ghost particles. More...
|
| |
| template<int ... prp> |
| void | ghost_wait_ (openfpm::vector< Point< dim, St >, Memory, layout_base > &v_pos, openfpm::vector< prop, Memory, layout_base > &v_prp, size_t &ghostMarker, size_t opt=WITH_POSITION) |
| | It synchronize the properties and position of the ghost particles. More...
|
| |
| template<unsigned int ... prp> |
| void | map_list_ (openfpm::vector< Point< dim, St >> &v_pos, openfpm::vector< prop > &v_prp, size_t &ghostMarker, size_t opt) |
| | It move all the particles that does not belong to the local processor to the respective processor. More...
|
| |
| template<typename obp = KillParticle> |
| void | map_ (openfpm::vector< Point< dim, St >, Memory, layout_base > &v_pos, openfpm::vector< prop, Memory, layout_base > &v_prp, size_t &ghostMarker, size_t opt) |
| | It move all the particles that does not belong to the local processor to the respective processor. More...
|
| |
| void | setDecomposition (Decomposition &dec2) |
| | Set the decomposition. More...
|
| |
| Decomposition & | getDecomposition () |
| | Get the decomposition. More...
|
| |
| const Decomposition & | getDecomposition () const |
| | Get the decomposition. More...
|
| |
| vector_dist_comm< dim, St, prop, Decomposition, Memory, layout_base > & | operator= (const vector_dist_comm< dim, St, prop, Decomposition, Memory, layout_base > &vc) |
| | Copy a vector. More...
|
| |
| vector_dist_comm< dim, St, prop, Decomposition, Memory, layout_base > & | operator= (vector_dist_comm< dim, St, prop, Decomposition, Memory, layout_base > &&vc) |
| | Copy a vector. More...
|
| |
| template<template< typename, typename > class op, int ... prp> |
| void | ghost_put_ (openfpm::vector< Point< dim, St >, Memory, layout_base > &v_pos, openfpm::vector< prop, Memory, layout_base > &v_prp, size_t &ghostMarker, size_t opt) |
| | Ghost put. More...
|
| |