n2p2 - A neural network potential package
EwaldTruncJackson.h
Go to the documentation of this file.
1//
2// Created by philipp on 2/17/23.
3//
4
5#ifndef N2P2_EWALDTRUNCJACKSON_H
6#define N2P2_EWALDTRUNCJACKSON_H
7
8#include "IEwaldTrunc.h"
9namespace nnp
10{
12 {
13 public:
14 void calculateParameters(EwaldGlobalSettings const& settings,
15 EwaldStructureData const& sData,
16 EwaldParameters &params) override;
17 bool publishedNewCutoffs() override;
18 virtual bool isEstimateReliable(
20 EwaldParameters const&) const override {return true;};
21 private:
22 bool newCutoffs = true;
24 double volume = 0.0;
25
26 double calculateEta() const;
27 double calculateRCut(double const eta, double const prec) const;
28 double calculateKCut(double const eta, double const prec) const;
29
30 };
31
32} // nnp
33
34#endif //N2P2_EWALDTRUNCJACKSON_H
virtual bool isEstimateReliable(EwaldGlobalSettings const &, EwaldParameters const &) const override
void calculateParameters(EwaldGlobalSettings const &settings, EwaldStructureData const &sData, EwaldParameters &params) override
double calculateRCut(double const eta, double const prec) const
double calculateKCut(double const eta, double const prec) const
bool publishedNewCutoffs() override
Definition: Atom.h:29