|
faunus
|
Determines if two particles within a group are excluded from mutual nonbonded interactions. More...
#include <molecule.h>
Public Types | |
| using | AtomPair = std::pair< int, int > |
Public Member Functions | |
| ExclusionsSimple (int size=0) | |
| void | add (int i, int j) |
| void | add (const std::vector< AtomPair > &pairs) |
| bool | isExcluded (int i, int j) const |
| bool | empty () const |
| true if no excluded interactions at all | |
Static Public Member Functions | |
| static ExclusionsSimple | create (int atoms_cnt, const std::vector< std::pair< int, int >> &pairs) |
| Creates and populates exclusions. | |
Friends | |
| void | from_json (const json &j, ExclusionsSimple &exclusions) |
| void | to_json (json &j, const ExclusionsSimple &exclusions) |
Determines if two particles within a group are excluded from mutual nonbonded interactions.
Simple and naïve implementation storing all possible pairs in a matrix.
|
inline |
| i,j | indices of atoms within molecule with excluded nonbonded interaction |
|
inline |
| i,j | indices of atoms within molecule with excluded nonbonded interaction |
1.8.13