|
unsigned | getDimension () const override |
| Can be used to check which value of dimension was used. More...
|
|
GridBase::index_t | getIndex (const GridBase &grid, const std::vector< unsigned > &nbin_, const unsigned *indices, std::size_t indices_size) const override |
|
void | getIndices (const std::vector< double > &min_, const std::vector< double > &dx_, const std::vector< double > &x, unsigned *rindex_data, std::size_t rindex_size) const override |
|
void | getIndices (const std::vector< unsigned > &nbin_, GridBase::index_t index, unsigned *indices, std::size_t indices_size) const override |
|
std::vector< GridBase::index_t > | getNeighbors (const GridBase &grid, const std::vector< unsigned > &nbin_, const std::vector< bool > &pbc_, const unsigned *indices, std::size_t indices_size, const std::vector< unsigned > &nneigh) const override |
|
void | getPoint (const std::vector< double > &min_, const std::vector< double > &dx_, const unsigned *indices, std::size_t indices_size, double *point, std::size_t point_size) const override |
|
|
static std::unique_ptr< AcceleratorBase > | create (unsigned dim) |
| Creates an accelerator with proper dimension. More...
|
|
◆ create()
std::unique_ptr< Grid::AcceleratorBase > PLMD::Grid::AcceleratorBase::create |
( |
unsigned |
dim | ) |
|
|
staticinherited |
Creates an accelerator with proper dimension.
◆ getDimension()
template<unsigned dimension_>
◆ getIndex()
template<unsigned dimension_>
◆ getIndices() [1/2]
template<unsigned dimension_>
void PLMD::Accelerator< dimension_ >::getIndices |
( |
const std::vector< double > & |
min_, |
|
|
const std::vector< double > & |
dx_, |
|
|
const std::vector< double > & |
x, |
|
|
unsigned * |
rindex_data, |
|
|
std::size_t |
rindex_size |
|
) |
| const |
|
inlineoverridevirtual |
◆ getIndices() [2/2]
template<unsigned dimension_>
◆ getNeighbors()
template<unsigned dimension_>
std::vector<GridBase::index_t> PLMD::Accelerator< dimension_ >::getNeighbors |
( |
const GridBase & |
grid, |
|
|
const std::vector< unsigned > & |
nbin_, |
|
|
const std::vector< bool > & |
pbc_, |
|
|
const unsigned * |
indices, |
|
|
std::size_t |
indices_size, |
|
|
const std::vector< unsigned > & |
nneigh |
|
) |
| const |
|
inlineoverridevirtual |
◆ getPoint()
template<unsigned dimension_>
void PLMD::Accelerator< dimension_ >::getPoint |
( |
const std::vector< double > & |
min_, |
|
|
const std::vector< double > & |
dx_, |
|
|
const unsigned * |
indices, |
|
|
std::size_t |
indices_size, |
|
|
double * |
point, |
|
|
std::size_t |
point_size |
|
) |
| const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: