SimpleFastOpenAtomicVisualiser
Loading...
Searching...
No Matches
Functions
bond.h File Reference
#include <cstdint>
#include <map>
#include <constants.h>
#include <neighbours.h>
Include dependency graph for bond.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::map< uint64_t, std::set< uint64_t > > determineBonds (std::vector< uint64_t > forAtoms, std::vector< Atom > &atoms, float cutOff)
 Obtain bonds based on a fixed distance cutOff using Neighbours.
 

Function Documentation

◆ determineBonds()

std::map< uint64_t, std::set< uint64_t > > determineBonds ( std::vector< uint64_t forAtoms,
std::vector< Atom > &  atoms,
float  cutOff 
)

Obtain bonds based on a fixed distance cutOff using Neighbours.

Parameters
forAtomsthe atoms to find bonds for.
atomsthe Atoms to bond.
cutOffthe distance cutoff below which Atoms are bonded.
Returns
std::map<uint64_t, std::set<uint64_t>> the resulting Bonds.
Remarks
Currently a naive direct distance evaluation.