OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
NNTypeM< dim, T, CellListImpl, PartIt, VL_SYMMETRIC > Struct Template Reference

Get the neighborhood iterator based on type. More...

Detailed Description

template<unsigned int dim, typename T, typename CellListImpl, typename PartIt>
struct NNTypeM< dim, T, CellListImpl, PartIt, VL_SYMMETRIC >

Get the neighborhood iterator based on type.

specialization for the case with NN symmetric

Template Parameters
dimdimensionality
Ttype of space
CellListImplCell-list implementation
PartItparticle iterator

Definition at line 100 of file VerletListM.hpp.

#include <VerletListM.hpp>

Static Public Member Functions

static auto get (const PartIt &it, const typename CellListImpl::internal_vector_pos_type &pos, const openfpm::vector< pos_v< typename CellListImpl::internal_vector_pos_type > > &v, Point< dim, T > &xp, size_t pp, size_t p, CellListImpl &cl, T r_cut) -> decltype(cl.template getNNIteratorSym< NO_CHECK >(0, 0, 0, typename CellListImpl::internal_vector_pos_type(), openfpm::vector< pos_v< typename CellListImpl::internal_vector_pos_type > >()))
 Get the neighborhood.
 

Member Function Documentation

◆ get()

template<unsigned int dim, typename T , typename CellListImpl , typename PartIt >
static auto NNTypeM< dim, T, CellListImpl, PartIt, VL_SYMMETRIC >::get ( const PartIt &  it,
const typename CellListImpl::internal_vector_pos_type &  pos,
const openfpm::vector< pos_v< typename CellListImpl::internal_vector_pos_type > > &  v,
Point< dim, T > &  xp,
size_t  pp,
size_t  p,
CellListImpl &  cl,
r_cut 
) -> decltype(cl.template getNNIteratorSym<NO_CHECK>(0,0,0,typename CellListImpl::internal_vector_pos_type(),openfpm::vector<pos_v<typename CellListImpl::internal_vector_pos_type>>()))
inlinestatic

Get the neighborhood.

Parameters
vvector of the particles positions
xpPosition of the particle p
pid of the particle p
clCell-list type implementation
r_cutCutoff radius
Returns
the NN iterator

Definition at line 113 of file VerletListM.hpp.


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