n2p2 - A neural network potential package
|
#include <EwaldTruncJackson.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 | |
double | calculateEta () const |
double | calculateRCut (double const eta, double const prec) const |
double | calculateKCut (double const eta, double const prec) const |
Private Attributes | |
bool | newCutoffs = true |
bool | newCutoffsWerePublished = false |
double | volume = 0.0 |
Definition at line 11 of file EwaldTruncJackson.h.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 12 of file EwaldTruncJackson.cpp.
References calculateEta(), calculateKCut(), calculateRCut(), nnp::EwaldParameters::eta, nnp::EwaldStructureData::getVolume(), nnp::EwaldParameters::kCut, newCutoffs, newCutoffsWerePublished, nnp::EwaldGlobalSettings::precision, nnp::EwaldParameters::rCut, and volume.
|
overridevirtual |
Implements nnp::IEwaldTrunc.
Definition at line 35 of file EwaldTruncJackson.cpp.
References newCutoffsWerePublished.
|
inlineoverridevirtual |
|
private |
Definition at line 42 of file EwaldTruncJackson.cpp.
References volume.
Referenced by calculateParameters().
|
private |
Definition at line 48 of file EwaldTruncJackson.cpp.
Referenced by calculateParameters().
|
private |
Definition at line 54 of file EwaldTruncJackson.cpp.
Referenced by calculateParameters().
|
private |
Definition at line 22 of file EwaldTruncJackson.h.
Referenced by calculateParameters().
|
private |
Definition at line 23 of file EwaldTruncJackson.h.
Referenced by calculateParameters(), and publishedNewCutoffs().
|
private |
Definition at line 24 of file EwaldTruncJackson.h.
Referenced by calculateEta(), and calculateParameters().