n2p2 - A neural network potential package
|
#include <EwaldTruncKolafaOptEta.h>
Public Member Functions | |
void | calculateParameters (EwaldGlobalSettings const &settings, EwaldStructureData const &sData, EwaldParameters ¶ms) override |
bool | publishedNewCutoffs () override |
virtual bool | isEstimateReliable (EwaldGlobalSettings const &, EwaldParameters const &) 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 | |
void | calculateEta () |
double | calculateRCut () |
double | calculateKCut () |
void | calculateS () |
void | calculateC (double const qMax) |
Private Attributes | |
bool | newCutoffs = true |
bool | newCutoffsWerePublished = false |
double | C = 0.0 |
double | s = 1.0 |
double | eta = 1.0 |
double | prec = 1.e-6 |
double | volume = 0.0 |
double | fourPiEps = 1.0 |
std::size_t | numAtoms = 0 |
Definition at line 13 of file EwaldTruncKolafaOptEta.h.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 16 of file EwaldTruncKolafaOptEta.cpp.
References calculateC(), calculateEta(), calculateKCut(), calculateRCut(), eta, nnp::EwaldParameters::eta, fourPiEps, nnp::EwaldGlobalSettings::fourPiEps, nnp::EwaldStructureData::getNumAtoms(), nnp::EwaldStructureData::getVolume(), nnp::EwaldParameters::kCut, nnp::EwaldGlobalSettings::maxCharge, nnp::EwaldGlobalSettings::maxQSigma, newCutoffs, newCutoffsWerePublished, numAtoms, prec, nnp::EwaldGlobalSettings::precision, nnp::EwaldParameters::rCut, and volume.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 39 of file EwaldTruncKolafaOptEta.cpp.
References newCutoffsWerePublished.
|
inlineoverridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 20 of file EwaldTruncKolafaOptEta.h.
|
private |
Definition at line 46 of file EwaldTruncKolafaOptEta.cpp.
References calculateS(), eta, s, nnp::TrOverTk, and volume.
Referenced by calculateParameters().
|
private |
Definition at line 67 of file EwaldTruncKolafaOptEta.cpp.
Referenced by calculateParameters().
|
private |
Definition at line 72 of file EwaldTruncKolafaOptEta.cpp.
Referenced by calculateParameters().
|
private |
Definition at line 77 of file EwaldTruncKolafaOptEta.cpp.
References C, eta, prec, and s.
Referenced by calculateEta().
|
private |
|
private |
Definition at line 24 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateParameters().
|
private |
Definition at line 25 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateParameters(), and publishedNewCutoffs().
|
private |
Definition at line 26 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateC(), and calculateS().
|
private |
Definition at line 27 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateEta(), calculateKCut(), calculateRCut(), and calculateS().
|
private |
Definition at line 28 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateEta(), calculateKCut(), calculateParameters(), calculateRCut(), and calculateS().
|
private |
Definition at line 29 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateParameters(), and calculateS().
|
private |
Definition at line 30 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateC(), calculateEta(), and calculateParameters().
|
private |
Definition at line 31 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateC(), and calculateParameters().
|
private |
Definition at line 32 of file EwaldTruncKolafaOptEta.h.
Referenced by calculateC(), and calculateParameters().