File BondDetectorRadii.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 BondDetectorRadii
#include <BondDetectorRadii.h>

Holds the covalent radii required in BondDetector.

Public Functions

BondDetectorRadii()

Default constructor.

double getRadius(ElementType e) const

Get the covalent radius for a given element.

Return

double The covalent radius.

Parameters
  • e: The element.

Private Functions

void fillArray()
void setRadiusInAngstrom(ElementType e, double rInAngstrom)
void setRadius(ElementType e, double r)

Private Members

std::array<double, numberElements> radii

Private Static Attributes

constexpr int numberElements = 120
constexpr double defaultRadius = toBohr(Angstrom(1.50))