NAMD
PmeBase.h
Go to the documentation of this file.
1 
7 #ifndef PME_BASE_H__
8 #define PME_BASE_H__
9 
10 #include <math.h>
11 #include "MathArray.h"
12 
13 #ifndef M_PI
14 #define M_PI 3.14159265358979323846
15 #endif
16 
17 struct PmeGrid {
18  int K1, K2, K3;
19  int dim2, dim3;
20  int order;
23 };
24 
25 struct PmeParticle {
26  double x, y, z;
27  double cg;
28 };
29 
30 #define PME_MAX_EVALS 255
32 
33 #ifndef SQRT_PI
34 #define SQRT_PI 1.7724538509055160273 /* mathematica 15 digits*/
35 #endif
36 
37 #endif
int dim2
Definition: PmeBase.h:19
int zBlocks
Definition: PmeBase.h:22
int dim3
Definition: PmeBase.h:19
double x
Definition: PmeBase.h:26
int K2
Definition: PmeBase.h:18
int K1
Definition: PmeBase.h:18
int block1
Definition: PmeBase.h:21
double cg
Definition: PmeBase.h:27
int block2
Definition: PmeBase.h:21
double z
Definition: PmeBase.h:26
double y
Definition: PmeBase.h:26
MathArray< double, 7 > PmeReduction
Definition: PmeBase.h:31
int yBlocks
Definition: PmeBase.h:22
int order
Definition: PmeBase.h:20
int block3
Definition: PmeBase.h:21
int K3
Definition: PmeBase.h:18
int xBlocks
Definition: PmeBase.h:22