File VanDerWaalsBondDetector.hΒΆ
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine
This header file contains functions that allow for common notation for common things that can be done at a different degree of derivatives.
This header contains alias definitions defining which classes to use for the different degrees of derivatives.
-
namespace
Utils
-
class
VanDerWaalsBondDetector
- #include <VanDerWaalsBondDetector.h>
Implements the function to find bonds from a set of elements and positions, using the van der Waals radii.
Public Functions
-
VanDerWaalsBondDetector
() Static functions only.
Public Static Functions
-
static BondOrderCollection
detectBonds
(const AtomCollection &atoms) Detect all bonds in an AtomCollection.
- Return
BondOrderCollection The bonds.
- Parameters
atoms
: The collection of atoms.
-
static BondOrderCollection
detectBonds
(const ElementTypeCollection &elements, const PositionCollection &positions) Detect all bonds based on elements and positions.
- Return
BondOrderCollection The bonds.
- Parameters
elements
: The collection of elements.positions
: The collection of positions.
-
static bool
vdwBondExists
(const ElementType &e1, const ElementType &e2, const Position &p1, const Position &p2) Check if a bond exists between two atoms.
- Return
true If a bond exists.
false If no bond exists.
- Parameters
e1
: The element of the first atom.e2
: The element of the second atom.p1
: The position of the first atom.p2
: The position of the second atom.
-
-
class
-
namespace