votca 2024.2-dev
|
#include <polarregion.h>
Public Member Functions | |
PolarRegion (Index id, Logger &log) | |
std::string | identify () const override |
void | Initialize (const tools::Property &prop) override |
bool | Converged () const override |
void | Evaluate (std::vector< std::unique_ptr< Region > > ®ions) override |
void | Reset () override |
double | Etotal () const override |
void | WriteToCpt (CheckpointWriter &w) const override |
void | ReadFromCpt (CheckpointReader &r) override |
Public Member Functions inherited from votca::xtp::MMRegion< PolarSegment > | |
MMRegion (Index id, Logger &log) | |
Index | size () const override |
const PolarSegment & | operator[] (Index index) const |
PolarSegment & | operator[] (Index index) |
std::vector< PolarSegment >::iterator | begin () |
std::vector< PolarSegment >::const_iterator | begin () const |
std::vector< PolarSegment >::iterator | end () |
std::vector< PolarSegment >::const_iterator | end () const |
double | charge () const override |
void | WritePDB (csg::PDBWriter &writer) const override |
void | push_back (const PolarSegment &seg) |
Public Member Functions inherited from votca::xtp::Region | |
Region (Index id, Logger &log) | |
virtual | ~Region ()=default |
bool | Successful () const |
std::string | ErrorMsg () const |
void | AddResults (tools::Property &prop) const |
Index | getId () const |
Protected Member Functions | |
void | AppendResult (tools::Property &prop) const override |
double | InteractwithQMRegion (const QMRegion ®ion) override |
double | InteractwithPolarRegion (const PolarRegion ®ion) override |
double | InteractwithStaticRegion (const StaticRegion ®ion) override |
Protected Member Functions inherited from votca::xtp::MMRegion< PolarSegment > | |
Protected Member Functions inherited from votca::xtp::Region | |
std::vector< double > | ApplyInfluenceOfOtherRegions (std::vector< std::unique_ptr< Region > > ®ions) |
Private Member Functions | |
void | CalcInducedDipoles () |
double | StaticInteraction () |
void | PolarInteraction_scf () |
double | PolarEnergy_extern () const |
eeInteractor::E_terms | PolarEnergy () const |
Index | CalcPolDoF () const |
Eigen::VectorXd | CalcInducedDipoleInsideSegments () const |
Eigen::VectorXd | ReadInducedDipolesFromLastIteration () const |
Eigen::VectorXd | CalcInducedDipolesViaPCG (const Eigen::VectorXd &initial_guess) |
void | WriteInducedDipolesToSegments (const Eigen::VectorXd &x) |
Private Attributes | |
hist< Energy_terms > | E_hist_ |
double | deltaE_ = 1e-5 |
double | deltaD_ = 1e-5 |
Index | max_iter_ = 100 |
double | exp_damp_ = 0.39 |
Additional Inherited Members | |
Public Types inherited from votca::xtp::MMRegion< PolarSegment > | |
using | SegmentType |
using | iterator |
Protected Attributes inherited from votca::xtp::MMRegion< PolarSegment > | |
std::vector< PolarSegment > | segments_ |
Protected Attributes inherited from votca::xtp::Region | |
bool | info_ = true |
std::string | errormsg_ = "" |
Index | id_ = -1 |
Logger & | log_ |
Definition at line 44 of file polarregion.h.
Definition at line 46 of file polarregion.h.
|
overrideprotectedvirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 128 of file polarregion.cc.
|
private |
Definition at line 143 of file polarregion.cc.
|
private |
|
private |
Definition at line 181 of file polarregion.cc.
|
private |
Definition at line 135 of file polarregion.cc.
|
overridevirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 41 of file polarregion.cc.
|
inlineoverridevirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 58 of file polarregion.h.
|
overridevirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 218 of file polarregion.cc.
|
inlineoverridevirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 48 of file polarregion.h.
|
overridevirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 34 of file polarregion.cc.
|
overrideprotectedvirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 308 of file polarregion.cc.
|
overrideprotectedvirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 303 of file polarregion.cc.
|
overrideprotectedvirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 334 of file polarregion.cc.
|
private |
Definition at line 79 of file polarregion.cc.
|
private |
Definition at line 109 of file polarregion.cc.
|
private |
|
overridevirtual |
Reimplemented from votca::xtp::MMRegion< PolarSegment >.
Definition at line 356 of file polarregion.cc.
|
private |
Definition at line 157 of file polarregion.cc.
|
overridevirtual |
Implements votca::xtp::MMRegion< PolarSegment >.
Definition at line 120 of file polarregion.cc.
|
private |
Definition at line 59 of file polarregion.cc.
|
private |
Definition at line 171 of file polarregion.cc.
|
overridevirtual |
Reimplemented from votca::xtp::MMRegion< PolarSegment >.
Definition at line 352 of file polarregion.cc.
|
private |
Definition at line 88 of file polarregion.h.
|
private |
Definition at line 87 of file polarregion.h.
|
private |
Definition at line 86 of file polarregion.h.
|
private |
Definition at line 90 of file polarregion.h.
|
private |
Definition at line 89 of file polarregion.h.