votca
2026-dev
Loading...
Searching...
No Matches
ewald_potential.h
Go to the documentation of this file.
1
/*
2
* Copyright 2009-2020 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_EWALD_POTENTIAL_H
22
#define VOTCA_XTP_EWALD_POTENTIAL_H
23
24
// Local VOTCA includes
25
#include "
votca/xtp/grid_containers.h
"
26
#include "
votca/xtp/gridbox.h
"
27
28
#undef LOG
29
30
namespace
votca
{
31
namespace
xtp {
32
33
template
<
class
Gr
id
>
34
class
Ewald_Potential
{
35
public
:
36
explicit
Ewald_Potential
(
const
Grid
& grid) :
grid_
(grid) {};
37
~Ewald_Potential
();
38
39
Mat_p_Energy
IntegrateEwald
(
Index
basissize)
const
;
40
41
private
:
42
const
Grid
grid_
;
43
};
44
45
}
// namespace xtp
46
}
// namespace votca
47
#endif
// VOTCA_XTP_EWALD_POTENTIAL_H
votca::xtp::Ewald_Potential::Ewald_Potential
Ewald_Potential(const Grid &grid)
Definition
ewald_potential.h:36
votca::xtp::Ewald_Potential::grid_
const Grid grid_
Definition
ewald_potential.h:42
votca::xtp::Ewald_Potential::~Ewald_Potential
~Ewald_Potential()
Definition
ewald_potential.cc:38
votca::xtp::Ewald_Potential::IntegrateEwald
Mat_p_Energy IntegrateEwald(Index basissize) const
Definition
ewald_potential.cc:41
votca::xtp::Grid
Definition
grid.h:42
votca::xtp::Mat_p_Energy
Definition
eigen.h:59
grid_containers.h
gridbox.h
votca
Provides a means for comparing floating point numbers.
Definition
basebead.h:33
votca::Index
Eigen::Index Index
Definition
types.h:26
xtp
include
votca
xtp
ewald_potential.h
Generated by
1.16.1