GQCP
|
#include <NuclearFramework.hpp>
Public Member Functions | |
NuclearFramework (const std::vector< Nucleus > &nuclei) | |
double | calculateInternuclearDistanceBetween (const size_t index1, const size_t index2) const |
std::string | description () const |
const std::vector< Nucleus > & | nucleiAsVector () const |
size_t | numberOfNuclei () const |
size_t | totalNucleicCharge () const |
Static Public Member Functions | |
static NuclearFramework | HChain (const size_t n, const double spacing, const CartesianDirection axis=CartesianDirection::z) |
static NuclearFramework | H2Chain (const size_t n, const double a, const double b, const CartesianDirection axis=CartesianDirection::z) |
static NuclearFramework | HRingFromDistance (const size_t n, const double distance) |
static NuclearFramework | HRingFromRadius (const size_t n, const double radius) |
static NuclearFramework | ReadXYZ (const std::string &xyz_filename) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const NuclearFramework &nuclear_framework) |
A collection of nuclei at fixed positions in space.
The unit of length is chosen to be the atomic unit (a.u.) bohr.
GQCP::NuclearFramework::NuclearFramework | ( | const std::vector< Nucleus > & | nuclei | ) |
nuclei | the nuclei of the nuclear framework |
double GQCP::NuclearFramework::calculateInternuclearDistanceBetween | ( | const size_t | index1, |
const size_t | index2 | ||
) | const |
index1 | the index of the first nucleus |
index2 | the index of the second nucleus |
|
inline |
|
static |
n | the number of H2-molecules |
a | the internuclear distance in bohr |
b | the intermolecular distance in bohr |
axis | the Cartesian axis on which the H2-chain should be placed |
n | the number of H2-molecules |
a | the internuclear distance in bohr |
b | the intermolecular distance in bohr |
|
static |
n | the number of H nuclei |
spacing | the internuclear spacing in bohr |
axis | the Cartesian axis on which the H-chain should be placed |
n | the number of H nuclei |
spacing | the internuclear spacing in bohr |
|
static |
n | the number of hydrogens |
distance | the distance (in bohr) between neighbouring hydrogen atoms |
|
static |
n | the number of hydrogens |
radius | the radius (in bohr) of the circumscribed circle |
|
inline |
|
inline |
|
static |
Construct a nuclear framework based on the content of a given .xyz-file. In an .xyz-file, the nuclear coordinates are in Angstrom
xyz_filename | the .xyz-file that contains the nuclear coordinates in Angstrom |
size_t GQCP::NuclearFramework::totalNucleicCharge | ( | ) | const |
|
friend |
os | the output stream which the nuclear framework should be concatenated to |
nuclear_framework | the nuclear framework that should be concatenated to the output stream |