votca
2026-dev
Loading...
Searching...
No Matches
ewaldparameters.h
Go to the documentation of this file.
1
/*
2
* Copyright 2009-2026 The VOTCA Development Team
3
* (http://www.votca.org)
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License")
6
*
7
* You may not use this file except in compliance with the License.
8
* You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS,
14
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
* See the License for the specific language governing permissions and
16
* limitations under the License.
17
*
18
*/
19
20
#pragma once
21
#ifndef VOTCA_XTP_EWALDPARAMETERS_H
22
#define VOTCA_XTP_EWALDPARAMETERS_H
23
24
// Standard includes
25
#include <string>
26
27
// Local VOTCA includes
28
#include "
votca/xtp/checkpoint.h
"
29
#include "
votca/xtp/eigen.h
"
30
#include "
votca/xtp/ewaldshapecorrection.h
"
31
32
namespace
votca
{
33
namespace
xtp {
34
57
struct
EwaldParameters
{
58
double
alpha
= 0.0;
// bohr^-1
59
double
k_max
= 0.0;
// bohr^-1
60
double
r_min
= 0.0;
// bohr
61
double
field_tol
= 0.0;
62
double
thole_a
= 0.0;
63
double
screening_factor
= 0.0;
// dimensionless
64
EwaldShape
shape
=
EwaldShape::Cube
;
65
Eigen::Matrix3d
box
= Eigen::Matrix3d::Zero();
66
67
void
WriteToCpt
(
CheckpointWriter
& w)
const
;
68
void
ReadFromCpt
(
CheckpointReader
& r);
69
};
70
71
}
// namespace xtp
72
}
// namespace votca
73
74
#endif
// VOTCA_XTP_EWALDPARAMETERS_H
checkpoint.h
votca::xtp::CheckpointReader
Definition
checkpointreader.h:46
votca::xtp::CheckpointWriter
Definition
checkpointwriter.h:50
ewaldshapecorrection.h
votca::xtp::EwaldShape
EwaldShape
Definition
ewaldshapecorrection.h:68
votca::xtp::EwaldShape::Cube
@ Cube
Definition
ewaldshapecorrection.h:68
votca
Provides a means for comparing floating point numbers.
Definition
basebead.h:33
votca::xtp::EwaldParameters
The Ewald convergence parameters a background was converged with.
Definition
ewaldparameters.h:57
votca::xtp::EwaldParameters::screening_factor
double screening_factor
Definition
ewaldparameters.h:63
votca::xtp::EwaldParameters::r_min
double r_min
Definition
ewaldparameters.h:60
votca::xtp::EwaldParameters::ReadFromCpt
void ReadFromCpt(CheckpointReader &r)
Definition
ewaldparameters.cc:69
votca::xtp::EwaldParameters::shape
EwaldShape shape
Definition
ewaldparameters.h:64
votca::xtp::EwaldParameters::WriteToCpt
void WriteToCpt(CheckpointWriter &w) const
Definition
ewaldparameters.cc:58
votca::xtp::EwaldParameters::thole_a
double thole_a
Definition
ewaldparameters.h:62
votca::xtp::EwaldParameters::k_max
double k_max
Definition
ewaldparameters.h:59
votca::xtp::EwaldParameters::box
Eigen::Matrix3d box
Definition
ewaldparameters.h:65
votca::xtp::EwaldParameters::field_tol
double field_tol
Definition
ewaldparameters.h:61
votca::xtp::EwaldParameters::alpha
double alpha
Definition
ewaldparameters.h:58
eigen.h
xtp
include
votca
xtp
ewaldparameters.h
Generated by
1.16.1