|
votca 2026-dev
|
The Ewald convergence parameters a background was converged with. More...
#include <ewaldparameters.h>
Public Member Functions | |
| void | WriteToCpt (CheckpointWriter &w) const |
| void | ReadFromCpt (CheckpointReader &r) |
Public Attributes | |
| double | alpha = 0.0 |
| double | k_max = 0.0 |
| double | r_min = 0.0 |
| double | field_tol = 0.0 |
| double | thole_a = 0.0 |
| double | screening_factor = 0.0 |
| EwaldShape | shape = EwaldShape::Cube |
| Eigen::Matrix3d | box = Eigen::Matrix3d::Zero() |
The Ewald convergence parameters a background was converged with.
Written into the background's own checkpoint alongside the converged dipoles, and read back by whatever later embeds a region in that background (MM/MM, QM/MM).
The point is that these are NOT re-specified by the consuming job. A foreground embedded in a periodic background is only meaningful if it uses the same alpha, the same k-space cutoff and the same summation shape the background was converged with: alpha in particular partitions the interaction between the real- and reciprocal-space sums, so two different values do not describe the same physics at all, and the mismatch would not announce itself – both runs would converge happily to different answers. Carrying them in the checkpoint makes the inconsistency unrepresentable rather than merely discouraged.
The box is included for the same reason: the background's lattice is a property of the converged state, not something a later job should re-derive and hope matches.
Definition at line 57 of file ewaldparameters.h.
| void votca::xtp::EwaldParameters::ReadFromCpt | ( | CheckpointReader & | r | ) |
Definition at line 69 of file ewaldparameters.cc.
| void votca::xtp::EwaldParameters::WriteToCpt | ( | CheckpointWriter & | w | ) | const |
Definition at line 58 of file ewaldparameters.cc.
| double votca::xtp::EwaldParameters::alpha = 0.0 |
Definition at line 58 of file ewaldparameters.h.
| Eigen::Matrix3d votca::xtp::EwaldParameters::box = Eigen::Matrix3d::Zero() |
Definition at line 65 of file ewaldparameters.h.
| double votca::xtp::EwaldParameters::field_tol = 0.0 |
Definition at line 61 of file ewaldparameters.h.
| double votca::xtp::EwaldParameters::k_max = 0.0 |
Definition at line 59 of file ewaldparameters.h.
| double votca::xtp::EwaldParameters::r_min = 0.0 |
Definition at line 60 of file ewaldparameters.h.
| double votca::xtp::EwaldParameters::screening_factor = 0.0 |
Definition at line 63 of file ewaldparameters.h.
| EwaldShape votca::xtp::EwaldParameters::shape = EwaldShape::Cube |
Definition at line 64 of file ewaldparameters.h.
| double votca::xtp::EwaldParameters::thole_a = 0.0 |
Definition at line 62 of file ewaldparameters.h.