seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
nneigh::CutoffSkin Class Reference

In-situ cutoff list. More...

#include <src/include/internal/neighbours.hpp>

Public Member Functions

 CutoffSkin (double cutoff, double skin)
bool update (const molSys::PointCloud< molSys::Point< double >, double > &yCloud, const std::vector< int > *subset=nullptr, bool half=false)
bool lastReused () const
const std::vector< int > & offsets () const
const std::vector< int > & cols () const

Detailed Description

In-situ cutoff list.

Candidates are built at cutoff + skin and reused while every atom and the box have moved by at most skin/2. The filtered list matches a fresh build at cutoff.

Definition at line 429 of file neighbours.hpp.

Constructor & Destructor Documentation

◆ CutoffSkin()

nneigh::CutoffSkin::CutoffSkin ( double cutoff,
double skin )

Member Function Documentation

◆ cols()

const std::vector< int > & nneigh::CutoffSkin::cols ( ) const
inlinenodiscard

Definition at line 436 of file neighbours.hpp.

436{ return cols_; }

◆ lastReused()

bool nneigh::CutoffSkin::lastReused ( ) const
inlinenodiscard

Definition at line 434 of file neighbours.hpp.

434{ return reused_; }

◆ offsets()

const std::vector< int > & nneigh::CutoffSkin::offsets ( ) const
inlinenodiscard

Definition at line 435 of file neighbours.hpp.

435{ return offsets_; }

◆ update()

bool nneigh::CutoffSkin::update ( const molSys::PointCloud< molSys::Point< double >, double > & yCloud,
const std::vector< int > * subset = nullptr,
bool half = false )

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