n2p2 - A neural network potential package
|
#include <EwaldTruncKolafaFixR.h>
Public Member Functions | |
void | calculateParameters (EwaldGlobalSettings const &settings, EwaldStructureData const &sData, EwaldParameters ¶ms) override |
bool | publishedNewCutoffs () override |
bool | isEstimateReliable (EwaldGlobalSettings const &settings, EwaldParameters const ¶ms) const override |
Public Member Functions inherited from nnp::IEwaldTrunc | |
virtual void | calculateParameters (EwaldGlobalSettings const &settings, EwaldStructureData const &sData, EwaldParameters ¶ms)=0 |
virtual bool | publishedNewCutoffs ()=0 |
virtual bool | isEstimateReliable (EwaldGlobalSettings const &settings, EwaldParameters const ¶ms) const =0 |
virtual | ~IEwaldTrunc ()=default |
Private Member Functions | |
double | calculateEta (double const rCut, double const prec) const |
double | calculateKCut (double const eta, double const prec) const |
void | calculateC (double const qMax) |
Private Attributes | |
double | volume = 0.0 |
double | fourPiEps = 1.0 |
std::size_t | numAtoms = 0 |
bool | newCutoffs = true |
bool | newCutoffsWerePublished = false |
double | C = 0.0 |
Definition at line 13 of file EwaldTruncKolafaFixR.h.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 12 of file EwaldTruncKolafaFixR.cpp.
References calculateC(), calculateEta(), calculateKCut(), nnp::EwaldParameters::eta, fourPiEps, nnp::EwaldGlobalSettings::fourPiEps, nnp::EwaldStructureData::getNumAtoms(), nnp::EwaldStructureData::getVolume(), nnp::EwaldParameters::kCut, nnp::EwaldGlobalSettings::maxCharge, newCutoffs, newCutoffsWerePublished, numAtoms, nnp::EwaldGlobalSettings::precision, nnp::EwaldParameters::rCut, and volume.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 36 of file EwaldTruncKolafaFixR.cpp.
References newCutoffsWerePublished.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 42 of file EwaldTruncKolafaFixR.cpp.
References nnp::EwaldParameters::eta, and nnp::EwaldGlobalSettings::maxQSigma.
|
private |
Definition at line 49 of file EwaldTruncKolafaFixR.cpp.
References C.
Referenced by calculateParameters().
|
private |
Definition at line 59 of file EwaldTruncKolafaFixR.cpp.
References C.
Referenced by calculateParameters().
|
private |
|
private |
Definition at line 25 of file EwaldTruncKolafaFixR.h.
Referenced by calculateC(), and calculateParameters().
|
private |
Definition at line 26 of file EwaldTruncKolafaFixR.h.
Referenced by calculateC(), and calculateParameters().
|
private |
Definition at line 27 of file EwaldTruncKolafaFixR.h.
Referenced by calculateC(), and calculateParameters().
|
private |
Definition at line 28 of file EwaldTruncKolafaFixR.h.
Referenced by calculateParameters().
|
private |
Definition at line 29 of file EwaldTruncKolafaFixR.h.
Referenced by calculateParameters(), and publishedNewCutoffs().
|
private |
Definition at line 31 of file EwaldTruncKolafaFixR.h.
Referenced by calculateC(), calculateEta(), and calculateKCut().