votca 2024.2-dev
|
Class to represent Atom/Site in electrostatic+polarization. More...
#include <polarsite.h>
Classes | |
struct | data |
Public Member Functions | |
void | WriteData (StaticSite::data &d) const =delete |
void | ReadData (StaticSite::data &d)=delete |
PolarSite (Index id, std::string element, Eigen::Vector3d pos) | |
PolarSite (Index id, std::string element) | |
~PolarSite () final=default | |
void | setpolarization (const Eigen::Matrix3d &pol) final |
Eigen::Matrix3d | getpolarization () const |
const Eigen::Matrix3d & | getPInv () const |
Eigen::Vector3d | getDipole () const final |
double | getSqrtInvEigenDamp () const |
void | Rotate (const Eigen::Matrix3d &R, const Eigen::Vector3d &ref_pos) final |
const Eigen::Vector3d & | V () const |
Eigen::Vector3d & | V () |
const Eigen::Vector3d & | V_noE () const |
Eigen::Vector3d & | V_noE () |
void | Reset () |
double | deltaQ_V_ext () const |
double | InternalEnergy () const |
const Eigen::Vector3d & | Induced_Dipole () const |
void | setInduced_Dipole (const Eigen::Vector3d &induced_dipole) |
PolarSite (const data &d) | |
double | DipoleChange () const |
void | WriteData (data &d) const |
void | ReadData (const data &d) |
std::string | identify () const final |
Public Member Functions inherited from votca::xtp::StaticSite | |
StaticSite (Index id, std::string element, Eigen::Vector3d pos) | |
StaticSite (Index id, std::string element) | |
StaticSite (const data &d) | |
StaticSite (const QMAtom &atom, double charge) | |
virtual | ~StaticSite ()=default |
Index | getId () const |
Index | getRank () const |
const std::string & | getElement () const |
const Eigen::Vector3d & | getPos () const |
void | setMultipole (const Vector9d &multipole, Index rank) |
void | setCharge (double q) |
void | setPos (const Eigen::Vector3d &position) |
void | Translate (const Eigen::VectorXd &shift) |
double | getCharge () const |
const Vector9d & | Q () const |
Eigen::Matrix3d | CalculateCartesianMultipole () const |
std::string | WriteMpsLine (std::string unit="bohr") const |
void | WriteData (data &d) const |
void | ReadData (const data &d) |
Static Public Member Functions | |
static void | SetupCptTable (CptTable &table) |
Static Public Member Functions inherited from votca::xtp::StaticSite | |
static Eigen::VectorXd | CalculateSphericalMultipole (const Eigen::Matrix3d &quad_cart) |
static void | SetupCptTable (CptTable &table) |
Private Member Functions | |
std::string | writepolarization () const final |
Private Attributes | |
Eigen::Vector3d | V_ = Eigen::Vector3d::Zero() |
Eigen::Vector3d | V_noE_ = Eigen::Vector3d::Zero() |
Eigen::Vector3d | induced_dipole_ = Eigen::Vector3d::Zero() |
Eigen::Matrix3d | pinv_ = Eigen::Matrix3d::Zero() |
double | eigendamp_invsqrt_ = 0.0 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PolarSite &site) |
Additional Inherited Members | |
Protected Member Functions inherited from votca::xtp::StaticSite | |
StaticSite ()=default | |
Protected Attributes inherited from votca::xtp::StaticSite | |
Index | id_ = -1 |
std::string | element_ = "" |
Eigen::Vector3d | pos_ = Eigen::Vector3d::Zero() |
Index | rank_ = 0 |
Vector9d | Q_ = Vector9d::Zero() |
Class to represent Atom/Site in electrostatic+polarization.
The units are atomic units, e.g. Bohr, Hartree.
Definition at line 36 of file polarsite.h.
votca::xtp::PolarSite::PolarSite | ( | Index | id, |
std::string | element, | ||
Eigen::Vector3d | pos ) |
Definition at line 39 of file polarsite.cc.
|
inline |
Definition at line 45 of file polarsite.h.
|
finaldefault |
votca::xtp::PolarSite::PolarSite | ( | const data & | d | ) |
Definition at line 52 of file polarsite.cc.
|
inline |
Definition at line 79 of file polarsite.h.
double votca::xtp::PolarSite::DipoleChange | ( | ) | const |
|
finalvirtual |
Reimplemented from votca::xtp::StaticSite.
Definition at line 54 of file polarsite.cc.
|
inline |
Definition at line 54 of file polarsite.h.
|
inline |
Definition at line 52 of file polarsite.h.
|
inline |
Definition at line 59 of file polarsite.h.
|
inlinefinalvirtual |
Reimplemented from votca::xtp::StaticSite.
Definition at line 137 of file polarsite.h.
|
inline |
Definition at line 85 of file polarsite.h.
|
inline |
Definition at line 81 of file polarsite.h.
void votca::xtp::PolarSite::ReadData | ( | const data & | d | ) |
Definition at line 155 of file polarsite.cc.
|
delete |
|
inline |
Definition at line 74 of file polarsite.h.
|
inlinefinalvirtual |
Reimplemented from votca::xtp::StaticSite.
Definition at line 61 of file polarsite.h.
|
inline |
Definition at line 86 of file polarsite.h.
|
finalvirtual |
Reimplemented from votca::xtp::StaticSite.
Definition at line 58 of file polarsite.cc.
|
static |
Definition at line 75 of file polarsite.cc.
|
inline |
Definition at line 68 of file polarsite.h.
|
inline |
Definition at line 66 of file polarsite.h.
|
inline |
Definition at line 72 of file polarsite.h.
|
inline |
Definition at line 70 of file polarsite.h.
void votca::xtp::PolarSite::WriteData | ( | data & | d | ) | const |
Definition at line 115 of file polarsite.cc.
|
delete |
|
finalprivatevirtual |
Reimplemented from votca::xtp::StaticSite.
Definition at line 66 of file polarsite.cc.
|
friend |
Definition at line 139 of file polarsite.h.
|
private |
Definition at line 160 of file polarsite.h.
|
private |
Definition at line 158 of file polarsite.h.
|
private |
Definition at line 159 of file polarsite.h.
|
private |
Definition at line 152 of file polarsite.h.
|
private |
Definition at line 156 of file polarsite.h.