NAMD
LjPmeKSpace.h
Go to the documentation of this file.
1
7
#ifndef LJ_PME_K_SPACE_H__
8
#define LJ_PME_K_SPACE_H__
9
10
#include "
LjPmeBase.h
"
11
#include "
Lattice.h
"
12
13
class
LjPmeKSpace
{
14
15
public
:
16
LjPmeKSpace
(
LjPmeGrid
grid);
17
~LjPmeKSpace
();
18
19
double
compute_energy
(
float
*q_arr,
const
Lattice
&lattice,
double
ewald,
20
double
*virial);
21
22
private
:
23
template
<
int
order>
24
void
compute_b_moduli(
double
*bm,
int
K);
25
void
dftmod(
double
*bsp_mod,
double
*bsp_arr,
int
nfft);
26
27
// B-spline module
28
double
*bm1, *bm2, *bm3;
29
30
const
LjPmeGrid
myGrid;
31
};
32
33
#endif
LjPmeKSpace::compute_energy
double compute_energy(float *q_arr, const Lattice &lattice, double ewald, double *virial)
Definition:
LjPmeKSpace.C:52
LjPmeKSpace::~LjPmeKSpace
~LjPmeKSpace()
Definition:
LjPmeKSpace.C:46
LjPmeKSpace
Definition:
LjPmeKSpace.h:13
LjPmeBase.h
LjPmeKSpace::LjPmeKSpace
LjPmeKSpace(LjPmeGrid grid)
Definition:
LjPmeKSpace.C:12
Lattice.h
Lattice
Definition:
Lattice.h:17
LjPmeGrid
Definition:
LjPmeBase.h:20
Generated by
1.8.14